mb/emulation/qemu-i440fx: Reserve low memory
commitddd4f9a7179ccc0772f1a26cdb70d68c19ae9140
authorDuncan Laurie <dlaurie@google.com>
Wed, 18 Mar 2020 01:46:28 +0000 (17 18:46 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 31 Mar 2020 10:41:01 +0000 (31 10:41 +0000)
treef5606b611ccd4049f6bcff9e3f53b722e5d15c4a
parent9f5c8503d10f43b4236439a5a58c3f25a8a6c5e1
mb/emulation/qemu-i440fx: Reserve low memory

Ensure that the low memory is properly reserved so it does not get
marked as normal RAM and get wiped or reused by firmware or the kernel.
This ensures that the low RSDP is always available for the kernel.

This is only noticed if something wipes the RSDP before the kernel
boots, which happens if you use the depthcharge payload and boot in
developer mode.

Change-Id: I7295018416229bc957ecbf26f77623a57965557e
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39834
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/mainboard/emulation/qemu-i440fx/northbridge.c