SSBM Decomp
Loading...
Searching...
No Matches
OSCache.c File Reference

Macros

#define MSR_IR   0x00000020
 
#define MSR_DR   0x00000010
 
#define L2CR_L2E   0x80000000
 
#define L2CR_L2I   0x00200000
 
#define SRR1_DMA_BIT   0x00200000
 
#define HID0_ICE   0x00008000
 
#define HID0_DCE   0x00004000
 
#define HID2_DCHERR   0x00800000
 
#define HID2_DNCERR   0x00400000
 
#define HID2_DCMERR   0x00200000
 
#define HID2_DQOERR   0x00100000
 

Functions

void DCEnable (void)
 
void DCInvalidateRange (void *addr, size_t nbytes)
 
void DCFlushRange (void *addr, size_t nbytes)
 
void DCStoreRange (void *addr, size_t nbytes)
 
void DCFlushRangeNoSync (void *addr, size_t nbytes)
 
void DCZeroRange (void *addr, size_t nbytes)
 
void ICInvalidateRange (void *addr, size_t nbytes)
 
void ICFlashInvalidate (void)
 
void ICEnable (void)
 
void __LCEnable (void)
 
void LCEnable (void)
 
void LCDisable (void)
 
void LCStoreBlocks (void *dst, void *src, u32 nblocks)
 
u32 LCStoreData (void *destAddr, void *srcAddr, u32 nBytes)
 
void LCQueueWait (u32 len)
 
void DBPrintf (const char *fmt,...)
 
static void L2Disable (void)
 
void L2GlobalInvalidate (void)
 
static void L2Init (void)
 
void L2Enable (void)
 
static void DMAErrorHandler (OSError error, OSContext *context,...)
 
void __OSCacheInit (void)
 

Variables

char lbl_80401BF0 []
 

Macro Definition Documentation

◆ MSR_IR

#define MSR_IR   0x00000020

◆ MSR_DR

#define MSR_DR   0x00000010

◆ L2CR_L2E

#define L2CR_L2E   0x80000000

◆ L2CR_L2I

#define L2CR_L2I   0x00200000

◆ SRR1_DMA_BIT

#define SRR1_DMA_BIT   0x00200000

◆ HID0_ICE

#define HID0_ICE   0x00008000

◆ HID0_DCE

#define HID0_DCE   0x00004000

◆ HID2_DCHERR

#define HID2_DCHERR   0x00800000

◆ HID2_DNCERR

#define HID2_DNCERR   0x00400000

◆ HID2_DCMERR

#define HID2_DCMERR   0x00200000

◆ HID2_DQOERR

#define HID2_DQOERR   0x00100000

Function Documentation

◆ DCEnable()

void DCEnable ( void  )

◆ DCInvalidateRange()

void DCInvalidateRange ( void *  addr,
size_t  nbytes 
)

◆ DCFlushRange()

void DCFlushRange ( void *  addr,
size_t  nbytes 
)

◆ DCStoreRange()

void DCStoreRange ( void *  addr,
size_t  nbytes 
)

◆ DCFlushRangeNoSync()

void DCFlushRangeNoSync ( void *  addr,
size_t  nbytes 
)

◆ DCZeroRange()

void DCZeroRange ( void *  addr,
size_t  nbytes 
)

◆ ICInvalidateRange()

void ICInvalidateRange ( void *  addr,
size_t  nbytes 
)

◆ ICFlashInvalidate()

void ICFlashInvalidate ( void  )

◆ ICEnable()

void ICEnable ( void  )

◆ __LCEnable()

void __LCEnable ( void  )

◆ LCEnable()

void LCEnable ( void  )

◆ LCDisable()

void LCDisable ( void  )

◆ LCStoreBlocks()

void LCStoreBlocks ( void *  dst,
void *  src,
u32  nblocks 
)

◆ LCStoreData()

u32 LCStoreData ( void *  destAddr,
void *  srcAddr,
u32  nBytes 
)

◆ LCQueueWait()

void LCQueueWait ( u32  len)

◆ DBPrintf()

void DBPrintf ( const char *  fmt,
  ... 
)

◆ L2Disable()

static void L2Disable ( void  )
static

◆ L2GlobalInvalidate()

void L2GlobalInvalidate ( void  )

◆ L2Init()

static void L2Init ( void  )
static

◆ L2Enable()

void L2Enable ( void  )

◆ DMAErrorHandler()

static void DMAErrorHandler ( OSError  error,
OSContext context,
  ... 
)
static

◆ __OSCacheInit()

void __OSCacheInit ( void  )

Variable Documentation

◆ lbl_80401BF0

char lbl_80401BF0[]
extern