|
xWRL6432 MMWAVE-L-SDK
05.04.00.01
|
|
Go to the documentation of this file.
57 #define CacheP_CACHELINE_ALIGNMENT (128U)
62 #define CacheP_TYPE_L1P (0x0001U)
63 #define CacheP_TYPE_L1D (0x0002U)
64 #define CacheP_TYPE_L2P (0x0004U)
65 #define CacheP_TYPE_L2D (0x0008U)
66 #define CacheP_TYPE_L1 (CacheP_TYPE_L1P|CacheP_TYPE_L1D)
67 #define CacheP_TYPE_L2 (CacheP_TYPE_L2P|CacheP_TYPE_L2D)
68 #define CacheP_TYPE_ALLP (CacheP_TYPE_L1P|CacheP_TYPE_L2P)
69 #define CacheP_TYPE_ALLD (CacheP_TYPE_L1D|CacheP_TYPE_L2D)
70 #define CacheP_TYPE_ALL (((CacheP_TYPE_L1P)|(CacheP_TYPE_L1D))|((CacheP_TYPE_L2P)|(CacheP_TYPE_L2D)))
75 typedef struct CacheP_Config_ {
127 void CacheP_wb(
void *addr, uint32_t size, uint32_t type);
void CacheP_enable(uint32_t type)
Cache enable.
void CacheP_disable(uint32_t type)
Cache disable.
uint32_t enableForceWrThru
Definition: CacheP.h:78
Cache config structure, this used by SysConfig and not to be used by end-users directly.
Definition: CacheP.h:75
void CacheP_wbAll(uint32_t type)
Cache writeback for full cache.
void CacheP_wbInvAll(uint32_t type)
Cache writeback and invalidate for full cache.
uint32_t CacheP_getEnabled()
Get cache enabled bits.
void CacheP_init()
Initialize Cache sub-system, called by SysConfig, not to be called by end users.
void CacheP_wbInv(void *addr, uint32_t size, uint32_t type)
Cache writeback and invalidate for a specified region.
void CacheP_inv(void *addr, uint32_t size, uint32_t type)
Cache invalidate for a specified region.
uint32_t enable
Definition: CacheP.h:77
CacheP_Config gCacheConfig
Externally defined Cache configuration.
void CacheP_wb(void *addr, uint32_t size, uint32_t type)
Cache writeback for a specified region.