audk/ArmPlatformPkg/Library
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
..
ArmMaliDp ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmPlatformLibNull ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmPlatformStackLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
HdLcd ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
LcdHwNullLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
LcdPlatformNullLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
NorFlashPlatformNullLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PL011SerialPortLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PL011UartClockLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PL011UartLib ArmPlatformPkg: Fix various typos 2019-07-04 12:20:52 +01:00
PL031RealTimeClockLib ArmPlatformPkg: Actually disable PL031 interrupts 2019-07-10 18:07:31 +01:00
PL111Lcd ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PrePiHobListPointerLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00