37#ifndef __ALT_CACHE_H__
38#define __ALT_CACHE_H__
115#ifndef ALT_CACHE_SUPPORT_NON_FLAT_VIRTUAL_MEMORY
116#define ALT_CACHE_SUPPORT_NON_FLAT_VIRTUAL_MEMORY (0)
122#define ALT_CACHE_LINE_SIZE 32
ALT_STATUS_CODE alt_cache_l1_prefetch_disable(void)
ALT_STATUS_CODE alt_cache_l1_disable_all(void)
bool alt_cache_l1_data_is_enabled(void)
bool alt_cache_l1_instruction_is_enabled(void)
bool alt_cache_l1_prefetch_is_enabled(void)
ALT_STATUS_CODE alt_cache_l1_instruction_enable(void)
ALT_STATUS_CODE alt_cache_l1_branch_enable(void)
ALT_STATUS_CODE alt_cache_l1_parity_enable(void)
ALT_STATUS_CODE alt_cache_l1_data_invalidate(void *vaddress, size_t length)
ALT_STATUS_CODE alt_cache_l1_parity_disable(void)
ALT_STATUS_CODE alt_cache_l1_data_invalidate_all(void)
ALT_STATUS_CODE alt_cache_l1_data_clean_all(void)
ALT_STATUS_CODE alt_cache_l1_instruction_disable(void)
ALT_STATUS_CODE alt_cache_l1_prefetch_enable(void)
ALT_STATUS_CODE alt_cache_l1_data_enable(void)
bool alt_cache_l1_branch_is_enabled(void)
ALT_STATUS_CODE alt_cache_l1_branch_invalidate(void)
ALT_STATUS_CODE alt_cache_l1_data_clean(void *vaddress, size_t length)
ALT_STATUS_CODE alt_cache_l1_data_purge_all(void)
bool alt_cache_l1_parity_is_enabled(void)
ALT_STATUS_CODE alt_cache_l1_instruction_invalidate(void)
ALT_STATUS_CODE alt_cache_l1_data_purge(void *vaddress, size_t length)
ALT_STATUS_CODE alt_cache_l1_data_disable(void)
ALT_STATUS_CODE alt_cache_l1_branch_disable(void)
ALT_STATUS_CODE alt_cache_l1_enable_all(void)
ALT_STATUS_CODE alt_cache_l2_parity_enable(void)
ALT_STATUS_CODE alt_cache_l2_clean_all(void)
ALT_STATUS_CODE alt_cache_l2_invalidate_all(void)
ALT_STATUS_CODE alt_cache_l2_prefetch_enable(void)
uint32_t alt_cache_l2_int_status_get(void)
ALT_STATUS_CODE alt_cache_l2_prefetch_disable(void)
ALT_STATUS_CODE alt_cache_l2_clean(void *paddress, size_t length)
bool alt_cache_l2_prefetch_is_enabled(void)
ALT_STATUS_CODE alt_cache_l2_purge(void *paddress, size_t length)
ALT_STATUS_CODE alt_cache_l2_purge_all(void)
ALT_STATUS_CODE alt_cache_l2_int_enable(uint32_t interrupt)
bool alt_cache_l2_is_enabled(void)
ALT_STATUS_CODE alt_cache_l2_uninit(void)
ALT_STATUS_CODE alt_cache_l2_parity_disable(void)
ALT_CACHE_L2_INTERRUPT_e
Definition: alt_cache.h:879
ALT_STATUS_CODE alt_cache_l2_invalidate(void *paddress, size_t length)
ALT_STATUS_CODE alt_cache_l2_init(void)
ALT_STATUS_CODE alt_cache_l2_enable(void)
ALT_STATUS_CODE alt_cache_l2_int_status_clear(uint32_t interrupt)
ALT_STATUS_CODE alt_cache_l2_disable(void)
ALT_STATUS_CODE alt_cache_l2_int_disable(uint32_t interrupt)
ALT_STATUS_CODE alt_cache_l2_sync(void)
bool alt_cache_l2_parity_is_enabled(void)
@ ALT_CACHE_L2_INTERRUPT_PARRD
Definition: alt_cache.h:899
@ ALT_CACHE_L2_INTERRUPT_ERRWD
Definition: alt_cache.h:893
@ ALT_CACHE_L2_INTERRUPT_ERRRD
Definition: alt_cache.h:887
@ ALT_CACHE_L2_INTERRUPT_ERRRT
Definition: alt_cache.h:890
@ ALT_CACHE_L2_INTERRUPT_PARRT
Definition: alt_cache.h:902
@ ALT_CACHE_L2_INTERRUPT_SLVERR
Definition: alt_cache.h:884
@ ALT_CACHE_L2_INTERRUPT_DECERR
Definition: alt_cache.h:881
@ ALT_CACHE_L2_INTERRUPT_ERRWT
Definition: alt_cache.h:896
@ ALT_CACHE_L2_INTERRUPT_ECNTR
Definition: alt_cache.h:905
ALT_STATUS_CODE alt_cache_system_disable(void)
ALT_STATUS_CODE alt_cache_system_invalidate(void *vaddress, size_t length)
ALT_STATUS_CODE alt_cache_system_enable(void)
ALT_STATUS_CODE alt_cache_system_purge(void *vaddress, size_t length)
ALT_STATUS_CODE alt_cache_system_clean(void *vaddress, size_t length)
int32_t ALT_STATUS_CODE
Definition: hwlib.h:60