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
//
24
typedef
struct
_EFI_DPC_PROTOCOL
EFI_DPC_PROTOCOL
;
25
33
typedef
34
VOID
35
(EFIAPI *
EFI_DPC_PROCEDURE
)(
36
IN
VOID *DpcContext
37
);
38
55
typedef
56
EFI_STATUS
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
77
typedef
78
EFI_STATUS
79
(EFIAPI *
EFI_DPC_DISPATCH_DPC
)(
80
IN
EFI_DPC_PROTOCOL
*This
81
);
82
86
struct
_EFI_DPC_PROTOCOL
{
87
EFI_DPC_QUEUE_DPC
QueueDpc;
88
EFI_DPC_DISPATCH_DPC
DispatchDpc;
89
};
90
94
extern
EFI_GUID
gEfiDpcProtocolGuid
;
95
96
#endif
EFI_DPC_QUEUE_DPC
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
EFI_DPC_PROCEDURE
VOID(EFIAPI * EFI_DPC_PROCEDURE)(IN VOID *DpcContext)
Definition:
Dpc.h:35
EFI_DPC_DISPATCH_DPC
EFI_STATUS(EFIAPI * EFI_DPC_DISPATCH_DPC)(IN EFI_DPC_PROTOCOL *This)
Definition:
Dpc.h:79
gEfiDpcProtocolGuid
EFI_GUID gEfiDpcProtocolGuid
OPTIONAL
#define OPTIONAL
Definition:
Base.h:290
IN
#define IN
Definition:
Base.h:279
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_TPL
UINTN EFI_TPL
Definition:
UefiBaseType.h:41
_EFI_DPC_PROTOCOL
Definition:
Dpc.h:86
GUID
Definition:
Base.h:213
NetworkPkg
Include
Protocol
Dpc.h
Generated on Fri Nov 15 2024 18:01:18 for TianoCore EDK2 by
1.9.6