소스 검색

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 17 년 전
부모
커밋
3e6de5a393
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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. */