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 OSMEMORY_H
2
#define OSMEMORY_H
3
4
#include "
dolphin/os/OSInterrupt.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
static
void
MEMIntrruptHandler
(
__OSInterrupt
interrupt,
struct
OSContext
*
context
);
21
void
OSProtectRange
(
u32
channel,
void
* address,
u32
nBytes
,
u32
control);
22
static
void
Config24MB
(
void
);
23
static
void
Config48MB
(
void
);
24
static
void
RealMode
(
u32
config
);
25
void
__OSInitMemoryProtection
(
void
);
26
27
#ifdef __cplusplus
28
};
29
#endif
30
31
#endif
/* OSMEMORY_H */
context
static OSContext context
Definition
JUTException.cpp:233
OSInterrupt.h
__OSInterrupt
s16 __OSInterrupt
Definition
OSInterrupt.h:110
__OSInitMemoryProtection
void __OSInitMemoryProtection(void)
Definition
OSMemory.c:185
MEMIntrruptHandler
static void MEMIntrruptHandler(__OSInterrupt interrupt, struct OSContext *context)
RealMode
static void RealMode(u32 config)
Config24MB
static void Config24MB(void)
OSProtectRange
void OSProtectRange(u32 channel, void *address, u32 nBytes, u32 control)
Definition
OSMemory.c:39
Config48MB
static void Config48MB(void)
cLib_calcTimer
T cLib_calcTimer(T *value)
Definition
c_lib.h:74
OSContext
Definition
OSContext.h:137
u32
unsigned long u32
Definition
types.h:10
include
dolphin
os
OSMemory.h
Generated by
1.9.8