Loading [MathJax]/extensions/MathMenu.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
OS.c File Reference

Functions

void EnableMetroTRKInterrupts (void)
 
void __OSInitMemoryProtection (void)
 
static void __OSInitFPRs (void)
 
static void OSExceptionInit (void)
 
void __OSEVStart (void)
 
void __OSEVEnd (void)
 
void __OSEVSetNumber (void)
 
void __OSExceptionVector (void)
 
void __DBVECTOR (void)
 
void __OSDBINTSTART (void)
 
void __OSDBINTEND (void)
 
void __OSDBJUMPSTART (void)
 
void __OSDBJUMPEND (void)
 
u32 __OSIsDebuggerPresent (void)
 
asm void __OSFPRInit (void)
 
static void DisableWriteGatherPipe (void)
 
u32 OSGetConsoleType (void)
 
static void ClearArena (void)
 
static void InquiryCallback (s32, DVDCommandBlock *block)
 
void OSInit (void)
 
static asm void __OSDBIntegrator (void)
 
static asm void __OSDBJump (void)
 
__OSExceptionHandler __OSSetExceptionHandler (__OSException exception, __OSExceptionHandler handler)
 
__OSExceptionHandler __OSGetExceptionHandler (__OSException exception)
 
static asm void OSExceptionVector (void)
 
void __OSUnhandledException (__OSException exception, OSContext *context, u32 dsisr, u32 dar)
 
asm void OSDefaultExceptionHandler (register __OSException exception, register OSContext *context)
 
void __OSPSInit (void)
 
u32 __OSGetDIConfig (void)
 
void OSRegisterVersion (const char *id)
 

Variables

const char * __OSVersion = "<< Dolphin SDK - OS\tdebug build: "BUILD_DATE" "DBUILD_TIME" (0x2301) >>"
 
static DVDDriveInfo DriveInfo
 
static DVDCommandBlock DriveBlock
 
OSExecParams __OSRebootParams
 
u32 __DVDLongFileNameFlag
 
u32 __PADSpec
 
u8 __ArenaLo []
 
char _stack_addr []
 
u8 __ArenaHi []
 
static OSBootInfoBootInfo
 
static u32BI2DebugFlag
 
static u32 BI2DebugFlagHolder
 
OSTime __OSStartTime
 
BOOL __OSInIPL
 
void(** OSExceptionTable )(u8, OSContext *)
 
BOOL AreWeInitialized
 
f32 ZeroPS [2]
 
f64 ZeroF
 
BOOL __OSIsGcam
 
static u32 __OSExceptionLocations []
 
char * __OSExceptionNames [17]
 

Function Documentation

◆ __DBVECTOR()

void __DBVECTOR ( void )

◆ __OSDBIntegrator()

static asm void __OSDBIntegrator ( void )
static

◆ __OSDBINTEND()

void __OSDBINTEND ( void )

◆ __OSDBINTSTART()

void __OSDBINTSTART ( void )

◆ __OSDBJump()

static asm void __OSDBJump ( void )
static

◆ __OSDBJUMPEND()

void __OSDBJUMPEND ( void )

◆ __OSDBJUMPSTART()

void __OSDBJUMPSTART ( void )

◆ __OSEVEnd()

void __OSEVEnd ( void )

◆ __OSEVSetNumber()

void __OSEVSetNumber ( void )

◆ __OSEVStart()

void __OSEVStart ( void )

◆ __OSExceptionVector()

void __OSExceptionVector ( void )

◆ __OSFPRInit()

asm void __OSFPRInit ( void )

◆ __OSGetDIConfig()

u32 __OSGetDIConfig ( void )

◆ __OSGetExceptionHandler()

__OSExceptionHandler __OSGetExceptionHandler ( __OSException exception)

◆ __OSInitFPRs()

static void __OSInitFPRs ( void )
static

◆ __OSInitMemoryProtection()

void __OSInitMemoryProtection ( void )
extern

◆ __OSIsDebuggerPresent()

u32 __OSIsDebuggerPresent ( void )

◆ __OSPSInit()

void __OSPSInit ( void )

◆ __OSSetExceptionHandler()

__OSExceptionHandler __OSSetExceptionHandler ( __OSException exception,
__OSExceptionHandler handler )

◆ __OSUnhandledException()

void __OSUnhandledException ( __OSException exception,
OSContext * context,
u32 dsisr,
u32 dar )

◆ ClearArena()

static void ClearArena ( void )
static

◆ DisableWriteGatherPipe()

static void DisableWriteGatherPipe ( void )
static

◆ EnableMetroTRKInterrupts()

void EnableMetroTRKInterrupts ( void )
extern

◆ InquiryCallback()

static void InquiryCallback ( s32 ,
DVDCommandBlock * block )
static

◆ OSDefaultExceptionHandler()

asm void OSDefaultExceptionHandler ( register __OSException exception,
register OSContext * context )

◆ OSExceptionInit()

static void OSExceptionInit ( void )
static

◆ OSExceptionVector()

static asm void OSExceptionVector ( void )
static

◆ OSGetConsoleType()

u32 OSGetConsoleType ( void )

◆ OSInit()

void OSInit ( void )

◆ OSRegisterVersion()

void OSRegisterVersion ( const char * id)

Variable Documentation

◆ __ArenaHi

u8 __ArenaHi[]
extern

◆ __ArenaLo

u8 __ArenaLo[]
extern

◆ __DVDLongFileNameFlag

u32 __DVDLongFileNameFlag
extern

◆ __OSExceptionLocations

u32 __OSExceptionLocations[]
static
Initial value:
= {
0x00000100, 0x00000200, 0x00000300, 0x00000400, 0x00000500, 0x00000600, 0x00000700, 0x00000800,
0x00000900, 0x00000C00, 0x00000D00, 0x00000F00, 0x00001300, 0x00001400, 0x00001700,
}

◆ __OSExceptionNames

char* __OSExceptionNames[17]
Initial value:
= {
"System reset",
"MachineCheck",
"DSI",
"ISI",
"External Int.",
"Alignment",
"Program",
"FP Unavailable",
"Decrementer",
"System call",
"Trace",
"Perf mon",
"IABR",
"SMI",
"Thermal Int.",
"Protection error",
"FP Exception",
}

◆ __OSInIPL

BOOL __OSInIPL

◆ __OSIsGcam

BOOL __OSIsGcam

◆ __OSRebootParams

OSExecParams __OSRebootParams

◆ __OSStartTime

OSTime __OSStartTime

◆ __OSVersion

const char * __OSVersion = "<< Dolphin SDK - OS\tdebug build: "BUILD_DATE" "DBUILD_TIME" (0x2301) >>"

◆ __PADSpec

u32 __PADSpec
extern

◆ _stack_addr

char _stack_addr[]
extern

◆ AreWeInitialized

BOOL AreWeInitialized

◆ BI2DebugFlag

u32* BI2DebugFlag
static

◆ BI2DebugFlagHolder

u32 BI2DebugFlagHolder
static

◆ BootInfo

OSBootInfo* BootInfo
static

◆ DriveBlock

DVDCommandBlock DriveBlock
static

◆ DriveInfo

DVDDriveInfo DriveInfo
static

◆ OSExceptionTable

void(** OSExceptionTable) (u8, OSContext *) ( u8 ,
OSContext *  )

◆ ZeroF

f64 ZeroF

◆ ZeroPS

f32 ZeroPS[2]