Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cache.h File Reference

Main header file for external cache controller driver API. More...

#include <stddef.h>

Go to the source code of this file.

Functions

void cache_data_enable (void)
 Enable the d-cache.
void cache_data_disable (void)
 Disable the d-cache.
int cache_data_flush_all (void)
 Flush the d-cache.
int cache_data_invd_all (void)
 Invalidate the d-cache.
int cache_data_flush_and_invd_all (void)
 Flush and Invalidate the d-cache.
int cache_data_flush_range (void *addr, size_t size)
 Flush an address range in the d-cache.
int cache_data_invd_range (void *addr, size_t size)
 Invalidate an address range in the d-cache.
int cache_data_flush_and_invd_range (void *addr, size_t size)
 Flush and Invalidate an address range in the d-cache.
size_t cache_data_line_size_get (void)
 Get the d-cache line size.
void cache_instr_enable (void)
 Enable the i-cache.
void cache_instr_disable (void)
 Disable the i-cache.
int cache_instr_flush_all (void)
 Flush the i-cache.
int cache_instr_invd_all (void)
 Invalidate the i-cache.
int cache_instr_flush_and_invd_all (void)
 Flush and Invalidate the i-cache.
int cache_instr_flush_range (void *addr, size_t size)
 Flush an address range in the i-cache.
int cache_instr_invd_range (void *addr, size_t size)
 Invalidate an address range in the i-cache.
int cache_instr_flush_and_invd_range (void *addr, size_t size)
 Flush and Invalidate an address range in the i-cache.
size_t cache_instr_line_size_get (void)
 Get the i-cache line size.

Detailed Description

Main header file for external cache controller driver API.