wut  v1.7.0
Wii U Toolchain
cache.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
46 void
47 DCInvalidateRange(void *addr,
48  uint32_t size);
49 
68 void
69 DCFlushRange(void *addr,
70  uint32_t size);
71 
91 void
92 DCStoreRange(void *addr,
93  uint32_t size);
94 
109 void
111  uint32_t size);
112 
127 void
129  uint32_t size);
130 
131 
150 void
151 DCZeroRange(void *addr,
152  uint32_t size);
153 
154 
168 void
169 DCTouchRange(void *addr,
170  uint32_t size);
171 
172 
191 void
192 ICInvalidateRange(void *addr,
193  uint32_t size);
194 
195 void
197 
198 #ifdef __cplusplus
199 }
200 #endif
201 
void DCFlushRange(void *addr, uint32_t size)
Flushes a range of cached data, in blocks.
void ICInvalidateRange(void *addr, uint32_t size)
Invalidates a range of cached instructions, in blocks.
void DCTouchRange(void *addr, uint32_t size)
Gives the processor a hint that the given range of memory is likely to be accessed soon,...
void OSMemoryBarrier()
void DCInvalidateRange(void *addr, uint32_t size)
Invalidates a range of cached data, in blocks.
void DCStoreRange(void *addr, uint32_t size)
Stores a range of cached data, in blocks.
void DCFlushRangeNoSync(void *addr, uint32_t size)
Similar to DCFlushRange, though this function will not run PowerPC sync and eieio instructions after ...
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 instructio...
void DCStoreRangeNoSync(void *addr, uint32_t size)
Similar to DCStoreRange, though this function will not run PowerPC sync and eieio instructions after ...