summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Drivers
diff options
context:
space:
mode:
authorCohen, Eugene <eugene@hp.com>2016-02-22 23:08:27 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-02-23 12:07:11 +0100
commit4af3dd80abb759f3c439f8d1369a57745db08d30 (patch)
tree60c26300065cf79a8fbd29330a21af224d2bad97 /ArmPkg/Drivers
parent2ba36b2f0ea77661a4a3dcce6785df49be20698d (diff)
downloadedk2-4af3dd80abb759f3c439f8d1369a57745db08d30.tar.gz
edk2-4af3dd80abb759f3c439f8d1369a57745db08d30.tar.bz2
edk2-4af3dd80abb759f3c439f8d1369a57745db08d30.zip
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>
Diffstat (limited to 'ArmPkg/Drivers')
0 files changed, 0 insertions, 0 deletions