comboot: fix comapi_open
authorSebastian Herbszt <herbszt@gmx.de>
Sat, 1 May 2010 13:28:49 +0000 (15:28 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 14 May 2010 17:01:54 +0000 (10:01 -0700)
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>
core/comboot.inc

index 7e4c3d6..9255f8a 100644 (file)
@@ -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
 
 ;