From owner-cvs-src@FreeBSD.ORG Fri May 12 02:39:33 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1672616A420; Fri, 12 May 2006 02:39:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 639214424D; Fri, 12 May 2006 02:19:09 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4C2J6a5047814; Thu, 11 May 2006 22:19:08 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Benno Rice Date: Thu, 11 May 2006 22:14:46 -0400 User-Agent: KMail/1.9.1 References: <200605120201.k4C21cnK020003@repoman.freebsd.org> In-Reply-To: <200605120201.k4C21cnK020003@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605112214.48162.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1459/Thu May 11 16:46:49 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 02:39:38 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org