From 5c566abb126a4ab0e462ef9d0667e4617a8f8a44 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Thu, 1 Aug 2024 13:15:17 +0200 Subject: ArmVirtPkg/ArmPlatformLib: Drop unused MPCore routines Some of the boilerplate in ArmPlatformLib is only relevant when entering UEFI on multiple cores, and this is no longer supported. So retire the associated helper routines. Signed-off-by: Ard Biesheuvel --- .../ArmPlatformLibQemu/AArch64/ArmPlatformHelper.S | 25 ---------------------- 1 file changed, 25 deletions(-) diff --git a/ArmVirtPkg/Library/ArmPlatformLibQemu/AArch64/ArmPlatformHelper.S b/ArmVirtPkg/Library/ArmPlatformLibQemu/AArch64/ArmPlatformHelper.S index 5ac7c732f6..bdb460c7ee 100644 --- a/ArmVirtPkg/Library/ArmPlatformLibQemu/AArch64/ArmPlatformHelper.S +++ b/ArmVirtPkg/Library/ArmPlatformLibQemu/AArch64/ArmPlatformHelper.S @@ -101,28 +101,3 @@ ASM_FUNC(ArmPlatformPeiBootAction) isb 0:b ArmEnableVFP // enable SIMD before entering C code - -//UINTN -//ArmPlatformGetCorePosition ( -// IN UINTN MpId -// ); -// With this function: CorePos = (ClusterId * 4) + CoreId -ASM_FUNC(ArmPlatformGetCorePosition) - mov x0, xzr - ret - -//UINTN -//ArmPlatformGetPrimaryCoreMpId ( -// VOID -// ); -ASM_FUNC(ArmPlatformGetPrimaryCoreMpId) - MOV32 (w0, FixedPcdGet32 (PcdArmPrimaryCore)) - ret - -//UINTN -//ArmPlatformIsPrimaryCore ( -// IN UINTN MpId -// ); -ASM_FUNC(ArmPlatformIsPrimaryCore) - mov x0, #1 - ret -- cgit v1.2.3