TianoCore EDK2 master
Loading...
Searching...
No Matches
HardwareInterrupt.h
Go to the documentation of this file.
1
18#ifndef __HARDWARE_INTERRUPT_H__
19#define __HARDWARE_INTERRUPT_H__
20
22
23//
24// Protocol GUID
25//
26// EAB39028-3D05-4316-AD0C-D64808DA3FF1
27
28#define EFI_HARDWARE_INTERRUPT_PROTOCOL_GGUID \
29 { 0x2890B3EA, 0x053D, 0x1643, { 0xAD, 0x0C, 0xD6, 0x48, 0x08, 0xDA, 0x3F, 0xF1 } }
30
32
33typedef UINTN HARDWARE_INTERRUPT_SOURCE;
34
45typedef
46VOID
48 IN HARDWARE_INTERRUPT_SOURCE Source,
49 IN EFI_SYSTEM_CONTEXT SystemContext
50 );
51
63typedef
67 IN HARDWARE_INTERRUPT_SOURCE Source,
69 );
70
81typedef
85 IN HARDWARE_INTERRUPT_SOURCE Source
86 );
87
98typedef
102 IN HARDWARE_INTERRUPT_SOURCE Source
103 );
104
116typedef
120 IN HARDWARE_INTERRUPT_SOURCE Source,
121 IN BOOLEAN *InterruptState
122 );
123
135typedef
139 IN HARDWARE_INTERRUPT_SOURCE Source
140 );
141
143 HARDWARE_INTERRUPT_REGISTER RegisterInterruptSource;
144 HARDWARE_INTERRUPT_ENABLE EnableInterruptSource;
145 HARDWARE_INTERRUPT_DISABLE DisableInterruptSource;
146 HARDWARE_INTERRUPT_INTERRUPT_STATE GetInterruptSourceState;
148};
149
150extern EFI_GUID gHardwareInterruptProtocolGuid;
151
152#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT_INTERRUPT_STATE)(IN EFI_HARDWARE_INTERRUPT_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source, IN BOOLEAN *InterruptState)
EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT_END_OF_INTERRUPT)(IN EFI_HARDWARE_INTERRUPT_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source)
EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT_ENABLE)(IN EFI_HARDWARE_INTERRUPT_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source)
EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT_DISABLE)(IN EFI_HARDWARE_INTERRUPT_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source)
EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT_REGISTER)(IN EFI_HARDWARE_INTERRUPT_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source, IN HARDWARE_INTERRUPT_HANDLER Handler)
VOID(EFIAPI * HARDWARE_INTERRUPT_HANDLER)(IN HARDWARE_INTERRUPT_SOURCE Source, IN EFI_SYSTEM_CONTEXT SystemContext)
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213