On Friday, October 19, 2012 7:05:05 pm Richard Yao wrote:
> Dear Everyone,
> 
> I know that the kernel is a BTX client, but I do not understand the
> protocol used by loader to pass sysctl settings and loadable modules to
> the kernel. Is there documentation on this?

The loader passes it's variables as a set of environment variables.
They are stored in a contiguous block of memory after the last kernel
module.  Look at sys/boot/i386/libi386/bootinfo{32,64}.c.  Specifically
look at the bi_load*() routines.

-- 
John Baldwin
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to