diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-09-15 21:59:11 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-09-15 21:59:11 -0400 |
commit | 025cabd2caa41d567d06a7c43f910621b99e64a4 (patch) | |
tree | eef5f95b114ff82731e54a34973bf6952c541fb8 /src/pmm.c | |
parent | 12fa24aa5bd47a670e50c3a117693e7522d45c4f (diff) | |
download | 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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); } |