42#define CPU_CACHE_BLOCK_SIZE 32
141 __asm__ __volatile__(
"pref @%0\n"
154#define dcache_wback_sq(ptr) dcache_pref_block(ptr)
164 __asm__ __volatile__ (
"movca.l r0, @%0\n\t"
166 :
"r" (src),
"z" (value)
void dcache_inval_range(uintptr_t start, size_t count)
Invalidate the data/operand cache.
void dcache_purge_all(void)
Purge all the data/operand cache.
void icache_flush_range(uintptr_t start, size_t count)
Flush the instruction cache.
static __always_inline void dcache_pref_block(const void *src)
Prefetch one block to the data/operand cache.
Definition cache.h:140
void dcache_purge_range(uintptr_t start, size_t count)
Purge the data/operand cache.
void dcache_flush_all(void)
Flush all the data/operand cache.
void dcache_purge_all_with_buffer(uintptr_t start, size_t count)
Purge all the data/operand cache with buffer.
static __always_inline void dcache_alloc_block(const void *src, uint32_t value)
Allocate one block of the data/operand cache.
Definition cache.h:163
void dcache_flush_range(uintptr_t start, size_t count)
Flush the data/operand cache.
#define __always_inline
Ask the compiler to always inline a given function.
Definition cdefs.h:159