summaryrefslogtreecommitdiff
path: root/include/SDK/OS/OSCache.h
blob: 73dcc94497e54770f407dd472e89c84b834cf3e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef POKEREVO_OSCACHE_H
#define POKEREVO_OSCACHE_H

#ifdef __cplusplus
extern "C" {
#endif

void DCFlushRange(void* startAddr, u32 nBytes);
void DCInvalidateRange(void* startAddr, u32 nBytes);
void LCEnable(void);
#define LC_BASE (0xE000 << 16)
#define LCGetBase() ((void*)LC_BASE)


#ifdef __cplusplus
}
#endif

#endif //POKEREVO_OSCACHE_H