summaryrefslogtreecommitdiff
path: root/core/getc.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-03-06 11:55:57 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-03-06 11:55:57 -0800
commite375515ddc712f1f69ee21337db2a3267caa5d49 (patch)
tree234cecab51fe9bfb341289ce0d0620543f77f047 /core/getc.inc
parentead9bc6ff2fdfffc2f0974bb8de02f54a7671922 (diff)
downloadsyslinux-e375515ddc712f1f69ee21337db2a3267caa5d49.tar.gz
Add 32-bit versions of open file/close file
Add 32-bit API calls for open file and close file. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/getc.inc')
-rw-r--r--core/getc.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/getc.inc b/core/getc.inc
index 47dca1e6..efe60de3 100644
--- a/core/getc.inc
+++ b/core/getc.inc
@@ -83,7 +83,7 @@ openfd:
.ret: ret
.stack_full:
- pm_call close_file
+ pm_call pm_close_file
xor ax,ax ; ZF <- 1
pop bx
ret
@@ -178,7 +178,7 @@ close:
push si
mov bx,[CurrentGetC]
mov si,[bx+gc_file]
- pm_call close_file
+ pm_call pm_close_file
add bx,getc_file_size
mov [CurrentGetC],bx
pop si