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:
c4ddb8c
)
memdisk: Int13FuncsCnt is a constant, not a memory location
author
H. Peter Anvin
<hpa@linux.intel.com>
Mon, 30 Mar 2009 20:37:09 +0000
(13:37 -0700)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Mon, 30 Mar 2009 20:37:09 +0000
(13:37 -0700)
Impact: bug fix
Int13FuncsCnt is a compile-time constant, not a memory location. This
is a rather important distinction.
memdisk/memdisk.inc
patch
|
blob
|
history
diff --git
a/memdisk/memdisk.inc
b/memdisk/memdisk.inc
index
0df6c77
..
d53b778
100644
(file)
--- a/
memdisk/memdisk.inc
+++ b/
memdisk/memdisk.inc
@@
-151,7
+151,7
@@
Int13Start:
mov bp,sp ; Point BP to the entry stack frame
TRACER 'F'
; Note: AH == P_AH here
- cmp ah,
[Int13FuncsCnt-1]
+ cmp ah,
Int13FuncsCnt-1
ja Invalid_jump
xor al,al ; AL = 0 is standard entry condition
mov di,ax