Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
OSMemory.h
Go to the documentation of this file.
1
#ifndef _DOLPHIN_OSMEMORY_H_
2
#define _DOLPHIN_OSMEMORY_H_
3
4
#ifdef __REVOLUTION_SDK__
5
#include <
revolution/os/OSMemory.h
>
6
#else
7
#include <
dolphin/types.h
>
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
#define OS_PROTECT_CHAN0 0
14
#define OS_PROTECT_CHAN1 1
15
#define OS_PROTECT_CHAN2 2
16
#define OS_PROTECT_CHAN3 3
17
18
#define OS_PROTECT_CONTROL_NONE 0x00
19
#define OS_PROTECT_CONTROL_READ 0x01
20
#define OS_PROTECT_CONTROL_WRITE 0x02
21
#define OS_PROTECT_CONTROL_RDWR (OS_PROTECT_CONTROL_READ | OS_PROTECT_CONTROL_WRITE)
22
23
void
OSProtectRange
(
u32
chan,
void
* addr,
u32
nBytes,
u32
control);
24
u32
OSGetPhysicalMemSize
(
void
);
25
u32
OSGetConsoleSimulatedMemSize
(
void
);
26
27
#ifdef __cplusplus
28
}
29
#endif
30
31
#endif
32
#endif
OSGetConsoleSimulatedMemSize
u32 OSGetConsoleSimulatedMemSize(void)
Definition
OSMemory.c:29
OSGetPhysicalMemSize
u32 OSGetPhysicalMemSize(void)
Definition
OSMemory.c:19
OSProtectRange
void OSProtectRange(u32 chan, void *addr, u32 nBytes, u32 control)
Definition
OSMemory.c:65
types.h
u32
unsigned long u32
Definition
types.h:12
OSMemory.h
include
dolphin
os
OSMemory.h
Generated by
1.12.0