aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pxelinux.asm5
1 files changed, 2 insertions, 3 deletions
diff --git a/pxelinux.asm b/pxelinux.asm
index e1ad103e..331a84e7 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -896,9 +896,8 @@ config_scan:
; AX contains the appropriate return code.
;
local_boot:
- mov si,cs
- mov ds,si ; Restore DI
- lss esp,[BaseStack]
+ push cs
+ pop ds
mov [LocalBootType],ax
call vgaclearmode
mov si,localboot_msg