summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2008-06-29 00:18:11 +0200
committerMichael Brown2008-06-29 00:18:11 +0200
commit27731d975ebac0bb70d7a9a4dd3f98698bfd5765 (patch)
treed95350a58ade6c77c9f980e9049f8993decb98a4 /src/arch
parent[nvs] Add support for ST M25P32 SPI flash devices (diff)
downloadipxe-27731d975ebac0bb70d7a9a4dd3f98698bfd5765.tar.gz
ipxe-27731d975ebac0bb70d7a9a4dd3f98698bfd5765.tar.xz
ipxe-27731d975ebac0bb70d7a9a4dd3f98698bfd5765.zip
[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')
-rw-r--r--src/arch/i386/prefix/romprefix.S2
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