62 #include <inc/hw_types.h>
63 #include <inc/hw_memmap.h>
64 #include <inc/hw_vims.h>
82 #ifndef DRIVERLIB_GENERATE_ROM
83 #define VIMSConfigure NOROM_VIMSConfigure
84 #define VIMSModeSet NOROM_VIMSModeSet
85 #define VIMSModeGet NOROM_VIMSModeGet
86 #define VIMSModeSetBlocking NOROM_VIMSModeSetBlocking
95 #define VIMS_MODE_INVALIDATE 0x4 // Cache RAM is being invalidated, will
98 #define VIMS_MODE_DISABLED 0x0 // Disabled mode.
99 #define VIMS_MODE_ENABLED 0x1 // Enabled mode, only USERCODE is cached.
100 #define VIMS_MODE_SPLIT 0x2 // Split mode, both USERCODE and SYSCODE
102 #define VIMS_MODE_OFF 0x3 // VIMS Cache RAM is off
110 #ifdef DRIVERLIB_DEBUG
124 VIMSBaseValid(uint32_t ui32Base)
153 extern void VIMSConfigure(uint32_t ui32Base,
bool bRoundRobin,
216 extern void VIMSModeSet(uint32_t ui32Base, uint32_t ui32Mode);
349 #ifndef DRIVERLIB_NOROM
351 #ifdef ROM_VIMSConfigure
353 #define VIMSConfigure ROM_VIMSConfigure
355 #ifdef ROM_VIMSModeSet
357 #define VIMSModeSet ROM_VIMSModeSet
359 #ifdef ROM_VIMSModeGet
361 #define VIMSModeGet ROM_VIMSModeGet
363 #ifdef ROM_VIMSModeSetBlocking
364 #undef VIMSModeSetBlocking
365 #define VIMSModeSetBlocking ROM_VIMSModeSetBlocking
void VIMSModeSet(uint32_t ui32Base, uint32_t ui32Mode)
Set the operational mode of the VIMS.
__STATIC_INLINE void VIMSLineBufDisable(uint32_t ui32Base)
Disable VIMS linebuffers.
__STATIC_INLINE void VIMSLineBufEnable(uint32_t ui32Base)
Enable VIMS linebuffers.
uint32_t VIMSModeGet(uint32_t ui32Base)
Get the current operational mode of the VIMS.
void VIMSModeSetBlocking(uint32_t ui32Mode)
Set the operational mode of the VIMS in a safe sequence (blocking).
void VIMSConfigure(uint32_t ui32Base, bool bRoundRobin, bool bPrefetch)
Configures the VIMS.