mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
OpenBIOS kept getting overwritten in RAM by clients such as Haiku. Make sure memory used by OpenBIOS cannot accidentally be claimed by someone else. This also sets up the "available" property as expected. Note that we avoid ofmem_claim() as it would map the pages using a default mode, followed by a remap with the desired mode. v2: * Reordered. * Added spacing. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@904 f158a5a8-5612-0410-a976-696ce0be7e32