aboutsummaryrefslogtreecommitdiffstats
path: root/pxelinux.asm
diff options
context:
space:
mode:
Diffstat (limited to 'pxelinux.asm')
-rw-r--r--pxelinux.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/pxelinux.asm b/pxelinux.asm
index 2f08bac5..7cc8d748 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -845,6 +845,8 @@ config_scan:
; Boot to the local disk by returning the appropriate PXE magic.
; AX contains the appropriate return code.
;
+%if HAS_LOCALBOOT
+
local_boot:
push cs
pop ds
@@ -863,6 +865,8 @@ local_boot:
popfd
retf ; Return to PXE
+%endif
+
;
; kaboom: write a message and bail out. Wait for quite a while,
; or a user keypress, then do a hard reboot.