Date: Sat, 18 Jan 2003 15:06:03 -0800 From: Arun Sharma <arun@sharma-home.net> To: Terry Lambert <tlambert2@mindspring.com> Cc: hackers@freebsd.org Subject: Re: listing sysinit order ? Message-ID: <3E29DDDB.6000906@sharma-home.net> In-Reply-To: <3E29D775.EA2323A9@mindspring.com> References: <20030118203706.GA21624@sharma-home.net> <3E29D775.EA2323A9@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote: > Arun Sharma wrote: > >>So my question is, is there a simple tool to list the order in which >>various initialization/probe routines get called in mi_startup ? If not, >>what would it take to write one ? > > more /sys/sys/kernel.h > Yes, I'm aware of this one, but it doesn't tell me very pricisely which drivers get initialized in what order. > You can not cause messages to be printed until after SI_SUB_CONSOLE; > if you want to put a printf in the init_main.c, verify that the > sysinit_sub_id is > SI_SUB_CONSOLE before attempting to call the > printf. At that point only a function pointer is available. Is there a good way of converting it into a printable string ? -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E29DDDB.6000906>