From 27731d975ebac0bb70d7a9a4dd3f98698bfd5765 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 28 Jun 2008 23:18:11 +0100 Subject: [PATCH] [romprefix] Fix PMM detection start address Commit fd0aef9 introduced a typo that caused PMM detection to start at paragraph 0xe00 rather than 0xe000. (Detection would still work, since it would scan until it ran out of base memory, but it would end up scanning an unnecessarily large portion of base memory.) Spotted by Sebastian Herbszt . --- src/arch/i386/prefix/romprefix.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/i386/prefix/romprefix.S b/src/arch/i386/prefix/romprefix.S index 1eb87c37..727cffcb 100644 --- a/src/arch/i386/prefix/romprefix.S +++ b/src/arch/i386/prefix/romprefix.S @@ -180,7 +180,7 @@ hook_int19: popl %es:( 0x19 * 4 ) hook_bbs: /* Check for PMM */ - movw $( 0xe00 - 1 ), %bx + movw $( 0xe000 - 1 ), %bx pmm_scan: incw %bx jz no_pmm