projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd93f88
)
Remove additional use of DX:AX
author
H. Peter Anvin
<hpa@zytor.com>
Tue, 26 Feb 2008 00:55:44 +0000
(16:55 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Tue, 26 Feb 2008 00:55:44 +0000
(16:55 -0800)
Remove an additional use of DX:AX for file size
runkernel.inc
patch
|
blob
|
history
diff --git
a/runkernel.inc
b/runkernel.inc
index
6ee6e52
..
1a25a91
100644
(file)
--- a/
runkernel.inc
+++ b/
runkernel.inc
@@
-58,9
+58,6
@@
kernel_sane: push ax
push word real_mode_seg
pop es
- movzx eax,ax ; Fix this by using a 32-bit
- shl edx,16 ; register for the kernel size
- or eax,edx
mov [KernelSize],eax
add eax,SECTOR_SIZE-1
shr eax,SECTOR_SHIFT