Explorar el Código

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 hace 17 años
padre
commit
3e6de5a393
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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. */