cvs commit: src/sys/conf options src/sys/kern init_main.c
John Baldwin
jhb at freebsd.org
Fri May 12 02:39:38 UTC 2006
On Thursday 11 May 2006 22:01, Benno Rice wrote:
> benno 2006-05-12 02:01:38 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/conf options
> sys/kern init_main.c
> Log:
> Add a new kernel config option, VERBOSE_SYSINIT.
>
> When porting FreeBSD to a new platform, one of the more useful things to
> do is get mi_startup() to let you know which SYSINIT it's up to. Most
> people tend to whack a printf in the SYSINIT loop to print the address of
> the function it's about to call. Going one better, jhb made a version that
> uses DDB to look up the name of the function and print that instead. This
> version is essentially his with the addition of some ifdeffery to make it
> optional and to allow it to work (although using only the function address,
> not the symbol) if you forgot to enable DDB.
>
> All the cool bits by: jhb
> Approved by: scottl, rink, cognet, imp
Thanks for cleaning this up and getting it into the tree.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the cvs-src
mailing list