aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2009-04-01 13:25:04 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2009-04-01 13:25:04 -0700
commit0e612202f1e71e14694986c6073f044a1c41b507 (patch)
tree30e4e4762b0ad6cf5b0d5fe0001516c5ee578cb7
parent175d813554b69e2883f5bd5eec5eb86a8a0118b7 (diff)
downloadsyslinux.git-0e612202f1e71e14694986c6073f044a1c41b507.tar.gz
syslinux.git-0e612202f1e71e14694986c6073f044a1c41b507.tar.xz
syslinux.git-0e612202f1e71e14694986c6073f044a1c41b507.zip
com32: fix the argument order
Impact: bug fix Fix the order of arguments to a com32 program. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--core/com32.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/com32.inc b/core/com32.inc
index 477d657f..8e944174 100644
--- a/core/com32.inc
+++ b/core/com32.inc
@@ -172,13 +172,13 @@ com32_call_start:
; Now everything is set up for interrupts...
+ push dword [HighMemSize] ; Memory managed by Syslinux
push dword com32_cfarcall ; Cfarcall entry point
push dword com32_farcall ; Farcall entry point
push dword (1 << 16) ; 64K bounce buffer
push dword (comboot_seg << 4) ; Bounce buffer address
push dword com32_intcall ; Intcall entry point
push dword command_line ; Command line pointer
- push dword [HighMemSize] ; Memory managed by Syslinux
push dword 7 ; Argument count
sti ; Interrupts OK now
call pm_entry ; Run the program...