diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-08-01 13:15:17 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-30 08:01:28 +0000 |
commit | 5c566abb126a4ab0e462ef9d0667e4617a8f8a44 (patch) | |
tree | 2b61921b08ca9181e0cf1acccab78b905f367637 /ArmVirtPkg | |
parent | 5749b70b5a892e1cf0f2bfa37865a552ba8f96e5 (diff) | |
download | edk2-5c566abb126a4ab0e462ef9d0667e4617a8f8a44.tar.gz edk2-5c566abb126a4ab0e462ef9d0667e4617a8f8a44.tar.bz2 edk2-5c566abb126a4ab0e462ef9d0667e4617a8f8a44.zip |
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 <ardb@kernel.org>
Diffstat (limited to 'ArmVirtPkg')
-rw-r--r-- | ArmVirtPkg/Library/ArmPlatformLibQemu/AArch64/ArmPlatformHelper.S | 25 |
1 files changed, 0 insertions, 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
|