summaryrefslogtreecommitdiff
path: root/core/fs/pxe/dnsresolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/fs/pxe/dnsresolv.c')
-rw-r--r--core/fs/pxe/dnsresolv.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/core/fs/pxe/dnsresolv.c b/core/fs/pxe/dnsresolv.c
index afb9e219..26c5b34b 100644
--- a/core/fs/pxe/dnsresolv.c
+++ b/core/fs/pxe/dnsresolv.c
@@ -88,7 +88,7 @@ static bool parse_dotquad(const char *ip_str, uint32_t *res)
* _ip_ if it exists and can be found. If _ip_ = 0 on exit, the
* lookup failed. _name_ will be updated
*/
-__export uint32_t dns_resolv(const char *name)
+__export uint32_t pxe_dns(const char *name)
{
err_t err;
struct ip_addr ip;
@@ -122,13 +122,3 @@ __export uint32_t dns_resolv(const char *name)
return ip.addr;
}
-
-/*
- * the one should be called from ASM file
- */
-void pm_pxe_dns_resolv(com32sys_t *regs)
-{
- const char *name = MK_PTR(regs->ds, regs->esi.w[0]);
-
- regs->eax.l = dns_resolv(name);
-}