This API group provides functions for cache maintenance on the entire cache.
ALT_STATUS_CODE alt_cache_l1_data_invalidate_all |
( |
void |
| ) |
|
Invalidates the entire contents of the L1 data cache on the current CPU core.
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |
ALT_STATUS_CODE alt_cache_l1_data_clean_all |
( |
void |
| ) |
|
Cleans the entire L1 data cache for the current CPU core.
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |
ALT_STATUS_CODE alt_cache_l1_data_purge_all |
( |
void |
| ) |
|
Cleans and invalidates the entire L1 data cache for the current CPU core.
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |
ALT_STATUS_CODE alt_cache_lx_data_invalidate_all |
( |
void |
| ) |
|
Invalidates the entire contents of the L1 data cache on the current CPU core and the shared L2 cache.
Normally this is done automatically as part of alt_cache_cpu_data_enable(), but in certain circumstances it may be necessary to invalidate it manually. An example of this situation is when the address space is remapped and the processor accesses memory from the new memory area.
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |
ALT_STATUS_CODE alt_cache_lx_data_clean_all |
( |
void |
| ) |
|
Cleans the entire L1 data cache for the current CPU core and the shared L2 cache.
Normally this is done automatically as part of alt_cache_l1_data_disable(), but in certain circumstances it may be necessary to purged it manually. An example of this situation is when the address space is remapped and the processor accesses memory from the new memory area.
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |
ALT_STATUS_CODE alt_cache_lx_data_purge_all |
( |
void |
| ) |
|
Cleans and invalidates the entire L1 data cache for the current CPU core and the shared L2 cache.
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |