wut  v1.7.0
Wii U Toolchain
Functions
cache.h File Reference
#include <wut.h>
Include dependency graph for cache.h:

Go to the source code of this file.

Functions

void DCInvalidateRange (void *addr, uint32_t size)
 Invalidates a range of cached data, in blocks. More...
 
void DCFlushRange (void *addr, uint32_t size)
 Flushes a range of cached data, in blocks. More...
 
void DCStoreRange (void *addr, uint32_t size)
 Stores a range of cached data, in blocks. More...
 
void DCFlushRangeNoSync (void *addr, uint32_t size)
 Similar to DCFlushRange, though this function will not run PowerPC sync and eieio instructions after flushing. More...
 
void DCStoreRangeNoSync (void *addr, uint32_t size)
 Similar to DCStoreRange, though this function will not run PowerPC sync and eieio instructions after storing. More...
 
void DCZeroRange (void *addr, uint32_t size)
 Zeroes the given area of the data cache (to the nearest block) with a loop of PowerPC dcbz instructions. More...
 
void DCTouchRange (void *addr, uint32_t size)
 Gives the processor a hint that the given range of memory is likely to be accessed soon, and that performance would be improved if it were cached. More...
 
void ICInvalidateRange (void *addr, uint32_t size)
 Invalidates a range of cached instructions, in blocks. More...
 
void OSMemoryBarrier ()