ArmPkg/ArmLib: rename AArch64 variant of ArmReadIdPfr0

ArmReadIdPfr0 is now used only inside ArmLib. Rename the AArch64
variant ArmReadIdAA64Pfr0 and add a declaration of that only into
local header AArch64/AArch64Lib.h.

Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
This commit is contained in:
Leif Lindholm
2020-12-18 13:51:35 +00:00
committed by mergify[bot]
parent 982b0a5778
commit bb56ce816b
3 changed files with 10 additions and 3 deletions

View File

@@ -85,5 +85,5 @@ ArmHasGicSystemRegisters (
VOID
)
{
return ((ArmReadIdPfr0 () & AARCH64_PFR0_GIC) != 0);
return ((ArmReadIdAA64Pfr0 () & AARCH64_PFR0_GIC) != 0);
}