4 Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include <Protocol/Dpc.h>
15 Add a Deferred Procedure Call to the end of the DPC queue.
17 @param[in] DpcTpl The EFI_TPL that the DPC should invoke.
18 @param[in] DpcProcedure The pointer to the DPC's function.
19 @param[in] DpcContext The pointer to the DPC's context. Passed to DpcProcedure
20 when DpcProcedure is invoked.
22 @retval EFI_SUCCESS The DPC was queued.
23 @retval EFI_INVALID_PARAMETER DpcTpl is not a valid EFI_TPL.
24 @retval EFI_INVALID_PARAMETER DpcProcedure is NULL.
25 @retval EFI_OUT_OF_RESOURCES There are not enough resources available to
26 add the DPC to the queue.
33 IN EFI_DPC_PROCEDURE DpcProcedure
,
34 IN VOID
*DpcContext OPTIONAL
38 Dispatch the queue of DPCs. All DPCs that have been queued with a DpcTpl
39 value greater than or equal to the current TPL are invoked in the order that
40 they were queued. DPCs with higher DpcTpl values are invoked before DPCs with
43 @retval EFI_SUCCESS One or more DPCs were invoked.
44 @retval EFI_NOT_FOUND No DPCs were invoked.