audk/ArmPkg/Include
Quan Nguyen 0d49b82e4f ArmPkg/ArmGicLib: Add ArmGicSetInterruptPriority() helper function
According to ARM IHI 0069F, section 11.9.18 GICD_IPRIORITYR<n>,
Interrupt Priority Registers, n = 0 - 254, when affinity routing is
enabled for the Security state of an interrupt, GICR_IPRIORITYR<n>
is used instead of GICD_IPRIORITYR<n> where n = 0 to 7 (that is, for
SGIs and PPIs).

As setting interrupt priority for SGIs and PPIs are handled using
difference registers depends on the mode, this patch instroduces
ArmGicSetInterruptPriority() helper function to handle the discrepancy.

Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
Reviewed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2020-12-18 18:09:18 +00:00
..
Chipset ArmPkg/CpuDxe: move PageAttributeToGcdAttribute() out of ArmMmuLib 2020-04-02 12:35:52 +00:00
Guid ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
IndustryStandard ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
Library ArmPkg/ArmGicLib: Add ArmGicSetInterruptPriority() helper function 2020-12-18 18:09:18 +00:00
Ppi ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
Protocol ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
AsmMacroExport.inc ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
AsmMacroIoLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
AsmMacroIoLib.inc ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
AsmMacroIoLibV8.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00