summaryrefslogtreecommitdiff
path: root/DuetPkg/DxeIpl
diff options
context:
space:
mode:
authorCohen, Eugene <eugene@hp.com>2016-02-22 21:59:52 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-02-23 12:07:11 +0100
commit5458faf845a8c0e2ee37499ad410bb8ba1d45b15 (patch)
treecc276058d35411bfdf8337f5fe63fe541f9495e8 /DuetPkg/DxeIpl
parente3aa7252ba58aefc0c8780dd20f169bcdbc9a3d3 (diff)
downloadedk2-platforms-5458faf845a8c0e2ee37499ad410bb8ba1d45b15.tar.xz
MdePkg: BaseLib: fix AArch64 DAIF interrupt mask definitions
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 GetInterruptState. The logic for interpreting the DAIF read data using the csel instruction was also incorrect and is fixed. Replaced the magic numbers in DisableInterrupts.S and EnableInterrupts.S with definitions for the DAIF write (daifset/daifclr) IRQ field. 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 'DuetPkg/DxeIpl')
0 files changed, 0 insertions, 0 deletions