diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-06-28 23:18:11 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-06-28 23:18:11 +0100 |
commit | 27731d975ebac0bb70d7a9a4dd3f98698bfd5765 (patch) | |
tree | d95350a58ade6c77c9f980e9049f8993decb98a4 /src/arch/i386/prefix | |
parent | 4c75e9ded4e2442d13fe6d3054427a8f5315677a (diff) | |
download | ipxe-27731d975ebac0bb70d7a9a4dd3f98698bfd5765.tar.gz |
[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 <herbszt@gmx.de>.
Diffstat (limited to 'src/arch/i386/prefix')
-rw-r--r-- | src/arch/i386/prefix/romprefix.S | 2 |
1 files changed, 1 insertions, 1 deletions
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 |