Add an API call to invoke the PXE stack directly.
authorhpa <hpa>
Wed, 12 Jun 2002 06:16:58 +0000 (06:16 +0000)
committerhpa <hpa>
Wed, 12 Jun 2002 06:16:58 +0000 (06:16 +0000)
comboot.doc
comboot.inc

index 97bb89f..50b9720 100644 (file)
@@ -298,3 +298,13 @@ AX=0008h   Close file
        will probably crash the system.
 
 
+AX=0009h       Call PXE Stack [PXELINUX ONLY]
+
+       Input:  AX      0009h
+               BX      PXE function number
+               ES:DI   PXE data buffer
+       Output: AX      PXE return status code
+
+       Invoke an arbitrary PXE stack function.  On SYSLINUX/ISOLINUX,
+       this function returns with an error (CF=1) and no action is
+       taken.
index e8ec32c..2804927 100644 (file)
@@ -357,6 +357,17 @@ comapi_close:
                clc
                ret
 
+;
+; INT 22h AX=0009h     Call PXE stack
+;
+%if IS_PXELINUX
+               call far [PXENVEntry]
+               clc
+               ret
+%else
+               stc                             ; Function not available
+               ret
+%endif
 
                align 2, db 0
 int22_table:
@@ -369,4 +380,5 @@ int22_table:
                dw comapi_open                  ; 0006 open file
                dw comapi_read                  ; 0007 read file
                dw comapi_close                 ; 0008 close file
+               dw comapi_pxecall               ; 0009 call PXE stack
 int22_count    equ ($-int22_table)/2