From: Paulo Alcantara Date: Mon, 30 Apr 2012 05:59:30 +0000 (-0300) Subject: pxe: rename pxe_dns_resolv() function to pm_pxe_dns_resolv() X-Git-Tag: syslinux-5.00-pre2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=289cc36d32e57d28d5070e975101d37cd96580f2;p=platform%2Fupstream%2Fsyslinux.git 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 --- 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]);