From 95e220e95d6237e21f7c0b83fca02d56b9327c4a Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Wed, 19 Jun 2024 17:22:33 +0200 Subject: MdePkg/ArmLib: Drop obsolete library declarations Drop obsolete library declarations that are no longer (and should not be) implemented in EDK2 or UEFI, given that they are specific to the secure world. Signed-off-by: Ard Biesheuvel --- MdePkg/Include/AArch64/AArch64.h | 5 ----- MdePkg/Include/Library/ArmLib.h | 36 ------------------------------------ 2 files changed, 41 deletions(-) diff --git a/MdePkg/Include/AArch64/AArch64.h b/MdePkg/Include/AArch64/AArch64.h index a77c3a95f1..c1a24c1e30 100644 --- a/MdePkg/Include/AArch64/AArch64.h +++ b/MdePkg/Include/AArch64/AArch64.h @@ -234,11 +234,6 @@ ArmReadCurrentEL ( VOID ); -UINTN -ArmWriteCptr ( - IN UINT64 Cptr - ); - UINT32 ArmReadCntHctl ( VOID diff --git a/MdePkg/Include/Library/ArmLib.h b/MdePkg/Include/Library/ArmLib.h index 71c2076652..6a1503a7e5 100644 --- a/MdePkg/Include/Library/ArmLib.h +++ b/MdePkg/Include/Library/ArmLib.h @@ -515,42 +515,6 @@ ArmEnableVFP ( VOID ); -/** - Get the Secure Configuration Register value - - @return Value read from the Secure Configuration Register - -**/ -UINT32 -EFIAPI -ArmReadScr ( - VOID - ); - -/** - Set the Secure Configuration Register - - @param Value Value to write to the Secure Configuration Register - -**/ -VOID -EFIAPI -ArmWriteScr ( - IN UINT32 Value - ); - -UINT32 -EFIAPI -ArmReadMVBar ( - VOID - ); - -VOID -EFIAPI -ArmWriteMVBar ( - IN UINT32 VectorMonitorBase - ); - UINT32 EFIAPI ArmReadSctlr ( -- cgit