summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2020-02-26 10:07:37 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-05 21:08:30 +0000
commitf9ec8e51d28b52dca9aa5a3aa75c7112f4cf6b73 (patch)
treefaa3f17cab750d9e27cad26f0d738c27991ffa4a /ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h
parent3391e20ffa3fc4cb34d4b19c28922f7e7b0edf45 (diff)
downloadedk2-f9ec8e51d28b52dca9aa5a3aa75c7112f4cf6b73.tar.gz
edk2-f9ec8e51d28b52dca9aa5a3aa75c7112f4cf6b73.tar.bz2
edk2-f9ec8e51d28b52dca9aa5a3aa75c7112f4cf6b73.zip
ArmPkg/ArmLib: move set/way helper functions into private header
The clean/invalidate helper functions that operate on a single cache line identified by set, way and level in a special, architected format are only used by the implementations of the clean/invalidate routines that operate on the entire cache hierarchy, as exposed by ArmLib. The latter routines will be deprecated soon, so move the helpers out of ArmLib.h and into a private header so they are safe from abuse. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h')
-rw-r--r--ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h b/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h
index c52fb9a1b4..93183e6723 100644
--- a/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h
+++ b/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h
@@ -30,5 +30,23 @@ ArmV7AllDataCachesOperation (
IN ARM_V7_CACHE_OPERATION DataCacheOperation
);
+VOID
+EFIAPI
+ArmInvalidateDataCacheEntryBySetWay (
+ IN UINTN SetWayFormat
+ );
+
+VOID
+EFIAPI
+ArmCleanDataCacheEntryBySetWay (
+ IN UINTN SetWayFormat
+ );
+
+VOID
+EFIAPI
+ArmCleanInvalidateDataCacheEntryBySetWay (
+ IN UINTN SetWayFormat
+ );
+
#endif // __ARM_V7_LIB_H__