summaryrefslogtreecommitdiff
path: root/src/pmm.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-09-15 21:59:11 -0400
committerKevin O'Connor <kevin@koconnor.net>2010-09-15 21:59:11 -0400
commit025cabd2caa41d567d06a7c43f910621b99e64a4 (patch)
treeeef5f95b114ff82731e54a34973bf6952c541fb8 /src/pmm.c
parent12fa24aa5bd47a670e50c3a117693e7522d45c4f (diff)
downloadqemu-seabios-025cabd2caa41d567d06a7c43f910621b99e64a4.tar.gz
Move init code from _start() to post().
Move the shadow calls from _start() to post() - this ensures all the one time init code is in post(). Also, reorg post so that malloc setup is done before ivt/bda/ebda setup. This is in preparation for relocating the 32bit flat init code.
Diffstat (limited to 'src/pmm.c')
-rw-r--r--src/pmm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pmm.c b/src/pmm.c
index 682be39..f5e58ad 100644
--- a/src/pmm.c
+++ b/src/pmm.c
@@ -252,9 +252,6 @@ malloc_finalize(void)
add_e820((u32)info->dataend, giveback, E820_RAM);
dprintf(1, "Returned %d bytes of ZoneHigh\n", giveback);
}
-
- // Clear low-memory allocations.
- memset((void*)BUILD_STACK_ADDR, 0, BUILD_EBDA_MINIMUM - BUILD_STACK_ADDR);
}