aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-11-02 15:42:54 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-11-02 15:42:54 -0700
commit116c4b71bee6fa80d1d2c03f780a5ea64de3c886 (patch)
tree95f650af249c6ee9b91e2108595ed14fb4519e2e
parent1d1c872cc5e4bef5611e9cd9441c66ba14f1323e (diff)
downloadsyslinux.git-116c4b71bee6fa80d1d2c03f780a5ea64de3c886.tar.gz
syslinux.git-116c4b71bee6fa80d1d2c03f780a5ea64de3c886.tar.xz
syslinux.git-116c4b71bee6fa80d1d2c03f780a5ea64de3c886.zip
comboot: fix shuffle_and_boot_rm (used by linux.c32)
Fix shuffle_and_boot_rm, which generated an invalid trampoline; this was used by linux.c32 among other things.
-rw-r--r--comboot.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/comboot.inc b/comboot.inc
index 61da382f..bf056bca 100644
--- a/comboot.inc
+++ b/comboot.inc
@@ -869,6 +869,7 @@ comapi_shufflerm:
stosb ; MOV AX,imm16 opcode
fs movsw ; imm16
mov ax,bx
+ add bh,8
stosw ; MOV xS,AX
loop .segtramp