summaryrefslogtreecommitdiffstats
path: root/ArmPkg/ArmPkg.dec
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-09-24 22:31:44 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-10-19 09:07:13 +0000
commit31b16384688df9ce0e8f59021fd667e47d7d3972 (patch)
tree3da52bb317df0d359da57836465e77c0c7f1cd93 /ArmPkg/ArmPkg.dec
parent999c53e2caf4a97538c7960f8c2862098541ffb8 (diff)
downloadedk2-31b16384688df9ce0e8f59021fd667e47d7d3972.tar.gz
edk2-31b16384688df9ce0e8f59021fd667e47d7d3972.tar.bz2
edk2-31b16384688df9ce0e8f59021fd667e47d7d3972.zip
ArmPkg/ArmMmuLib: Reuse XIP MMU routines when splitting entries
In order to reduce the likelihood that we will need to rely on the logic that disables and re-enables the MMU for updating a page table entry safely, expose the XIP version of the helper routine via a HOB and use it instead of the one that is copied into DRAM. Since the XIP copy is already clean to the PoC, and will never end up getting unmapped during a block entry split, we can use it safely without any cache maintenance, and without running the risk of pulling the rug from under our feet when updating an entry by going through an invalid mapping. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Leif Lindholm <quic_llindhol@quicinc.com>
Diffstat (limited to 'ArmPkg/ArmPkg.dec')
-rw-r--r--ArmPkg/ArmPkg.dec2
1 files changed, 2 insertions, 0 deletions
diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec
index 9da1bbc9f2..cfb6fe6024 100644
--- a/ArmPkg/ArmPkg.dec
+++ b/ArmPkg/ArmPkg.dec
@@ -99,6 +99,8 @@
# Include/Guid/ArmMpCoreInfo.h
gArmMpCoreInfoGuid = { 0xa4ee0728, 0xe5d7, 0x4ac5, {0xb2, 0x1e, 0x65, 0x8e, 0xd8, 0x57, 0xe8, 0x34} }
+ gArmMmuReplaceLiveTranslationEntryFuncGuid = { 0xa8b50ff3, 0x08ec, 0x4dd3, {0xbf, 0x04, 0x28, 0xbf, 0x71, 0x75, 0xc7, 0x4a} }
+
[Protocols.common]
## Arm System Control and Management Interface(SCMI) Base protocol
## ArmPkg/Include/Protocol/ArmScmiBaseProtocol.h