summaryrefslogtreecommitdiff
path: root/Nt32Pkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-05-12 15:52:59 +0200
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-06-15 17:23:09 +0200
commit469e1e1e4203b5d369fdce790883cb0aa035a744 (patch)
treec858ec1b0d4bfe973232e23fbd0e3da0eb80016b /Nt32Pkg
parent16146b984db10f87e30a6f6ac08ba9716a9eea79 (diff)
downloadedk2-platforms-469e1e1e4203b5d369fdce790883cb0aa035a744.tar.xz
ArmPkg/ArmLib: avoid cache maintenance in PEIMs when executing in place
On some platforms, performing cache maintenance on regions that are backed by NOR flash result in SErrors. Since cache maintenance is unnecessary in that case, create a PEIM specific version that only performs said cache maintenance in its constructor if the module is shadowed in RAM. To avoid performing the cache maintenance if the MMU code is not used to begin with, check that explicitly in the constructor. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Heyi Guo <heyi.guo@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Nt32Pkg')
0 files changed, 0 insertions, 0 deletions