As pxe_dns_resolv() (a protected-mode function) is just a wrapper for
real mode (used in the old COMBOOT API), so it makes more sense to
have it named as pm_pxe_dns_resolv().
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
; INT 22h AX=0010h Resolve hostname
;
%if IS_PXELINUX
- extern pxe_dns_resolv
+ extern pm_pxe_dns_resolv
comapi_dnsresolv:
mov ds,P_ES
mov si,P_BX
- pm_call pxe_dns_resolv
+ pm_call pm_pxe_dns_resolv
mov P_EAX,eax
clc
ret
return result;
}
-
-/*
- * the one should be called from ASM file
- */
-void pxe_dns_resolv(com32sys_t *regs)
+void pm_pxe_dns_resolv(com32sys_t *regs)
{
const char *name = MK_PTR(regs->ds, regs->esi.w[0]);