From 982b0a5778f907d9a8e26ff65cd14c48ed31be63 Mon Sep 17 00:00:00 2001 From: Leif Lindholm Date: Fri, 18 Dec 2020 13:40:29 +0000 Subject: 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 Signed-off-by: Leif Lindholm Reviewed-by: Ard Biesheuvel --- ArmPkg/Library/ArmLib/AArch64/AArch64Support.S | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ArmPkg') diff --git a/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S b/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S index 199374f..7f942c2 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 -- cgit v1.1