TianoCore EDK2 master
|
#include <Protocol/HardwareInterrupt.h>
Go to the source code of this file.
Data Structures | |
struct | _EFI_HARDWARE_INTERRUPT2_PROTOCOL |
Macros | |
#define | EFI_HARDWARE_INTERRUPT2_PROTOCOL_GUID |
Variables | |
EFI_GUID | gHardwareInterrupt2ProtocolGuid |
Copyright (c) 2016-2017, Linaro Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file HardwareInterrupt2.h.
#define EFI_HARDWARE_INTERRUPT2_PROTOCOL_GUID |
Definition at line 16 of file HardwareInterrupt2.h.
Definition at line 28 of file HardwareInterrupt2.h.
typedef EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT2_DISABLE) (IN EFI_HARDWARE_INTERRUPT2_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source) |
Disable interrupt source Source.
This | Instance pointer for this protocol |
Source | Hardware source of the interrupt |
EFI_SUCCESS | Source interrupt disabled. |
EFI_DEVICE_ERROR | Hardware could not be programmed. |
Definition at line 77 of file HardwareInterrupt2.h.
typedef EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT2_ENABLE) (IN EFI_HARDWARE_INTERRUPT2_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source) |
Enable interrupt source Source.
This | Instance pointer for this protocol |
Source | Hardware source of the interrupt |
EFI_SUCCESS | Source interrupt enabled. |
EFI_DEVICE_ERROR | Hardware could not be programmed. |
Definition at line 60 of file HardwareInterrupt2.h.
typedef EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT2_END_OF_INTERRUPT) (IN EFI_HARDWARE_INTERRUPT2_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source) |
Signal to the hardware that the End Of Interrupt state has been reached.
This | Instance pointer for this protocol |
Source | Hardware source of the interrupt |
EFI_SUCCESS | Source interrupt EOI'ed. |
EFI_DEVICE_ERROR | Hardware could not be programmed. |
Definition at line 114 of file HardwareInterrupt2.h.
typedef EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT2_GET_TRIGGER_TYPE) (IN EFI_HARDWARE_INTERRUPT2_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source, OUT EFI_HARDWARE_INTERRUPT2_TRIGGER_TYPE *TriggerType) |
Return the configured trigger type for an interrupt source
This | Instance pointer for this protocol |
Source | Hardware source of the interrupt |
TriggerType | The configured trigger type |
EFI_SUCCESS | Operation successful |
EFI_DEVICE_ERROR | Information could not be returned |
Definition at line 132 of file HardwareInterrupt2.h.
typedef EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT2_INTERRUPT_STATE) (IN EFI_HARDWARE_INTERRUPT2_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source, IN BOOLEAN *InterruptState) |
Return current state of interrupt source Source.
This | Instance pointer for this protocol |
Source | Hardware source of the interrupt |
InterruptState | TRUE: source enabled, FALSE: source disabled. |
EFI_SUCCESS | InterruptState is valid |
EFI_DEVICE_ERROR | InterruptState is not valid |
Definition at line 95 of file HardwareInterrupt2.h.
typedef EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT2_REGISTER) (IN EFI_HARDWARE_INTERRUPT2_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source, IN HARDWARE_INTERRUPT_HANDLER Handler) |
Register Handler for the specified interrupt source.
This | Instance pointer for this protocol |
Source | Hardware source of the interrupt |
Handler | Callback for interrupt. NULL to unregister |
EFI_SUCCESS | Source was updated to support Handler. |
EFI_DEVICE_ERROR | Hardware could not be programmed. |
Definition at line 42 of file HardwareInterrupt2.h.
typedef EFI_STATUS(EFIAPI * HARDWARE_INTERRUPT2_SET_TRIGGER_TYPE) (IN EFI_HARDWARE_INTERRUPT2_PROTOCOL *This, IN HARDWARE_INTERRUPT_SOURCE Source, IN EFI_HARDWARE_INTERRUPT2_TRIGGER_TYPE TriggerType) |
Configure the trigger type for an interrupt source
This | Instance pointer for this protocol |
Source | Hardware source of the interrupt |
TriggerType | The trigger type to configure |
EFI_SUCCESS | Operation successful |
EFI_DEVICE_ERROR | Hardware could not be programmed. |
Definition at line 151 of file HardwareInterrupt2.h.
enum EFI_HARDWARE_INTERRUPT2_TRIGGER_TYPE |
Definition at line 20 of file HardwareInterrupt2.h.