summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Filesystem/SemihostFs
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-11-20 17:12:50 +0000
committerLeif Lindholm <leif.lindholm@linaro.org>2016-11-30 16:12:20 +0000
commit35718840efe3a29c981b5b0f4d2f617f9a1f2c2e (patch)
tree4b57a2f6c515cf8c6c79bc7a5f60ece245b0fc25 /ArmPkg/Filesystem/SemihostFs
parentbcc6a38f4c2419e704c99fa2d3dc01e1cb007a17 (diff)
downloadedk2-35718840efe3a29c981b5b0f4d2f617f9a1f2c2e.tar.gz
edk2-35718840efe3a29c981b5b0f4d2f617f9a1f2c2e.tar.bz2
edk2-35718840efe3a29c981b5b0f4d2f617f9a1f2c2e.zip
ArmPkg/ArmMmuLib: support page tables in cacheable memory only
Translation table walks are always cache coherent on ARMv8-A, so cache maintenance on page tables is never needed. Since there is a risk of loss of coherency when using mismatched attributes, and given that memory is mapped cacheable except for extraordinary cases (such as non-coherent DMA), restrict the page table walker to performing cacheable accesses to the translation tables. For DEBUG builds, retain some of the logic so that we can double check that the memory holding the root translation table is indeed located in memory that is mapped cacheable. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Filesystem/SemihostFs')
0 files changed, 0 insertions, 0 deletions