]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[romprefix] Fix PMM detection start address
authorMichael Brown <mcb30@etherboot.org>
Sat, 28 Jun 2008 22:18:11 +0000 (23:18 +0100)
committerMichael Brown <mcb30@etherboot.org>
Sat, 28 Jun 2008 22:18:11 +0000 (23:18 +0100)
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 <herbszt@gmx.de>.

src/arch/i386/prefix/romprefix.S

index 1eb87c37082743408efd6986e4b7060b92646dc8..727cffcb418e5d286258226517f181377b6d475c 100644 (file)
@@ -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