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>
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//
30typedef struct {
31 LIST_ENTRY ListEntry;
32 EFI_DPC_PROCEDURE DpcProcedure;
33 VOID *DpcContext;
34} DPC_ENTRY;
35
53EFIAPI
55 IN EFI_DPC_PROTOCOL *This,
56 IN EFI_TPL DpcTpl,
57 IN EFI_DPC_PROCEDURE DpcProcedure,
58 IN VOID *DpcContext OPTIONAL
59 );
60
74EFIAPI
77 );
78
79#endif
EFI_STATUS EFIAPI DpcDispatchDpc(IN EFI_DPC_PROTOCOL *This)
Definition: Dpc.c:213
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
VOID(EFIAPI * EFI_DPC_PROCEDURE)(IN VOID *DpcContext)
Definition: Dpc.h:35
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
UINTN EFI_TPL
Definition: UefiBaseType.h:41
Definition: Dpc.h:30