#include <stdbool.h>
#include <stdint.h>
#include "../inc/hw_types.h"
#include "../inc/hw_memmap.h"
#include "../inc/hw_vims.h"
#include "debug.h"
Macros | |
#define | VIMS_MODE_CHANGING 0x4 |
#define | VIMS_MODE_DISABLED (VIMS_CTL_MODE_GPRAM) |
#define | VIMS_MODE_ENABLED (VIMS_CTL_MODE_CACHE) |
#define | VIMS_MODE_OFF (VIMS_CTL_MODE_OFF) |
Functions | |
void | VIMSConfigure (uint32_t ui32Base, bool bRoundRobin, bool bPrefetch) |
Configures the VIMS. More... | |
void | VIMSModeSet (uint32_t ui32Base, uint32_t ui32Mode) |
Set the operational mode of the VIMS. More... | |
uint32_t | VIMSModeGet (uint32_t ui32Base) |
Get the current operational mode of the VIMS. More... | |
void | VIMSModeSafeSet (uint32_t ui32Base, uint32_t ui32NewMode, bool blocking) |
Set the operational mode of the VIMS in a safe sequence. More... | |
static void | VIMSLineBufDisable (uint32_t ui32Base) |
Disable VIMS linebuffers. More... | |
static void | VIMSLineBufEnable (uint32_t ui32Base) |
Enable VIMS linebuffers. More... | |