diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-02-17 12:46:53 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-17 12:46:53 -0500 |
commit | 89efc93cceddf71a8455d75356991eaa08508d48 (patch) | |
tree | 44d1d4b9b761050ec74d475c64a9bc66af2f0d29 /src/pmm.c | |
parent | 3733f6f64f9ae4343ba4888f49ae95ba648b94b4 (diff) | |
download | seabios-89efc93cceddf71a8455d75356991eaa08508d48.tar.gz |
Report on f-segment UMB ram also.
Some old DOS programs can also use f-segment space as Upper Memory
Blocks (UMB), so also report on what space is available in debug
messages.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/pmm.c')
-rw-r--r-- | src/pmm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -324,11 +324,12 @@ malloc_prepboot(void) int size = (BUILD_BIOS_ADDR - base) / 512; dummyrom->size = (size > 255) ? 255 : size; memset((void*)RomEnd, 0, base-RomEnd); - dprintf(1, "Space available for UMB: %08x-%08x\n", RomEnd, base); // Clear unused f-seg ram. struct allocinfo_s *info = findLast(&ZoneFSeg); memset(info->dataend, 0, info->allocend - info->dataend); + dprintf(1, "Space available for UMB: %x-%x, %x-%x\n" + , RomEnd, base, (u32)info->dataend, (u32)info->allocend); // Give back unused high ram. info = findLast(&ZoneHigh); |