audk/ArmPkg/Include/Library
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
..
ArmDisassemblerLib.h ArmPkg: Fix various typos 2019-07-04 12:20:28 +01:00
ArmGenericTimerCounterLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmGicArchLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmGicLib.h ArmPkg/ArmGicLib: Add ArmGicSetInterruptPriority() helper function 2020-12-18 18:09:18 +00:00
ArmHvcLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmLib.h ArmPkg/ArmLib: move ArmReadIdPfr0/1 into private header ArmV7Lib.h 2020-12-18 15:27:26 +00:00
ArmMmuLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmMtlLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmSmcLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmSvcLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
DefaultExceptionHandlerLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
OpteeLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
SemihostLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
StandaloneMmMmuLib.h ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00