From 2b289c41c404315a9fc6a87ae99837f8f21b69ce Mon Sep 17 00:00:00 2001 From: hpa Date: Mon, 17 Jun 2002 18:02:59 +0000 Subject: Correct the "invoke PXE stack" call... --- comboot.doc | 5 ++++- comboot.inc | 3 ++- 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 -- cgit v1.2.1