summaryrefslogtreecommitdiff
path: root/src/pmm.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-09-15 22:06:19 -0400
committerKevin O'Connor <kevin@koconnor.net>2010-09-25 11:34:31 -0400
commite826465720f73b82e632ad2058dc1f57dcd8bf4e (patch)
tree3719283005885239fd8d3d57ec604402ee3c00ba /src/pmm.c
parent7f55fd306854cc305cce6f8d8738a14e4ed01999 (diff)
downloadqemu-seabios-e826465720f73b82e632ad2058dc1f57dcd8bf4e.tar.gz
Enable optionroms to use freed space due to CONFIG_RELOCATE_INIT.
The space in the e-segment is available for option roms after relocating the init code. Also, zero all of the option rom space when !CONFIG_OPTIONROMS_DEPLOYED.
Diffstat (limited to 'src/pmm.c')
-rw-r--r--src/pmm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pmm.c b/src/pmm.c
index f5e58ad..bb90ff0 100644
--- a/src/pmm.c
+++ b/src/pmm.c
@@ -197,11 +197,6 @@ malloc_setup(void)
ZoneTmpLow.info = ZoneTmpHigh.info = NULL;
// Clear memory in 0xf0000 area.
- extern u8 code32flat_start[];
- if ((u32)code32flat_start > BUILD_BIOS_ADDR)
- // Clear unused parts of f-segment
- memset((void*)BUILD_BIOS_ADDR, 0
- , (u32)code32flat_start - BUILD_BIOS_ADDR);
memset(BiosTableSpace, 0, CONFIG_MAX_BIOSTABLE);
// Populate temp high ram