43 #define LC_BASEPREFIX 0xe000 44 #define LC_BASE (LC_BASEPREFIX<<16) 321 #define LCGetBase() ((void*)LC_BASE) void DCFlushRange(void *startaddress, u32 len)
Flushes a given range.
void LCEnable()
Definition: cache.c:44
void DCInvalidateRange(void *startaddress, u32 len)
Invalidates a given range of the d-cache.
void DCStoreRange(void *startaddress, u32 len)
Ensures a range of memory is updated with any modified data in the cache.
void ICFreeze()
Current contents of the L1 i-cache are locked down and will not be cast out.
GLenum GLsizei len
Definition: glext.h:7389
void LCLoadBlocks(void *, void *, u32)
void ICUnfreeze()
Undoes actions of ICFreeze().
void DCZeroRange(void *startaddress, u32 len)
Loads a range of memory into cache and zeroes all the cache lines.
void LCStoreBlocks(void *, void *, u32)
void DCFlashInvalidate()
Invalidate L1 d-cache.
u32 LCQueueLength()
Definition: cache.c:97
void ICEnable()
Enable L1 i-cache.
void LCAlloc(void *, u32)
Definition: cache.c:117
u32 LCLoadData(void *, void *, u32)
Definition: cache.c:53
void LCFlushQueue()
Definition: cache.c:110
void DCEnable()
Enable L1 d-cache.
void LCAllocTags(BOOL, void *, u32)
void ICFlashInvalidate()
Invalidate the L1 i-cache.
void DCUnfreeze()
Undoes actions of DCFreeze().
void DCFlushRangeNoSync(void *startaddress, u32 len)
Flushes a given range.
void LCAllocNoInvalidate(void *, u32)
Definition: cache.c:130
void ICInvalidateRange(void *startaddress, u32 len)
Invalidate a range in the L1 i-cache.
void ICSync()
Performs an instruction cache synchronization.
void DCTouchRange(void *startaddress, u32 len)
Loads a range of memory into cache.
void LCAllocOneTag(BOOL, void *)
void DCStoreRangeNoSync(void *startaddress, u32 len)
Ensures a range of memory is updated with any modified data in the cache.
void DCDisable()
Disable L1 d-cache.
unsigned int BOOL
Definition: gctypes.h:51
u32 LCQueueWait(u32)
Definition: cache.c:103
void DCFreeze()
Current contents of the L1 d-cache are locked down and will not be cast out.
void ICDisable()
Disable L1 i-cache.
void ICBlockInvalidate(void *startaddress)
Invalidates a block in the i-cache.
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
u32 LCStoreData(void *, void *, u32)
Definition: cache.c:75