minix/sys
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
..
arch bootloader: pass memory map to kernel 2015-02-10 13:47:28 +00:00
compat/sys Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
conf New sources layout 2014-07-31 16:00:30 +02:00
dev Importing external/mit/xorg support rules 2014-11-10 14:43:29 +01:00
external/bsd/compiler_rt ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
fs Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
lib ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
net netbsd ping & traceroute 2014-08-21 08:07:39 -04:00
netinet netbsd ping & traceroute 2014-08-21 08:07:39 -04:00
netinet6 in6.h 2014-07-28 17:05:23 +02:00
sys Turn PCI into a character driver 2014-11-10 14:43:27 +01:00
ufs Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
uvm Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
Makefile Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00