If the log level is at least 5, print out the coreboot table entries to the console. This is useful for debugging.
Relocating coreboot bios tables Looking at type 0x10 (start: 0x0, size 4096/0x1000) Looking at type 0x1 (start: 0x1000, size 651264/0x9f000) Looking at type 0x1 (start: 0xc0000, size 2146123776/0x7feb4000) Looking at type 0x10 (start: 0x7ff74000, size 573440/0x8c000) Copying SMBIOS entry point from 0x7ff74000 to 0x000f5700 Copying ACPI RSDP from 0x7ff75000 to 0x000f56e0 Looking at type 0x2 (start: 0xb0000000, size 268435456/0x10000000) Looking at type 0x1 (start: 0x100000000, size 2147483648/0x80000000)
Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- src/fw/coreboot.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/fw/coreboot.c b/src/fw/coreboot.c index 7c0954b..96a4748 100644 --- a/src/fw/coreboot.c +++ b/src/fw/coreboot.c @@ -266,6 +266,8 @@ coreboot_platform_setup(void) int i, count = MEM_RANGE_COUNT(cbm); for (i=0; i<count; i++) { struct cb_memory_range *m = &cbm->map[i]; + dprintf(5, "Looking at type 0x%x (start: 0x%llx, size %llu/0x%llx)\n", + m->type, m->start, m->size, m->size); if (m->type == CB_MEM_TABLE) scan_tables(m->start, m->size); }