Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 02:01:38 +0000 (UTC)
From:      Benno Rice <benno@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/conf options src/sys/kern init_main.c
Message-ID:  <200605120201.k4C21cnK020003@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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