diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2020-02-26 14:07:32 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-03-05 21:08:30 +0000 |
commit | a2ab46adbc6184248878eba3e3c479a3f253ba27 (patch) | |
tree | 74f054e6734d6dd66025ddb9adfbe6d166015d48 /BaseTools/Source/Python/sitecustomize.py | |
parent | 806d1be6a73acb1567812213500bc9bd01ff4767 (diff) | |
download | edk2-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 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions