libpayload arm64: Correct function names for tlb invalidation

Correct function names to make them consistent with depthcharge calling
convention

BUG=None
BRANCH=None
TEST=Compiles successfully for rush

Original-Change-Id: I0fd8f7f929c3fe268710362d1fc19f9e15c4a23b
Original-Signed-off-by: Furquan Shaikh <furquan@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/204423
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
(cherry picked from commit 36008e728b840d85bb98225c7bb1420b993181de)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I4b446da8f2c273385ee885c4870966e18ba2a7a6
Reviewed-on: http://review.coreboot.org/8122
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Furquan Shaikh 2014-06-17 17:07:27 -07:00 committed by Marc Jones
parent 2d60fb61f9
commit 69db293aed
2 changed files with 6 additions and 6 deletions

View File

@ -101,17 +101,17 @@ static void dcache_op_va(void const *addr, size_t len, enum dcache_op op)
isb(); 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); 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); 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); dcache_op_va(addr, len, OP_DCIVAC);
} }

View File

@ -209,13 +209,13 @@ static inline void write_sctlr_el3(uint32_t val)
void dcache_clean_invalidate_all(void); void dcache_clean_invalidate_all(void);
/* dcache clean by virtual address to PoC */ /* 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 */ /* 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 */ /* 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); void dcache_clean_all(void);