From owner-freebsd-hackers Thu Dec 9 13:27:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 82A7414FF8 for ; Thu, 9 Dec 1999 13:27:24 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id NAA98335; Thu, 9 Dec 1999 13:27:17 -0800 (PST) Date: Thu, 9 Dec 1999 13:27:16 -0800 (PST) From: Julian Elischer To: Etienne De Bruin Cc: hackers@FreeBSD.ORG Subject: Re: Sequence of Events in Kernel source? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 9 Dec 1999, Etienne De Bruin wrote: > > > Greetings Seniors. > > I am interested in establishing the sequence of events from a source code > perspective from when the PC is switched on, to the login prompt. I am > specifically interested in the setting up of lower level stuff like the drivers. > memory etc. > > Can anyone please take a moment and give me some pointers? > > Kind regards > > eT > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > check the old bootblocks /usr/src/sys/i386/boot/biosboot for README.386BSD, README.MACH, README.serial for some background. then try find documentation (good luck) on the NEW bootblocks /usr/src/sys/boot/README is a start. The kernel starts in /sys/i386/i386/locore.s (at btext I think) then goes (from memory) to main() via mi_startup (I think). mi_startup is in init_main.c. mi_startup calls all teh initialisation modules linked into the kernel. (see kernel.h) eventually it starts up init.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message