summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/ArmMmuLib/Arm
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2020-02-26 14:07:32 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-05 21:08:30 +0000
commita2ab46adbc6184248878eba3e3c479a3f253ba27 (patch)
tree74f054e6734d6dd66025ddb9adfbe6d166015d48 /ArmPkg/Library/ArmMmuLib/Arm
parent806d1be6a73acb1567812213500bc9bd01ff4767 (diff)
downloadedk2-a2ab46adbc6184248878eba3e3c479a3f253ba27.tar.gz
edk2-a2ab46adbc6184248878eba3e3c479a3f253ba27.tar.bz2
edk2-a2ab46adbc6184248878eba3e3c479a3f253ba27.zip
ArmPkg/ArmLib: ASSERT on set/way cache ops being used with MMU on
On ARMv7 and up, doing cache maintenance by set/way is only permitted in the context of on/offlining a core, and any other uses should be avoided. Add ASSERT()s in the right place to ensure that any uses with the MMU enabled are caught in DEBUG builds. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'ArmPkg/Library/ArmMmuLib/Arm')
0 files changed, 0 insertions, 0 deletions