[syslinux:elflink] pxe: rename pxe_dns_resolv() function to pm_pxe_dns_resolv()

syslinux-bot for Paulo Alcantara pcacjr at zytor.com
Wed May 16 14:21:06 PDT 2012


Commit-ID:  289cc36d32e57d28d5070e975101d37cd96580f2
Gitweb:     http://www.syslinux.org/commit/289cc36d32e57d28d5070e975101d37cd96580f2
Author:     Paulo Alcantara <pcacjr at zytor.com>
AuthorDate: Mon, 30 Apr 2012 02:59:30 -0300
Committer:  Paulo Alcantara <pcacjr at zytor.com>
CommitDate: Sat, 12 May 2012 00:56:22 -0300

pxe: rename pxe_dns_resolv() function to pm_pxe_dns_resolv()

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 at zytor.com>

---
 core/comboot.inc        |    4 ++--
 core/fs/pxe/dnsresolv.c |    6 +-----
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/core/comboot.inc b/core/comboot.inc
index 38d65dd..35cc91c 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -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
diff --git a/core/fs/pxe/dnsresolv.c b/core/fs/pxe/dnsresolv.c
index 641ea38..fda0f81 100644
--- a/core/fs/pxe/dnsresolv.c
+++ b/core/fs/pxe/dnsresolv.c
@@ -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]);
 


More information about the Syslinux-commits mailing list