summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/arm64/armv8/cache.c6
-rw-r--r--src/arch/arm64/include/armv8/arch/cache.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/arm64/armv8/cache.c b/src/arch/arm64/armv8/cache.c
index 918a883303..97822ffdbd 100644
--- a/src/arch/arm64/armv8/cache.c
+++ b/src/arch/arm64/armv8/cache.c
@@ -101,17 +101,17 @@ static void dcache_op_va(void const *addr, size_t len, enum dcache_op op)
isb();
}
-void dcache_clean_by_va(void const *addr, size_t len)
+void dcache_clean_by_mva(void const *addr, size_t len)
{
dcache_op_va(addr, len, OP_DCCVAC);
}
-void dcache_clean_invalidate_by_va(void const *addr, size_t len)
+void dcache_clean_invalidate_by_mva(void const *addr, size_t len)
{
dcache_op_va(addr, len, OP_DCCIVAC);
}
-void dcache_invalidate_by_va(void const *addr, size_t len)
+void dcache_invalidate_by_mva(void const *addr, size_t len)
{
dcache_op_va(addr, len, OP_DCIVAC);
}
diff --git a/src/arch/arm64/include/armv8/arch/cache.h b/src/arch/arm64/include/armv8/arch/cache.h
index 977edbaeff..2d4201198a 100644
--- a/src/arch/arm64/include/armv8/arch/cache.h
+++ b/src/arch/arm64/include/armv8/arch/cache.h
@@ -59,13 +59,13 @@
/* dcache clean by virtual address to PoC */
-void dcache_clean_by_va(void const *addr, size_t len);
+void dcache_clean_by_mva(void const *addr, size_t len);
/* dcache clean and invalidate by virtual address to PoC */
-void dcache_clean_invalidate_by_va(void const *addr, size_t len);
+void dcache_clean_invalidate_by_mva(void const *addr, size_t len);
/* dcache invalidate by virtual address to PoC */
-void dcache_invalidate_by_va(void const *addr, size_t len);
+void dcache_invalidate_by_mva(void const *addr, size_t len);
/* dcache invalidate all */
void flush_dcache_all(void);