Loading [MathJax]/extensions/MathMenu.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
o
p
q
r
s
t
u
w
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
o
p
q
r
s
t
u
w
Variables
a
b
c
d
e
f
g
h
j
l
m
p
s
w
Typedefs
Enumerations
Enumerator
c
e
o
t
u
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
i
j
m
o
p
r
s
t
u
v
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
▼
Twilight Princess
►
About
►
Topics
►
Namespaces
►
Classes
▼
Files
▼
File List
►
docs
▼
include
►
c
►
d
▼
dolphin
►
amc
►
base
►
charPipeline
►
db
►
demo
►
gd
►
gf
►
gx
▼
os
►
OSAlarm.h
►
OSAlloc.h
►
OSCache.h
►
OSContext.h
►
OSDC.h
►
OSError.h
►
OSException.h
►
OSExec.h
►
OSFont.h
►
OSIC.h
►
OSInterrupt.h
►
OSL2.h
►
OSLC.h
►
OSMemory.h
►
OSMessage.h
►
OSModule.h
►
OSMutex.h
►
OSReboot.h
►
OSReset.h
►
OSResetSW.h
►
OSRtc.h
►
OSSemaphore.h
OSSerial.h
►
OSThread.h
OSTime.h
►
OSTimer.h
►
OSUtf.h
►
vi
►
ai.h
►
am.h
►
ar.h
►
ax.h
►
axart.h
►
axfx.h
►
card.h
►
db.h
►
demo.h
dolphin.h
►
dsp.h
►
dtk.h
►
dvd.h
►
exi.h
►
fake_tgmath.h
►
G2D.h
gd.h
gf.h
►
gx.h
►
hio.h
►
hw_regs.h
►
mcc.h
►
mix.h
►
mtx.h
►
os.h
►
pad.h
►
perf.h
►
seq.h
►
si.h
►
sp.h
►
syn.h
►
types.h
vi.h
►
f_ap
►
f_op
►
f_pc
►
JSystem
►
m_Do
►
REL
►
SSystem
►
TRK_MINNOW_DOLPHIN
►
Z2AudioLib
dol2asm.h
►
DynamicLink.h
►
global.h
►
src
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
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
#include <
dolphin/types.h
>
5
6
#ifdef __cplusplus
7
extern
"C"
{
8
#endif
9
10
#define OS_PROTECT_CHAN0 0
11
#define OS_PROTECT_CHAN1 1
12
#define OS_PROTECT_CHAN2 2
13
#define OS_PROTECT_CHAN3 3
14
15
#define OS_PROTECT_CONTROL_NONE 0x00
16
#define OS_PROTECT_CONTROL_READ 0x01
17
#define OS_PROTECT_CONTROL_WRITE 0x02
18
#define OS_PROTECT_CONTROL_RDWR (OS_PROTECT_CONTROL_READ | OS_PROTECT_CONTROL_WRITE)
19
20
void
OSProtectRange
(
u32
chan,
void
* addr,
u32
nBytes,
u32
control);
21
u32
OSGetPhysicalMemSize
(
void
);
22
u32
OSGetConsoleSimulatedMemSize
(
void
);
23
24
#ifdef __cplusplus
25
}
26
#endif
27
28
#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:9
include
dolphin
os
OSMemory.h
Generated by
1.12.0