Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 1999 13:27:16 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Etienne De Bruin <Etienne.DeBruin@KryptoKom.DE>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Sequence of Events in Kernel source?
Message-ID:  <Pine.BSF.4.10.9912091310000.25189-100000@current1.whistle.com>
In-Reply-To: <C1256842.004AD10A.00@nt-notes.kryptokom.de>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912091310000.25189-100000>