summaryrefslogtreecommitdiff
path: root/bootsect.inc
diff options
context:
space:
mode:
authorhpa <hpa>2002-06-12 19:20:40 +0000
committerhpa <hpa>2002-06-12 19:20:40 +0000
commitdff7256bf81c7f52446f4a0c91db26f7b15c0066 (patch)
tree031b5f1f002e838d9634ded60d5aa83a2889c620 /bootsect.inc
parentcc055d5ee74a3ea85744a634936957d67dd2d783 (diff)
downloadsyslinux-dff7256bf81c7f52446f4a0c91db26f7b15c0066.tar.gz
Patch ported from the 1.xx branch: correct chainloading of PXE NBPs.
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