http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82baea0
)
[romprefix] Fix regression in UNDI loader
author
Michael Brown
<mcb30@etherboot.org>
Fri, 22 Aug 2008 22:58:35 +0000
(23:58 +0100)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 22 Aug 2008 22:58:46 +0000
(23:58 +0100)
Commit 12f203c introduced a bug that caused the UNDI loader to attempt
to load the UNDI code and data segments to incorrect addresses.
src/arch/i386/prefix/romprefix.S
patch
|
blob
|
history
diff --git
a/src/arch/i386/prefix/romprefix.S
b/src/arch/i386/prefix/romprefix.S
index
59764c6
..
baf98e6
100644
(file)
--- a/
src/arch/i386/prefix/romprefix.S
+++ b/
src/arch/i386/prefix/romprefix.S
@@
-524,8
+524,8
@@
undiloader:
pushw %bx
/* UNDI loader parameter structure address into %es:%di */
movw %sp, %bx
- movw %ss:1
2
(%bx), %di
- movw %ss:1
4
(%bx), %es
+ movw %ss:1
6
(%bx), %di
+ movw %ss:1
8
(%bx), %es
/* Install to specified real-mode addresses */
pushw %di
movw %es:12(%di), %bx