Sfoglia il codice sorgente

x86: print out EBDA/lowmem address

it's useful for debugging purposes to know the location of the EBDA.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 16 anni fa
parent
commit
3e6de5a393
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      arch/x86/kernel/head.c

+ 1 - 0
arch/x86/kernel/head.c

@@ -35,6 +35,7 @@ void __init reserve_ebda_region(void)
 
 
 	/* start of EBDA area */
 	/* start of EBDA area */
 	ebda_addr = get_bios_ebda();
 	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 */
 	/* Fixup: bios puts an EBDA in the top 64K segment */
 	/* of conventional memory, but does not adjust lowmem. */
 	/* of conventional memory, but does not adjust lowmem. */