minix/sys/arch/i386/stand/lib
David van Moolenbroek 3b0299dd65 bootloader: pass memory map to kernel
Previously, the bootloader would only provide a single memory range.
At least on VirtualBox, this memory range includes the ACPI tables,
which the kernel then happily overwrites when executing VM.  Much of
the infrastructure to use a fullblown memory map is already in place;
this patch adds the last (and strangely missing) bit of generating
the memory map in a multiboot-compatible way.

It should be noted that both the bootloader and the kernel actually
violate the multiboot specification by not packing the structure for
the memory ranges.  This is a NetBSD bug, but it is also a nonissue
for (our) practical purposes.  It can be fixed without changing the
code added in this patch.

Change-Id: I7c0a307a8a8133239531e1d2b80f376849f90247
2015-02-10 13:47:28 +00:00
..
crt/dos
netif
test
bios_disk.S
bios_pci.S
biosdelay.S
biosdisk_ll.c
biosdisk_ll.h
biosdisk.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
biosdisk.h
biosgetrtc.S
biosgetsystime.S
biosmca.h
biosmca.S
biosmem.S
biosmemps2.S
biosmemx.S
biospci.c
biosreboot.S
biosvbe.S
biosvideomode.S
boot_params.S Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
bootinfo_biosgeom.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
bootinfo_memmap.c
bootinfo.c
bootinfo.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
bootmenu.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
bootmenu.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
bootmod.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
comio_direct.c
comio_direct.h
comio.S
conio.S
cpufunc.h
cpufunc.S
diskbuf.c
diskbuf.h
dos_file.S
dosfile.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
dosfile.h
dump_eax.S
exec.c bootloader: pass memory map to kernel 2015-02-10 13:47:28 +00:00
gatea20.c
getextmemx.c
getsecs.c
isadma.c
isadmavar.h
isapnp.c
isapnpvar.h
libi386.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
Makefile
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
menuutils.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
message.S
message32.S
multiboot.S
parseutils.c
pcio.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
pcivar.h
pread.c
printmemlist.c
putstr.S
putstr32.S
pvcopy.S
rasops.c
realprot.S
startprog.S
vbe.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
vbe.h