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:
3249f64
)
isolinux: can't clobber edx when dx contains the drive number...
author
H. Peter Anvin
<hpa@zytor.com>
Mon, 1 Jun 2009 04:29:12 +0000
(21:29 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Mon, 1 Jun 2009 04:29:12 +0000
(21:29 -0700)
Use ebx to hold the upper half of the partition offset, not edx.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/isolinux.asm
patch
|
blob
|
history
diff --git
a/core/isolinux.asm
b/core/isolinux.asm
index
38d3d71
..
2627c2d
100644
(file)
--- a/
core/isolinux.asm
+++ b/
core/isolinux.asm
@@
-249,14
+249,14
@@
_start_hybrid:
pop di
pop es
xor eax,eax
- xor e
dx,ed
x
+ xor e
bx,eb
x
cmp sp,7C00h
jae .nooffset
pop eax
- pop e
d
x
+ pop e
b
x
.nooffset:
mov [cs:bsHidden],eax
- mov [cs:bsHidden+4],e
d
x
+ mov [cs:bsHidden+4],e
b
x
mov si,bios_cbios
jcxz _start_common