projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8029ff8
)
shuffler: fix setting up esp in real-mode shuffles
author
H. Peter Anvin
<hpa@zytor.com>
Tue, 5 May 2009 00:13:16 +0000
(17:13 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Tue, 5 May 2009 00:13:16 +0000
(17:13 -0700)
The value of esp set in real-mode shuffles was wrong. This
unfortunately broke linux.c32 :(
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/lib/syslinux/shuffle_rm.c
patch
|
blob
|
history
diff --git
a/com32/lib/syslinux/shuffle_rm.c
b/com32/lib/syslinux/shuffle_rm.c
index
5d79cad
..
ccb4f95
100644
(file)
--- a/
com32/lib/syslinux/shuffle_rm.c
+++ b/
com32/lib/syslinux/shuffle_rm.c
@@
-144,7
+144,7
@@
int syslinux_shuffle_boot_rm(struct syslinux_movelist *fraglist,
/* Load SS and ESP immediately */
MOV_TO_SEG(p, R_SS, R_BX);
- MOV_TO_R32(p, R_SP, rp->
seg
[R_SP]);
+ MOV_TO_R32(p, R_SP, rp->
gpr
[R_SP]);
/* Load the other segments */
MOV_TO_SEG(p, R_ES, R_CX);