diff options
author | Leif Lindholm <leif@nuviainc.com> | 2020-12-18 13:40:29 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-12-18 15:27:26 +0000 |
commit | 982b0a5778f907d9a8e26ff65cd14c48ed31be63 (patch) | |
tree | 90f2def778d5e8bfac701f094b1f7bbbcc9d46c0 | |
parent | 0dd0d42ab5b67293543d4e16dab9c82fe6afd07a (diff) | |
download | edk2-982b0a5778f907d9a8e26ff65cd14c48ed31be63.tar.gz edk2-982b0a5778f907d9a8e26ff65cd14c48ed31be63.tar.bz2 edk2-982b0a5778f907d9a8e26ff65cd14c48ed31be63.zip |
ArmPkg/ArmLib: delete AArch64 version of ArmReadIdPfr1
The AArch64 version of ArmReadIdPfr1 is not used by any code in tree,
or in edk2-platforms. Delete it.
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
-rw-r--r-- | ArmPkg/Library/ArmLib/AArch64/AArch64Support.S | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S b/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S index 199374ff59..7f942c29ea 100644 --- a/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S +++ b/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S @@ -453,14 +453,6 @@ ASM_FUNC(ArmReadIdPfr0) ret
-// Q: id_aa64pfr1_el1 not defined yet. What does this function want to access?
-// A: used to setup arch timer. Check if we have security extensions, permissions to set stuff.
-// See: ArmPkg/Library/ArmArchTimerLib/AArch64/ArmArchTimerLib.c
-// Not defined yet, but stick in here for now, should read all zeros.
-ASM_FUNC(ArmReadIdPfr1)
- mrs x0, id_aa64pfr1_el1 // Read ID_PFR1 Register
- ret
-
// VOID ArmWriteHcr(UINTN Hcr)
ASM_FUNC(ArmWriteHcr)
msr hcr_el2, x0 // Write the passed HCR value
|