diff options
author | Leif Lindholm <leif@nuviainc.com> | 2020-12-18 11:55:52 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-12-18 15:27:26 +0000 |
commit | 5cc25cff5de191583f3ecb2d9a7e9a13baa70071 (patch) | |
tree | 1c83d57184b39170cb8cb2f2c8973cb1edef4c39 /ArmPkg/Include/Library/SemihostLib.h | |
parent | 6573ae8c85750a0badb902eb9ffe37b13fc74ba6 (diff) | |
download | edk2-5cc25cff5de191583f3ecb2d9a7e9a13baa70071.tar.gz edk2-5cc25cff5de191583f3ecb2d9a7e9a13baa70071.tar.bz2 edk2-5cc25cff5de191583f3ecb2d9a7e9a13baa70071.zip |
ArmPkg/ArmLib: add ArmHasGicSystemRegisters () helper function
Create a helper function to eliminate direct feature register reading,
which gets messy in code shared between ARM/AArch64.
Returns BOOLEAN True if the CPU implements the GIC System Register
Interface (any version), otherwise returns BOOL False.
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Diffstat (limited to 'ArmPkg/Include/Library/SemihostLib.h')
0 files changed, 0 insertions, 0 deletions