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:
5302d69
)
KernelType is a byte, not a word, oops...
syslinux-3.40-pre2
author
H. Peter Anvin
<hpa@zytor.com>
Sat, 23 Sep 2006 06:49:23 +0000
(23:49 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Sat, 23 Sep 2006 06:49:23 +0000
(23:49 -0700)
ui.inc
patch
|
blob
|
history
diff --git
a/ui.inc
b/ui.inc
index
ab39567
..
33d7e59
100644
(file)
--- a/
ui.inc
+++ b/
ui.inc
@@
-514,7
+514,7
@@
kernel_good:
; At this point, DX:AX contains the size of the kernel, SI contains
; the file handle/cluster pointer, and ECX contains the extension (if any.)
;
- mov
di,
[KernelType]
+ mov
zx di,byte
[KernelType]
add di,di
jmp [kerneltype_table+di]