cvs commit: src/sys/conf options src/sys/kern init_main.c

Benno Rice benno at FreeBSD.org
Fri May 12 02:01:40 UTC 2006


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
  
  Revision  Changes    Path
  1.541     +1 -0      src/sys/conf/options
  1.263     +45 -0     src/sys/kern/init_main.c


More information about the cvs-src mailing list