diff options
author | hpa <hpa> | 2002-06-17 18:02:59 +0000 |
---|---|---|
committer | hpa <hpa> | 2002-06-17 18:02:59 +0000 |
commit | 2b289c41c404315a9fc6a87ae99837f8f21b69ce (patch) | |
tree | 8319e3cbbad14de8a371553462a4b38b75b77dfa | |
parent | ac8df6db27137f44c91fe6d57233b62b226a18e0 (diff) | |
download | syslinux-2b289c41c404315a9fc6a87ae99837f8f21b69ce.tar.gz |
Correct the "invoke PXE stack" call...syslinux-2.00-pre5
-rw-r--r-- | comboot.doc | 5 | ||||
-rw-r--r-- | 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 |