summaryrefslogtreecommitdiff
path: root/ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.c')
-rw-r--r--ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.c b/ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.c
index b339c50d25..0dd453003c 100644
--- a/ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.c
+++ b/ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.c
@@ -68,8 +68,8 @@ InvalidateInstructionCacheRange (
IN UINTN Length
)
{
- CacheRangeOperation(Address, Length, ArmCleanDataCache, ArmCleanDataCacheEntryByMVA);
- ArmInvalidateInstructionCache();
+ CacheRangeOperation (Address, Length, ArmCleanDataCacheToPoU, ArmCleanDataCacheEntryByMVA);
+ ArmInvalidateInstructionCache ();
return Address;
}