Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 19:24:25 -0700 (PDT)
From:      Bsderss <snort_sam@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   src of boot loader.
Message-ID:  <20050819022425.4434.qmail@web54405.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi,

Can anyone please tell me where is the source code of
i386 boot loader in the freebsd src tree?

I found there is some code in the following paths:
# find . -name "loader*"
./share/examples/bootforth/loader.rc
./sys/boot/alpha/loader
./sys/boot/arc/loader
./sys/boot/common/loader.8
./sys/boot/efi/loader
./sys/boot/ficl/loader.c
./sys/boot/forth/loader.4th
./sys/boot/forth/loader.4th.8
./sys/boot/forth/loader.conf
./sys/boot/forth/loader.conf.5
./sys/boot/forth/loader.rc
./sys/boot/i386/loader
./sys/boot/i386/loader/loader.rc
./sys/boot/pc98/loader
./sys/boot/sparc64/loader

Obviously different arch has different boot loader. If
I just want to see the src of i386 boot loader, is the
path ./sys/boot/i386/loader the correct source for
this? I remembered there is part of the boot loader
code is written in assembly, but I couldn't find it
here... I may be had a bad memory...

Thanks
Sam.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050819022425.4434.qmail>