summaryrefslogtreecommitdiff
path: root/bootsect.inc
diff options
context:
space:
mode:
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