Go to file
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
bin Importing bin/sh 2014-08-29 12:56:04 -04:00
common ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
distrib ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
docs Clearing history in docs/UPDATING 2014-08-01 14:58:40 +02:00
etc dp8390: update, allow default port and IRQ 2014-12-04 12:10:46 +00:00
external ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
games Import NetBSD games/fish command. 2014-09-25 02:03:28 +02:00
gnu Update download urls in fetch.sh 2014-08-07 14:27:32 +02:00
include New sources layout 2014-07-31 16:00:30 +02:00
lib ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
libexec LLVM Minix changes 2014-07-28 17:05:59 +02:00
minix ACPI: upgrade to acpica-unix2-20141107 2015-02-10 13:47:27 +00:00
releasetools Allow u-boot repository URL to be overridden 2015-02-05 14:04:31 +01:00
sbin INIT died problem / build system robustness 2014-08-28 08:52:50 +02:00
share ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
sys bootloader: pass memory map to kernel 2015-02-10 13:47:28 +00:00
tests LLVM Minix changes 2014-07-28 17:05:59 +02:00
tools buildsystem: fix build errors for x86 on OSX 2014-11-04 11:00:29 +01:00
usr.bin ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
usr.sbin Import NetBSD shell environment files 2014-11-10 16:48:56 +01:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile INIT died problem / build system robustness 2014-08-28 08:52:50 +02:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00