audk/ArmPkg/Drivers/ArmGic
Ard Biesheuvel 8659306a2e ArmPkg/ArmGicDxe: Expose HardwareInterrupt2 protocol
The existing HardwareInterrupt protocol lacked a means to configure the
level/edge properties of an interrupt.  The new HardwareInterrupt2
protocol introduced this capability.
This patch updates the GIC drivers to provide the new interfaces.
The changes comprise:
  Update to use HardwareInterrupt2 protocol
  Additions to register info in ArmGicLib.h
  Added new functionality (GetTriggerType and SetTriggerType)

The requirement for this change derives from a problem detected on ARM
Juno boards, but the change is of generic (ARM) relevance.

This commit is in response to review on the mailing list and, as
suggested there, rolls Girish's updates onto Ard's original example.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Girish Pathak <girish.pathak@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Tested-by: Girish Pathak <girish.pathak@arm.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-10-05 21:23:39 +01:00
..
GicV2 ArmPkg/ArmGicDxe: Expose HardwareInterrupt2 protocol 2017-10-05 21:23:39 +01:00
GicV3 ArmPkg/ArmGicDxe: Expose HardwareInterrupt2 protocol 2017-10-05 21:23:39 +01:00
ArmGicCommonDxe.c ArmPkg/ArmGicDxe: Expose HardwareInterrupt2 protocol 2017-10-05 21:23:39 +01:00
ArmGicDxe.c ArmPkg/ArmGic: Added GicV3 support to ArmGicDxe 2014-10-27 10:30:53 +00:00
ArmGicDxe.h ArmPkg/ArmGicDxe: Expose HardwareInterrupt2 protocol 2017-10-05 21:23:39 +01:00
ArmGicDxe.inf ArmPkg/ArmGicDxe: Expose HardwareInterrupt2 protocol 2017-10-05 21:23:39 +01:00
ArmGicLib.c ArmPkg: Tidy GIC code before changes. 2017-10-05 17:45:16 +01:00
ArmGicLib.inf ArmPkg: split off ArmGicArchLib from ArmGicLib 2015-07-28 20:44:44 +00:00
ArmGicNonSecLib.c ArmPkg/ArmGic: fix bug in GICv3 distributor configuration 2015-12-15 13:08:48 +00:00
ArmGicSecLib.c ArmPkg: merge ArmGicV[23]Lib.h into ArmGicLib.h 2015-07-28 20:44:27 +00:00
ArmGicSecLib.inf ArmPkg: split off ArmGicArchLib from ArmGicLib 2015-07-28 20:44:44 +00:00