52#define SQ_MASK_DEST_ADDR(dest) \
53 (MEM_AREA_SQ_BASE | ((uintptr_t)(dest) & 0x03ffffe0))
58#define SQ_MASK_DEST(dest) \
59 ((uint32_t *)(void *) SQ_MASK_DEST_ADDR(dest))
114#define sq_flush(dest) dcache_wback_sq(dest)
134void *
sq_cpy(
void *dest,
const void *src,
size_t n);
174void *
sq_set(
void *dest, uint32_t c,
size_t n);
Cache management functionality.
void * sq_fast_cpy(void *dest, const void *src, size_t n)
Copy a block of memory.
void * sq_set(void *dest, uint32_t c, size_t n)
Set a block of memory to an 8-bit value.
void sq_wait(void)
Wait for both Store Queues to complete.
void * sq_set16(void *dest, uint32_t c, size_t n)
Set a block of memory to a 16-bit value.
void * sq_set32(void *dest, uint32_t c, size_t n)
Set a block of memory to a 32-bit value.
void sq_unlock(void)
Unlock Store Queues.
void * sq_cpy(void *dest, const void *src, size_t n)
Copy a block of memory.
uint32_t * sq_lock(void *dest)
Lock Store Queues.
void sq_clr(void *dest, size_t n)
Clear a block of memory.
Constants for areas of the system memory map.