On Sat, Oct 09, 2004 at 02:58:39PM -0700, Om wrote: > struct kernel_param *p; > > p = &__setup_start ; > > I who creates __setup_start? I saw in arch/i386/vmlinux.lds (linker > script) the following > > __setup_start = .; > .setup.init : { *(.setup.init) } > __setup_end = .; __setup_start is a label that marks the .setup.init section. This section is an array of kernel_param structures, which is installed by the __setup("kernel_param", param_evaluation_function) macro. Hence you can easily define a kernel boot parameter which will then be evaluated by the checksetup function. Clemens -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/