aboutsummaryrefslogtreecommitdiffstats
path: root/comboot.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-28 09:47:44 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-28 09:47:44 -0700
commitff747ef4c75c9e55c9d5c5552126d994c96da245 (patch)
tree16394b6d9dc027b24f7cd3c2da1c2caf58be6efe /comboot.inc
parent80001b1d2acc06b33bb6de05474ce54682dacfb6 (diff)
downloadsyslinux.git-ff747ef4c75c9e55c9d5c5552126d994c96da245.tar.gz
syslinux.git-ff747ef4c75c9e55c9d5c5552126d994c96da245.tar.xz
syslinux.git-ff747ef4c75c9e55c9d5c5552126d994c96da245.zip
pxenv: save away the PXE return code so COMBOOT can return itsyslinux-3.70-pre10
PXELINUX itself doesn't actually use the PXE return code, but the COMBOOT interface is supposed to return it. Accordingly, make sure it is stashed away so we can return it; for code that doesn't care, it just writes a dedicated status variable which can be safely ignored.
Diffstat (limited to 'comboot.inc')
-rw-r--r--comboot.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/comboot.inc b/comboot.inc
index 35cc7f9f..df9bb001 100644
--- a/comboot.inc
+++ b/comboot.inc
@@ -446,8 +446,8 @@ comapi_pxecall:
mov es,P_ES
mov di,P_DI
call pxenv
+ mov ax,[PXEStatus]
mov P_AX,ax
- clc
ret
%else
comapi_pxecall equ comapi_err ; Not available