freebsd-dev/sys/boot/ofw/libofw
Peter Wemm 48a0b96a50 Enable the i386 loader to load and run an amd64 kernel. If this puts
things over floppy size limits, I can exclude it for release builds or
something like that.  Most of the changes are to get the load_elf.c file
into a seperate elf32_ or elf64_ namespace so that you can have two
ELF loaders present at once.  Note that for 64 bit kernels, it actually
starts up the kernel already in 64 bit mode with paging enabled.  This
is really easy because we have a known minimum feature set.

Of note is that for amd64, we have to pass in the bios int 15 0xe821
memory map because once in long mode, you absolutely cannot make VM86
calls.  amd64 does not use 'struct bootinfo' at all.  It is a pure loader
metadata startup, just like sparc64 and powerpc.  Much of the
infrastructure to support this was adapted from sparc64.
2003-05-01 03:56:30 +00:00
..
devicename.c Cut&Paste considered far too easy: 2003-04-16 21:09:41 +00:00
elf_freebsd.c Enable the i386 loader to load and run an amd64 kernel. If this puts 2003-05-01 03:56:30 +00:00
libofw.h Change the device path representation in libofw to use the full firmware 2002-11-10 19:17:36 +00:00
Makefile Change the device path representation in libofw to use the full firmware 2002-11-10 19:17:36 +00:00
ofw_console.c Fix test for != 0 that should be > 0. 2002-02-23 04:33:15 +00:00
ofw_copy.c Major rework of how we copy data into kernel space. 2002-07-18 12:39:02 +00:00
ofw_disk.c Cut&Paste considered far too easy: 2003-04-16 21:09:41 +00:00
ofw_memory.c Major rework of how we copy data into kernel space. 2002-07-18 12:39:02 +00:00
ofw_module.c Convert from the Alpha compontents to PowerPC ones. 2000-10-16 19:58:32 +00:00
ofw_net.c Fix up the DMA buffer allocation call. 2002-06-07 11:49:33 +00:00
ofw_reboot.c "Ok, my loader's now up to putting up a prompt. It probes disks partially 2000-10-16 10:46:22 +00:00
ofw_time.c Whitespace fixes. 2001-10-07 13:27:27 +00:00
openfirm.c Major rework of how we copy data into kernel space. 2002-07-18 12:39:02 +00:00
openfirm.h Major rework of how we copy data into kernel space. 2002-07-18 12:39:02 +00:00