TianoCore EDK2
master
Loading...
Searching...
No Matches
Dpc.h
Go to the documentation of this file.
1
15
#ifndef _DPC_H_
16
#define _DPC_H_
17
18
#include <
Uefi.h
>
19
#include <
Library/BaseLib.h
>
20
#include <
Library/DebugLib.h
>
21
#include <
Library/UefiDriverEntryPoint.h
>
22
#include <
Library/UefiBootServicesTableLib.h
>
23
#include <
Library/MemoryAllocationLib.h
>
24
#include <
Protocol/Dpc.h
>
25
26
//
27
// Internal data structure for managing DPCs. A DPC entry is either on the free
28
// list or on a DPC queue at a specific EFI_TPL.
29
//
30
typedef
struct
{
31
LIST_ENTRY
ListEntry;
32
EFI_DPC_PROCEDURE
DpcProcedure;
33
VOID *DpcContext;
34
}
DPC_ENTRY
;
35
52
EFI_STATUS
53
EFIAPI
54
DpcQueueDpc
(
55
IN
EFI_DPC_PROTOCOL
*This,
56
IN
EFI_TPL
DpcTpl,
57
IN
EFI_DPC_PROCEDURE
DpcProcedure,
58
IN
VOID *DpcContext OPTIONAL
59
);
60
73
EFI_STATUS
74
EFIAPI
75
DpcDispatchDpc
(
76
IN
EFI_DPC_PROTOCOL
*This
77
);
78
79
#endif
BaseLib.h
DpcDispatchDpc
EFI_STATUS EFIAPI DpcDispatchDpc(IN EFI_DPC_PROTOCOL *This)
Definition:
Dpc.c:213
DpcQueueDpc
EFI_STATUS EFIAPI DpcQueueDpc(IN EFI_DPC_PROTOCOL *This, IN EFI_TPL DpcTpl, IN EFI_DPC_PROCEDURE DpcProcedure, IN VOID *DpcContext OPTIONAL)
Definition:
Dpc.c:69
Dpc.h
EFI_DPC_PROCEDURE
VOID(EFIAPI * EFI_DPC_PROCEDURE)(IN VOID *DpcContext)
Definition:
Dpc.h:35
IN
#define IN
Definition:
Base.h:279
DebugLib.h
MemoryAllocationLib.h
Uefi.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_TPL
UINTN EFI_TPL
Definition:
UefiBaseType.h:41
UefiBootServicesTableLib.h
UefiDriverEntryPoint.h
_EFI_DPC_PROTOCOL
Definition:
Dpc.h:86
_LIST_ENTRY
Definition:
Base.h:247
DPC_ENTRY
Definition:
Dpc.h:30
NetworkPkg
DpcDxe
Dpc.h
Generated on Fri Nov 15 2024 18:01:18 for TianoCore EDK2 by
1.9.6