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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to