summaryrefslogtreecommitdiff
path: root/bootsect.inc
diff options
context:
space:
mode:
authorhpa <hpa>2002-06-12 18:15:09 +0000
committerhpa <hpa>2002-06-12 18:15:09 +0000
commit11c36dc918587cafc24628717272dc933b57e839 (patch)
tree910b2f9221a58d414ec938fb2850345fbc8602f6 /bootsect.inc
parentcc055d5ee74a3ea85744a634936957d67dd2d783 (diff)
downloadsyslinux-1.75-pre5.tar.gz
PXELINUX: Put the PXE stack back in the init state before chainloadingsyslinux-1.75-pre5
a PXE program.
Diffstat (limited to 'bootsect.inc')
-rw-r--r--bootsect.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootsect.inc b/bootsect.inc
index d9aa9554..7d32ba8c 100644
--- a/bootsect.inc
+++ b/bootsect.inc
@@ -77,6 +77,12 @@ load_bootsec:
pop si ; DS:SI points to partition info
%elif IS_ISOLINUX
mov dl,[DriveNo]
+%elif IS_PXELINUX
+ ; Close the UDP stack so the PXE stack is in a known state for
+ ; the new NBP
+ mov di,pxe_udp_close_pkt
+ mov bx,PXENV_UDP_CLOSE
+ call far [PXENVEntry]
%endif
pop ecx ; Byte count to copy