TianoCore EDK2 master
|
Go to the source code of this file.
Macros | |
#define | ARM_GIC_DEFAULT_PRIORITY 0x80 |
Copyright (c) 2011-2023, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ArmGicV3Dxe.c.
#define ARM_GIC_DEFAULT_PRIORITY 0x80 |
Definition at line 13 of file ArmGicV3Dxe.c.
STATIC EFI_STATUS EFIAPI GicV3DisableInterruptSource | ( | IN EFI_HARDWARE_INTERRUPT_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 62 of file ArmGicV3Dxe.c.
EFI_STATUS GicV3DxeInitialize | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Initialize the state information for the CPU Architectural Protocol
ImageHandle | of the loaded driver |
SystemTable | Pointer to the System Table |
EFI_SUCCESS | Protocol registered |
EFI_OUT_OF_RESOURCES | Cannot allocate protocol data structure |
EFI_DEVICE_ERROR | Hardware problems |
Definition at line 370 of file ArmGicV3Dxe.c.
STATIC EFI_STATUS EFIAPI GicV3EnableInterruptSource | ( | IN EFI_HARDWARE_INTERRUPT_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 34 of file ArmGicV3Dxe.c.
STATIC EFI_STATUS EFIAPI GicV3EndOfInterrupt | ( | IN EFI_HARDWARE_INTERRUPT_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 ended successfully. |
EFI_DEVICE_ERROR | Hardware could not be programmed. |
Definition at line 125 of file ArmGicV3Dxe.c.
Shutdown our hardware
DXE Core will disable interrupts and turn off the timer and disable interrupts after all the event handlers have run.
[in] | Event | The Event that is being processed |
[in] | Context | Event Context |
Definition at line 339 of file ArmGicV3Dxe.c.
STATIC EFI_STATUS EFIAPI GicV3GetInterruptSourceState | ( | IN EFI_HARDWARE_INTERRUPT_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 91 of file ArmGicV3Dxe.c.
STATIC EFI_STATUS EFIAPI GicV3GetTriggerType | ( | IN EFI_HARDWARE_INTERRUPT2_PROTOCOL * | This, |
IN HARDWARE_INTERRUPT_SOURCE | Source, | ||
OUT EFI_HARDWARE_INTERRUPT2_TRIGGER_TYPE * | TriggerType | ||
) |
Get interrupt trigger type of an interrupt
This | Instance pointer for this protocol |
Source | Hardware source of the interrupt. |
TriggerType | Returns interrupt trigger type. |
EFI_SUCCESS | Source interrupt supported. |
EFI_UNSUPPORTED | Source interrupt is not supported. |
Definition at line 203 of file ArmGicV3Dxe.c.
STATIC VOID EFIAPI GicV3IrqInterruptHandler | ( | IN EFI_EXCEPTION_TYPE | InterruptType, |
IN EFI_SYSTEM_CONTEXT | SystemContext | ||
) |
EFI_CPU_INTERRUPT_HANDLER that is called when a processor interrupt occurs.
InterruptType | Defines the type of interrupt or exception that occurred on the processor. This parameter is processor architecture specific. |
SystemContext | A pointer to the processor context when the interrupt occurred on the processor. |
Definition at line 154 of file ArmGicV3Dxe.c.
STATIC EFI_STATUS EFIAPI GicV3SetTriggerType | ( | IN EFI_HARDWARE_INTERRUPT2_PROTOCOL * | This, |
IN HARDWARE_INTERRUPT_SOURCE | Source, | ||
IN EFI_HARDWARE_INTERRUPT2_TRIGGER_TYPE | TriggerType | ||
) |
Set interrupt trigger type of an interrupt
This | Instance pointer for this protocol |
Source | Hardware source of the interrupt. |
TriggerType | Interrupt trigger type. |
EFI_SUCCESS | Source interrupt supported. |
EFI_UNSUPPORTED | Source interrupt is not supported. |
Definition at line 245 of file ArmGicV3Dxe.c.
EFI_HARDWARE_INTERRUPT2_PROTOCOL gHardwareInterrupt2V3Protocol |
Definition at line 318 of file ArmGicV3Dxe.c.
EFI_HARDWARE_INTERRUPT_PROTOCOL gHardwareInterruptV3Protocol |
Definition at line 182 of file ArmGicV3Dxe.c.
Definition at line 18 of file ArmGicV3Dxe.c.
Definition at line 19 of file ArmGicV3Dxe.c.