aboutsummaryrefslogtreecommitdiffstats
path: root/src/memmap.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-11-29 11:19:19 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-11-29 11:19:19 -0500
commitacf13740a57b957bec1e53e83c140ae874c7b01c (patch)
treeef4701723e8a6313835d9726b82c71550644871b /src/memmap.c
parentbc2aecdae66876896f3c77f3e532f9ce262310de (diff)
downloadseabios-acf13740a57b957bec1e53e83c140ae874c7b01c.tar.gz
Don't reset .bss on reboots.
Since .data isn't reset on a reboot, it's confusing to reset .bss. Fixup all places that assumed .bss variables were reset.
Diffstat (limited to 'src/memmap.c')
-rw-r--r--src/memmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/memmap.c b/src/memmap.c
index f74f4f26..16c57ac1 100644
--- a/src/memmap.c
+++ b/src/memmap.c
@@ -142,6 +142,7 @@ memmap_setup()
dprintf(1, "No room for e820 map!\n");
return;
}
+ e820_count = 0;
e820_list = (void*)bios_table_cur_addr;
bios_table_cur_addr += msize;
}