summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/arch/arm64/cache.c6
-rw-r--r--payloads/libpayload/include/arm64/arch/cache.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/payloads/libpayload/arch/arm64/cache.c b/payloads/libpayload/arch/arm64/cache.c
index f6faafa31d..05d6fb20ca 100644
--- a/payloads/libpayload/arch/arm64/cache.c
+++ b/payloads/libpayload/arch/arm64/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/payloads/libpayload/include/arm64/arch/cache.h b/payloads/libpayload/include/arm64/arch/cache.h
index d1fc1aa987..2d3175e871 100644
--- a/payloads/libpayload/include/arm64/arch/cache.h
+++ b/payloads/libpayload/include/arm64/arch/cache.h
@@ -209,13 +209,13 @@ static inline void write_sctlr_el3(uint32_t val)
void dcache_clean_invalidate_all(void);
/* 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);
void dcache_clean_all(void);