summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorSebastian Herbszt <herbszt@gmx.de>2010-05-01 15:28:49 +0200
committerH. Peter Anvin <hpa@zytor.com>2010-05-14 10:01:54 -0700
commit7d7b2bc2cdb8d99eee9ef41c21612a60728a7713 (patch)
treecaef10602a72e85344b91310309930ceda6fd3e6 /core
parent922b714122d23fb06e3c11cc65cab094507465c1 (diff)
downloadsyslinux-7d7b2bc2cdb8d99eee9ef41c21612a60728a7713.tar.gz
comboot: fix comapi_open
Fix breakage introduced by commit e375515ddc712f1f69ee21337db2a3267caa5d49 (Add 32-bit versions of open file/close file). Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core')
-rw-r--r--core/comboot.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/comboot.inc b/core/comboot.inc
index 7e4c3d6f..9255f8a0 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -517,7 +517,12 @@ comapi_textmode:
; INT 22h AX=0006h Open file
;
comapi_open:
+ mov es,P_ES
+ mov si,P_SI
pm_call pm_open_file
+ mov P_EAX,eax
+ mov P_CX,cx
+ mov P_SI,si
ret
;