summaryrefslogtreecommitdiff
path: root/core/comboot.inc
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2009-06-05 09:29:13 +0800
committerLiu Aleaxander <Aleaxander@gmail.com>2009-06-05 09:29:13 +0800
commit1be29e2cdba4e406e3a7ca78e3959caacb925e75 (patch)
tree2f0a571518b126381daaca7d9cccfc34253050a7 /core/comboot.inc
parent1a8ca75d7590c9b709af07030a30d7d718445942 (diff)
downloadsyslinux-1be29e2cdba4e406e3a7ca78e3959caacb925e75.tar.gz
Core: Convert the searchdir function to C
for now, almost all the stuff related to EXT have been converted to C, and fow my (limit) test, it works well. The getfssec function haven't converted to C, because it also be called from asm file, and I find it's a bit hard to convert it to C. But however, it's my next plan.
Diffstat (limited to 'core/comboot.inc')
-rw-r--r--core/comboot.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/comboot.inc b/core/comboot.inc
index 0710b960..1cb5ac6e 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -519,7 +519,7 @@ comapi_open:
mov di,InitRD
call mangle_name
pop ds
- call searchdir
+ pm_call searchdir
jz comapi_err
mov P_EAX,eax
mov P_CX,SECTOR_SIZE
@@ -750,7 +750,7 @@ comapi_runkernel:
mov di,KernelName
call mangle_name
pop ds
- call searchdir
+ pm_call searchdir
jz comapi_err
; The kernel image was found, so we can load it...
@@ -906,7 +906,7 @@ comapi_opendir:
mov di,InitRD
call mangle_name
pop ds
- call searchdir
+ pm_call searchdir
jnz comapi_err ; Didn't find a directory
cmp eax,0
jz comapi_err ; Found nothing