1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00
freebsd/sys/boot/alpha
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
..
boot1 Cut&Paste considered far too easy: 2003-04-16 21:09:41 +00:00
cdboot -ffreestanding is the word. 2002-05-10 09:26:35 +00:00
common Consistently use NOFORTH to control the usage of ficl. 2003-02-26 06:18:52 +00:00
libalpha Enable the i386 loader to load and run an amd64 kernel. If this puts 2003-05-01 03:56:30 +00:00
loader -ffreestanding is the word. 2002-05-10 09:26:35 +00:00
netboot -ffreestanding is the word. 2002-05-10 09:26:35 +00:00
Makefile
Makefile.inc