TianoCore EDK2 master
Loading...
Searching...
No Matches
Dpc.h
Go to the documentation of this file.
1
10#ifndef __DPC_H__
11#define __DPC_H__
12
13//
14// DPC Protocol GUID value
15//
16#define EFI_DPC_PROTOCOL_GUID \
17 { \
18 0x480f8ae9, 0xc46, 0x4aa9, { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 } \
19 }
20
21//
22// Forward reference for pure ANSI compatibility
23//
25
33typedef
34VOID
35(EFIAPI *EFI_DPC_PROCEDURE)(
36 IN VOID *DpcContext
37 );
38
55typedef
57(EFIAPI *EFI_DPC_QUEUE_DPC)(
58 IN EFI_DPC_PROTOCOL *This,
59 IN EFI_TPL DpcTpl,
60 IN EFI_DPC_PROCEDURE DpcProcedure,
61 IN VOID *DpcContext OPTIONAL
62 );
63
77typedef
79(EFIAPI *EFI_DPC_DISPATCH_DPC)(
81 );
82
87 EFI_DPC_QUEUE_DPC QueueDpc;
88 EFI_DPC_DISPATCH_DPC DispatchDpc;
89};
90
95
96#endif
EFI_STATUS(EFIAPI * EFI_DPC_QUEUE_DPC)(IN EFI_DPC_PROTOCOL *This, IN EFI_TPL DpcTpl, IN EFI_DPC_PROCEDURE DpcProcedure, IN VOID *DpcContext OPTIONAL)
Definition: Dpc.h:57
VOID(EFIAPI * EFI_DPC_PROCEDURE)(IN VOID *DpcContext)
Definition: Dpc.h:35
EFI_STATUS(EFIAPI * EFI_DPC_DISPATCH_DPC)(IN EFI_DPC_PROTOCOL *This)
Definition: Dpc.h:79
EFI_GUID gEfiDpcProtocolGuid
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
UINTN EFI_TPL
Definition: UefiBaseType.h:41
Definition: Base.h:213