diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-30 13:37:09 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-30 13:37:09 -0700 |
commit | d694ce6fdb18e9c74efd56626fbc345a5810c0db (patch) | |
tree | ef412c7c1b3c16a1b6c50bb19c660aa14cd6c840 /memdisk | |
parent | c4ddb8c11aadc695940715be3420c1a97364935a (diff) | |
download | syslinux-d694ce6fdb18e9c74efd56626fbc345a5810c0db.tar.gz |
memdisk: Int13FuncsCnt is a constant, not a memory location
Impact: bug fix
Int13FuncsCnt is a compile-time constant, not a memory location. This
is a rather important distinction.
Diffstat (limited to 'memdisk')
-rw-r--r-- | memdisk/memdisk.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memdisk/memdisk.inc b/memdisk/memdisk.inc index 0df6c770..d53b7781 100644 --- 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 |