summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2024-06-19 17:22:33 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-06-19 17:25:11 +0000
commit95e220e95d6237e21f7c0b83fca02d56b9327c4a (patch)
tree57e26b6ab1dc45ba72275ed1a543fa7a5c46751d
parente76be772aae59d3d58a92ac441e524a1a5c8952b (diff)
downloadedk2-95e220e95d6237e21f7c0b83fca02d56b9327c4a.tar.gz
edk2-95e220e95d6237e21f7c0b83fca02d56b9327c4a.tar.bz2
edk2-95e220e95d6237e21f7c0b83fca02d56b9327c4a.zip
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 <ardb@kernel.org>
-rw-r--r--MdePkg/Include/AArch64/AArch64.h5
-rw-r--r--MdePkg/Include/Library/ArmLib.h36
2 files changed, 0 insertions, 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 (