Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2006 22:14:46 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Benno Rice <benno@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/conf options src/sys/kern init_main.c
Message-ID:  <200605112214.48162.jhb@freebsd.org>
In-Reply-To: <200605120201.k4C21cnK020003@repoman.freebsd.org>
References:  <200605120201.k4C21cnK020003@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605112214.48162.jhb>