x86: print out EBDA/lowmem address
authorIngo Molnar <mingo@elte.hu>
Mon, 15 Sep 2008 06:26:15 +0000 (08:26 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:21:10 +0000 (10:21 +0200)
it's useful for debugging purposes to know the location of the EBDA.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head.c

index 3e66bd3..1dcb0f1 100644 (file)
@@ -35,6 +35,7 @@ void __init reserve_ebda_region(void)
 
        /* start of EBDA area */
        ebda_addr = get_bios_ebda();
+       printk(KERN_INFO "BIOS EBDA/lowmem at: %08x/%08x\n", ebda_addr, lowmem);
 
        /* Fixup: bios puts an EBDA in the top 64K segment */
        /* of conventional memory, but does not adjust lowmem. */