pxe: resolve names via DNS from protected-mode code
commit6aba981cd9310bae94587d3e51106261bf0e27b9
authorPaulo Alcantara <pcacjr@zytor.com>
Fri, 4 May 2012 05:17:46 +0000 (4 02:17 -0300)
committerPaulo Alcantara <pcacjr@zytor.com>
Sat, 12 May 2012 03:56:22 +0000 (12 00:56 -0300)
tree46359ec76905f68643122469d255f62e345d6289
parent289cc36d32e57d28d5070e975101d37cd96580f2
pxe: resolve names via DNS from protected-mode code

Syslinux used to call __intcall() for calling routines of the old
COMBOOT API to resolve names via DNS (INT 22h, AX=0x0010) that seemed
pointless, since INT 22h, AX=0x0010 does call the protected-mode
function pm_pxe_resolv_dns() when calling INT 22h, AX=0x0010. So, for
resolving names via DNS we must call pxe_dns_resolv() (a protected-mode
function) instead for now.

Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
com32/include/syslinux/pxe.h
com32/lib/Makefile
com32/libupload/upload_tftp.c
com32/modules/host.c [copied from com32/lib/syslinux/pxe_dns.c with 60% similarity]
com32/samples/resolv.c
core/include/pxe.h [moved from com32/lib/syslinux/pxe_dns.c with 62% similarity]
mk/com32.mk
mk/elf.mk