audk/ArmPkg
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
..
Drivers ArmPkg/ArmGicLib: Add ArmGicSetInterruptPriority() helper function 2020-12-18 18:09:18 +00:00
Filesystem/SemihostFs ArmPkg: Fix various typos 2019-07-04 12:20:28 +01:00
Include ArmPkg/ArmGicLib: Add ArmGicSetInterruptPriority() helper function 2020-12-18 18:09:18 +00:00
Library ArmPkg/ArmLib: move ArmReadIdPfr0/1 into private header ArmV7Lib.h 2020-12-18 15:27:26 +00:00
ArmPkg.dec ArmPkg/ArmSmcPsciResetSystemLib: remove EnterS3WithImmediateWake () 2020-01-14 22:12:17 +00:00
ArmPkg.dsc ArmPkg: only attempt buildin MmCommunicationDxe for AArch64 2020-06-07 21:13:13 +00:00