audk/ArmPlatformPkg
Alexander Graf 8df52631e5 ArmPlatformPkg: Actually disable PL031 interrupts
The PL031 interrupt mask register (IMSC) is not very clearly documented
in the PL031 specification. However, bit 0 (RTCIMSC) indicates whether
interrupts are enabled, not disabled.

So before this commit, we were actually *enabling* interrupts for the RTC.

This patch changes the logic to instead disable interrupts when they
are not disabled already.

Signed-off-by: Alexander Graf <graf@amazon.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2019-07-10 18:07:31 +01:00
..
Drivers ArmPlatformPkg: Fix various typos 2019-07-04 12:20:52 +01:00
Include/Library ArmPlatformPkg: Fix various typos 2019-07-04 12:20:52 +01:00
Library ArmPlatformPkg: Actually disable PL031 interrupts 2019-07-10 18:07:31 +01:00
MemoryInitPei ArmPlatformPkg: Fix various typos 2019-07-04 12:20:52 +01:00
PlatformPei ArmPlatformPkg: Fix various typos 2019-07-04 12:20:52 +01:00
PrePeiCore ArmPlatformPkg: Fix various typos 2019-07-04 12:20:52 +01:00
PrePi ArmPlatformPkg: Fix various typos 2019-07-04 12:20:52 +01:00
Scripts ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmPlatformPkg.dec ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmPlatformPkg.dsc ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00