summaryrefslogtreecommitdiff
path: root/comboot.inc
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-28 23:35:39 +0000
committerhpa <hpa>2004-12-28 23:35:39 +0000
commitb276b20eebea84bdf991d07da1bdff4c23b430c8 (patch)
treebcb980ee5e565b6b74846afe6932ec355b590fd1 /comboot.inc
parentfc51a92b49c57cef04a626d62b19184ff30e92a1 (diff)
downloadsyslinux-b276b20eebea84bdf991d07da1bdff4c23b430c8.tar.gz
Document resolve hostname API
Diffstat (limited to 'comboot.inc')
-rw-r--r--comboot.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/comboot.inc b/comboot.inc
index 45233a84..3859998e 100644
--- a/comboot.inc
+++ b/comboot.inc
@@ -579,6 +579,20 @@ numIPAppends equ ($-IPAppends)/2
%else
comapi_ipappend equ comapi_err
%endif
+
+;
+; INT 22h AX=0010h Resolve hostname
+;
+%if IS_PXELINUX
+comapi_dnsresolv:
+ mov ds,P_ES
+ mov si,P_BX
+ call dns_resolv
+ mov P_EAX,eax
+ ret
+%else
+comapi_dnsresolv equ comapi_err
+%endif
section .data
%macro int21 2
@@ -617,6 +631,7 @@ int22_table:
dw comapi_chainboot ; 000D clean up then bootstrap
dw comapi_configfile ; 000E get name of config file
dw comapi_ipappend ; 000F get ipappend strings
+ dw comapi_dnsresolv ; 0010 resolve hostname
int22_count equ ($-int22_table)/2
APIKeyWait db 0