summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/PxeBaseCodeCallBack.h
diff options
context:
space:
mode:
authorjgong5 <jgong5@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-06 05:07:34 +0000
committerjgong5 <jgong5@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-06 05:07:34 +0000
commitf737cfb953905f42f3324e8e53ec324a15314210 (patch)
treef709e81732490dfe0d2f7e7ec0db254f5fe5d8da /MdePkg/Include/Protocol/PxeBaseCodeCallBack.h
parent4de1f287612ff020ffa44d45e5327c00cd656894 (diff)
downloadedk2-platforms-f737cfb953905f42f3324e8e53ec324a15314210.tar.xz
code scrub for UefiPxeBcDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7452 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/PxeBaseCodeCallBack.h')
-rw-r--r--MdePkg/Include/Protocol/PxeBaseCodeCallBack.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/PxeBaseCodeCallBack.h b/MdePkg/Include/Protocol/PxeBaseCodeCallBack.h
index 26b1503582..5f6fd7cb54 100644
--- a/MdePkg/Include/Protocol/PxeBaseCodeCallBack.h
+++ b/MdePkg/Include/Protocol/PxeBaseCodeCallBack.h
@@ -75,6 +75,16 @@ typedef enum {
Callback function that is invoked when the PXE Base Code Protocol is about to transmit, has
received, or is waiting to receive a packet.
+ This function is invoked when the PXE Base Code Protocol is about to transmit, has received,
+ or is waiting to receive a packet. Parameters Function and Received specify the type of event.
+ Parameters PacketLen and Packet specify the packet that generated the event. If these fields
+ are zero and NULL respectively, then this is a status update callback. If the operation specified
+ by Function is to continue, then CALLBACK_STATUS_CONTINUE should be returned. If the operation
+ specified by Function should be aborted, then CALLBACK_STATUS_ABORT should be returned. Due to
+ the polling nature of UEFI device drivers, a callback function should not execute for more than 5 ms.
+ The SetParameters() function must be called after a Callback Protocol is installed to enable the
+ use of callbacks.
+
@param This Pointer to the EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL instance.
@param Function The PXE Base Code Protocol function that is waiting for an event.
@param Received TRUE if the callback is being invoked due to a receive event. FALSE if