NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
OSCache.h
1
#ifndef RVL_SDK_OS_CACHE_H
2
#define RVL_SDK_OS_CACHE_H
3
#include <types.h>
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#define OS_CACHE_BASE 0xE0000000
9
10
// Forward declarations
11
typedef
struct
OSContext
OSContext
;
12
13
void
DCEnable(
void
);
14
void
DCInvalidateRange(
const
void
* buf, u32 len);
15
void
DCFlushRange(
const
void
* buf, u32 len);
16
void
DCStoreRange(
const
void
* buf, u32 len);
17
void
DCFlushRangeNoSync(
const
void
* buf, u32 len);
18
void
DCStoreRangeNoSync(
const
void
* buf, u32 len);
19
void
DCZeroRange(
const
void
* buf, u32 len);
20
21
void
ICInvalidateRange(
const
void
* buf, u32 len);
22
void
ICFlashInvalidate(
void
);
23
void
ICEnable(
void
);
24
25
void
LCEnable(
void
);
26
void
LCDisable(
void
);
27
void
LCLoadBlocks(
void
* dst,
const
void
* src, u32 blocks);
28
void
LCStoreBlocks(
void
* dst,
const
void
* src, u32 blocks);
29
u32 LCStoreData(
void
* dst,
const
void
* src, u32 len);
30
u32 LCQueueLength(
void
);
31
void
LCQueueWait(u32 n);
32
33
void
L2Enable(
void
);
34
void
L2Disable(
void
);
35
void
L2GlobalInvalidate(
void
);
36
37
void
DMAErrorHandler(u8 error,
OSContext
* ctx, u32 dsisr, u32 dar, ...);
38
39
void
__OSCacheInit(
void
);
40
41
#ifdef __cplusplus
42
}
43
#endif
44
#endif
OSContext
Definition
OSContext.h:12
include
lib
revolution
OS
OSCache.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2