Both of these calls will not return if successful
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
; 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: