david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[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>.
This commit is contained in:
Michael Brown 2008-06-28 23:18:11 +01:00
parent 4c75e9ded4
commit 27731d975e
1 changed files with 1 additions and 1 deletions

View 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