No problem and no ELF magic required here. checksetup in init/main.c
looks up all options "foosome,thing" from the boot command line
and matches them against a table of
{ "foo", foo_setup }
If it finds the "foo" entry, it parses the first up to 10 integer
(decimal, octal, or hex) parameters from "some,thing", then calls
foo_setup with the array of integer params and the unparsed rest of
"some,thing".
Of course, it could also adopt the convention that an option of the
form "foo.barsome,thing" matches on "foo", too, and results in
foo_setup passed an empty int array and the string "bar,some,thing".
Cheers, Roderich
-- Do not meddle in the affairs of wizards, for they are subtle and quick to anger. Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup. Do not meddle in the affairs of cats, for they are subtle and will piss on your computer. Roderich Schupp mailto:rsch@ExperTeam.de ExperTeam GmbH http://www.experteam.de/ Munich, Germany Linux: 2.1.72