[syslinux:master] PXELINUX: add gPXE PXENV_FILE_EXEC in addition to PXENV_RESTART_TFTP; comments
syslinux-bot for Gene Cumm
gene.cumm at gmail.com
Sun Nov 14 12:55:25 PST 2010
Commit-ID: 3341e22cf54e2d2da856c82c6f09e8d06b72be72
Gitweb: http://syslinux.zytor.com/commit/3341e22cf54e2d2da856c82c6f09e8d06b72be72
Author: Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Sat, 13 Nov 2010 11:22:54 -0500
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sat, 13 Nov 2010 11:22:54 -0500
PXELINUX: add gPXE PXENV_FILE_EXEC in addition to PXENV_RESTART_TFTP; comments
Both of these calls will not return if successful
---
core/pxelinux.asm | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/core/pxelinux.asm b/core/pxelinux.asm
index 165472d..31741a9 100644
--- a/core/pxelinux.asm
+++ b/core/pxelinux.asm
@@ -366,7 +366,9 @@ pxenv:
pushad
; We may be removing ourselves from memory
- cmp bx,0073h
+ cmp bx,0073h ; PXENV_RESTART_TFTP
+ jz .disable_timer
+ cmp bx,00E5h ; gPXE PXENV_FILE_EXEC
jz .disable_timer
jmp .store_stack
@@ -401,9 +403,11 @@ pxenv:
; the PXEStatus variable.
popad
- ; If the TFTP failed, it could return.
+ ; If the call failed, it could return.
cmp bx,0073h
jz .enable_timer
+ cmp bx,00E5h
+ jz .enable_timer
jmp .pop_flags
.enable_timer:
More information about the Syslinux-commits
mailing list