audk/ArmPkg/Library/ArmLib/Common
Cohen, Eugene 4af3dd80ab ArmPkg: CpuDxe: fix AArch64 interrupt read masks
The AArch64 DAIF bits are different for reading (mrs) versus writing
(msr). The bitmask definitions assumed they were the same causing
incorrect results when trying to determine the current interrupt
state through ArmGetInterruptState.

The logic for interpreting the DAIF read data using the csel instruction
was also incorrect and is fixed.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen <eugene@hp.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2016-02-23 12:07:11 +01:00
..
AArch64 ArmPkg: CpuDxe: fix AArch64 interrupt read masks 2016-02-23 12:07:11 +01:00
Arm ArmPkg: Add isb when setting SCR 2016-02-03 18:42:21 +00:00
ArmLib.c ArmPkg/ArmLib: add accessor function for Cache Writeback Granule 2015-11-09 13:28:17 +00:00
ArmLibPrivate.h ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00