pxe: rename pxe_dns_resolv() function to pm_pxe_dns_resolv()
authorPaulo Alcantara <pcacjr@zytor.com>
Mon, 30 Apr 2012 05:59:30 +0000 (02:59 -0300)
committerPaulo Alcantara <pcacjr@zytor.com>
Sat, 12 May 2012 03:56:22 +0000 (00:56 -0300)
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>
core/comboot.inc
core/fs/pxe/dnsresolv.c

index 38d65dd..35cc91c 100644 (file)
@@ -591,11 +591,11 @@ comapi_ipappend:
 ; 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
index 641ea38..fda0f81 100644 (file)
@@ -337,11 +337,7 @@ done:
     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]);