Date: Sat, 24 Nov 2007 03:41:56 +0000 From: "Aryeh Friedman" <aryeh.friedman@gmail.com> To: "Attilio Rao" <attilio@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: a strange/stupid question Message-ID: <bef9a7920711231941h41f04cbbi53d24b791170a6bd@mail.gmail.com> In-Reply-To: <3bbf2fe10711231937y1e9af357hd8b6a63cbf6ae077@mail.gmail.com> References: <bef9a7920711231933g4b7e7717sf4667773188f28a@mail.gmail.com> <3bbf2fe10711231937y1e9af357hd8b6a63cbf6ae077@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/24/07, Attilio Rao <attilio@freebsd.org> wrote: > 2007/11/24, Aryeh Friedman <aryeh.friedman@gmail.com>: > > Where do I find the main() [and/or other entery point] for the > > kernel.... I tend to understand stuff better if I follow the flow of > > exec from the start > > It is highly MD. > For IA32 it is in i386/i386/locore.s::btext For AMD64 I assume something close to that... I just relized that I actually want to understand everything from POST on (actually from power on but I know that is very mobo dependant) so I guess the question is where do I find the first executed statement for BTX (I know how to disamble the MBR so that part is not an issue)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bef9a7920711231941h41f04cbbi53d24b791170a6bd>