aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comboot.doc5
-rw-r--r--comboot.inc3
2 files changed, 6 insertions, 2 deletions
diff --git a/comboot.doc b/comboot.doc
index 032eed4b..2f5f247c 100644
--- a/comboot.doc
+++ b/comboot.doc
@@ -317,7 +317,10 @@ AX=0009h Call PXE Stack [PXELINUX ONLY]
Invoke an arbitrary PXE stack function. On SYSLINUX/ISOLINUX,
this function returns with an error (CF=1) and no action is
- taken.
+ taken. On PXELINUX, this function always returns with CF=0
+ indicating that the PXE stack was successfully invoked; check
+ the status code in AX and in the first word of the data buffer
+ to determine if the PXE call succeeded or not.
AX=000Ah Get Derivative-Specific Information
diff --git a/comboot.inc b/comboot.inc
index d25fd2cc..d7b03a70 100644
--- a/comboot.inc
+++ b/comboot.inc
@@ -429,6 +429,7 @@ comapi_pxecall:
mov es,P_ES
mov di,P_DI
call far [PXENVEntry]
+ mov P_AX,ax
clc
ret
%else
@@ -495,7 +496,7 @@ int21_table:
int21 0Bh, comboot_checkkey
int21 30h, comboot_checkver
int21 4Ch, comboot_return
- int21 00h, comboot_bogus
+ int21 -1, comboot_bogus
int21_count equ ($-int21_table)/3
align 2, db 0