Zephyr API Documentation
3.5.0
A Scalable Open Source RTOS
|
|
3.5.0 |
cache API interface More...
Go to the source code of this file.
Functions | |
static ALWAYS_INLINE void | sys_cache_data_enable (void) |
Enable the d-cache. | |
static ALWAYS_INLINE void | sys_cache_data_disable (void) |
Disable the d-cache. | |
static ALWAYS_INLINE void | sys_cache_instr_enable (void) |
Enable the i-cache. | |
static ALWAYS_INLINE void | sys_cache_instr_disable (void) |
Disable the i-cache. | |
static ALWAYS_INLINE int | sys_cache_data_flush_all (void) |
Flush the d-cache. | |
static ALWAYS_INLINE int | sys_cache_instr_flush_all (void) |
Flush the i-cache. | |
static ALWAYS_INLINE int | sys_cache_data_invd_all (void) |
Invalidate the d-cache. | |
static ALWAYS_INLINE int | sys_cache_instr_invd_all (void) |
Invalidate the i-cache. | |
static ALWAYS_INLINE int | sys_cache_data_flush_and_invd_all (void) |
Flush and Invalidate the d-cache. | |
static ALWAYS_INLINE int | sys_cache_instr_flush_and_invd_all (void) |
Flush and Invalidate the i-cache. | |
int | sys_cache_data_flush_range (void *addr, size_t size) |
Flush an address range in the d-cache. | |
static ALWAYS_INLINE int | sys_cache_instr_flush_range (void *addr, size_t size) |
Flush an address range in the i-cache. | |
int | sys_cache_data_invd_range (void *addr, size_t size) |
Invalidate an address range in the d-cache. | |
static ALWAYS_INLINE int | sys_cache_instr_invd_range (void *addr, size_t size) |
Invalidate an address range in the i-cache. | |
int | sys_cache_data_flush_and_invd_range (void *addr, size_t size) |
Flush and Invalidate an address range in the d-cache. | |
static ALWAYS_INLINE int | sys_cache_instr_flush_and_invd_range (void *addr, size_t size) |
Flush and Invalidate an address range in the i-cache. | |
static ALWAYS_INLINE size_t | sys_cache_data_line_size_get (void) |
Get the the d-cache line size. | |
static ALWAYS_INLINE size_t | sys_cache_instr_line_size_get (void) |
Get the the i-cache line size. | |
cache API interface