diff options
author | Paulo Alcantara <pcacjr@zytor.com> | 2012-04-30 02:59:30 -0300 |
---|---|---|
committer | Paulo Alcantara <pcacjr@zytor.com> | 2012-05-12 00:56:22 -0300 |
commit | 289cc36d32e57d28d5070e975101d37cd96580f2 (patch) | |
tree | 0d4e4e28fd37d4be27350fabbdb0c81de04bdff7 | |
parent | 92bfa616f96e9725b34f319db9d8736161e157a5 (diff) | |
download | syslinux-289cc36d32e57d28d5070e975101d37cd96580f2.tar.gz syslinux-289cc36d32e57d28d5070e975101d37cd96580f2.tar.xz syslinux-289cc36d32e57d28d5070e975101d37cd96580f2.zip |
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@zytor.com>
-rw-r--r-- | core/comboot.inc | 4 | ||||
-rw-r--r-- | core/fs/pxe/dnsresolv.c | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/core/comboot.inc b/core/comboot.inc index 38d65dd9..35cc91cf 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 641ea389..fda0f815 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]); |