64 #include <inc/hw_types.h>
65 #include <inc/hw_memmap.h>
66 #include <inc/hw_vims.h>
83 #define VIMSConfigure NOROM_VIMSConfigure
84 #define VIMSModeSet NOROM_VIMSModeSet
85 #define VIMSModeGet NOROM_VIMSModeGet
86 #define VIMSModeSetBlocking NOROM_VIMSModeSetBlocking
95 #define VIMS_MODE_CHANGING 0x4 // VIMS mode is changing now and VIMS_MODE
97 #define VIMS_MODE_DISABLED 0x0 // Disabled mode.
98 #define VIMS_MODE_ENABLED 0x1 // Enabled mode, only USERCODE is cached.
99 #define VIMS_MODE_SPLIT 0x2 // Split mode, both USERCODE and SYSCODE
101 #define VIMS_MODE_OFF 0x3 // VIMS Cache RAM is off
109 #ifdef DRIVERLIB_DEBUG
123 VIMSBaseValid(uint32_t ui32Base)
152 extern void VIMSConfigure(uint32_t ui32Base,
bool bRoundRobin,
214 extern void VIMSModeSet(uint32_t ui32Base, uint32_t ui32Mode);
350 #if !defined(DRIVERLIB_NOROM) && !defined(DOXYGEN)
352 #ifdef ROM_VIMSConfigure
354 #define VIMSConfigure ROM_VIMSConfigure
356 #ifdef ROM_VIMSModeSet
358 #define VIMSModeSet ROM_VIMSModeSet
360 #ifdef ROM_VIMSModeGet
362 #define VIMSModeGet ROM_VIMSModeGet
364 #ifdef ROM_VIMSModeSetBlocking
365 #undef VIMSModeSetBlocking
366 #define VIMSModeSetBlocking ROM_VIMSModeSetBlocking
void VIMSModeSet(uint32_t ui32Base, uint32_t ui32Mode)
Set the operational mode of the VIMS.
uint32_t VIMSModeGet(uint32_t ui32Base)
Get the current operational mode of the VIMS.
static void VIMSLineBufDisable(uint32_t ui32Base)
Disable VIMS linebuffers.
static void VIMSLineBufEnable(uint32_t ui32Base)
Enable VIMS linebuffers.
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.