RetroArch
cache.h
Go to the documentation of this file.
1 #pragma once
2 #include <wiiu/types.h>
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 void DCInvalidateRange(void *addr, uint32_t size); /* Equivalent to dcbi instruction. */
9 void DCFlushRange(void *addr, uint32_t size); /* Equivalent to dcbf, sync, eieio. */
10 void DCStoreRange(void *addr, uint32_t size); /* Equivalent to dcbst, sync, eieio. */
11 void DCFlushRangeNoSync(void *addr, uint32_t size); /* Equivalent to dcbf. Does not perform sync, eieio like DCFlushRange. */
12 void DCStoreRangeNoSync(void *addr, uint32_t size); /* Equivalent to dcbst. Does not perform sync, eieio like DCStoreRange. */
13 void DCZeroRange(void *addr, uint32_t size); /* Equivalent to dcbz instruction. */
14 void DCTouchRange(void *addr, uint32_t size); /* Equivalent to dcbt instruction. */
15 void ICInvalidateRange(void *addr, uint32_t size); /* Equivalent to icbi instruction. */
16 
17 #ifdef __cplusplus
18 }
19 #endif
void DCFlushRange(void *startaddress, u32 len)
Flushes a given range.
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.
GLsizeiptr size
Definition: glext.h:6559
void DCZeroRange(void *startaddress, u32 len)
Loads a range of memory into cache and zeroes all the cache lines.
GLenum const GLvoid * addr
Definition: glext.h:10528
void DCFlushRangeNoSync(void *startaddress, u32 len)
Flushes a given range.
void ICInvalidateRange(void *startaddress, u32 len)
Invalidate a range in the L1 i-cache.
void DCTouchRange(void *startaddress, u32 len)
Loads a range of memory into cache.
void DCStoreRangeNoSync(void *startaddress, u32 len)
Ensures a range of memory is updated with any modified data in the cache.
unsigned int uint32_t
Definition: stdint.h:126