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

Go to the source code of this file.

Functions

u32 __OSIsDebuggerPresent (void)
 
void __OSPSInit (void)
 
void __OSInitAudioSystem (void)
 
void __OSStopAudioSystem (void)
 
void __OSCacheInit (void)
 
void __OSContextInit (void)
 
void __OSUnhandledException (__OSException exception, OSContext *context, u32 dsisr, u32 dar)
 
void __OSGetExecParams (OSExecParams *params)
 
void __OSSetExecParams (const OSExecParams *params, OSExecParams *addr)
 
void __OSBootDolSimple (u32 doloffset, u32 restartCode, void *regionStart, void *regionEnd, BOOL argsUseDefault, s32 argc, char **argv)
 
void __OSBootDol (u32 doloffset, u32 restartCode, const char **argv)
 
void __RAS_OSDisableInterrupts_begin (void)
 
void __RAS_OSDisableInterrupts_end (void)
 
__OSInterruptHandler __OSSetInterruptHandler (__OSInterrupt interrupt, __OSInterruptHandler handler)
 
__OSInterruptHandler __OSGetInterruptHandler (__OSInterrupt interrupt)
 
void __OSInterruptInit (void)
 
OSInterruptMask __OSMaskInterrupts (OSInterruptMask global)
 
OSInterruptMask __OSUnmaskInterrupts (OSInterruptMask global)
 
void __OSDispatchInterrupt (__OSException exception, OSContext *context)
 
void __OSModuleInit (void)
 
void __OSInitMemoryProtection (void)
 
void __OSUnlockAllMutex (OSThread *thread)
 
int __OSCheckDeadLock (OSThread *thread)
 
int __OSCheckMutexes (OSThread *thread)
 
void __OSDoHotReset (u32 resetCode)
 
void __OSShutdownDevices (BOOL doRecal)
 
int __OSCallResetFunctions (BOOL final)
 
void __OSResetSWInterruptHandler (s16 exception, OSContext *context)
 
void __OSSetResetButtonTimer (u8 min)
 
int __OSGetRTC (u32 *rtc)
 
int __OSSetRTC (u32 rtc)
 
void __OSInitSram (void)
 
OSSram__OSLockSram (void)
 
OSSramEx__OSLockSramEx (void)
 
int __OSUnlockSram (BOOL commit)
 
int __OSUnlockSramEx (BOOL commit)
 
int __OSSyncSram (void)
 
int __OSCheckSram (void)
 
int __OSReadROM (void *buffer, s32 length, s32 offset)
 
int __OSReadROMAsync (void *buffer, s32 length, s32 offset, void(*callback)())
 
u8 __OSGetBootMode (void)
 
void __OSSetBootMode (u8 ntd)
 
void __OSSystemCallVectorStart ()
 
void __OSSystemCallVectorEnd ()
 
void __OSInitSystemCall (void)
 
void __OSThreadInit (void)
 
s32 __OSGetEffectivePriority (OSThread *thread)
 
void __OSPromoteThread (OSThread *thread, s32 priority)
 
void __OSReschedule (void)
 
void __OSSetTime (OSTime time)
 
OSTime __OSGetSystemTime ()
 
void __OSSetTick (register OSTick newTicks)
 
OSTime __OSTimeToSystemTime (OSTime time)
 
 __declspec (section ".init") asm void __init_hardware(void)
 
void __init_user (void)
 
void _ExitProcess (void)
 
 __declspec (weak) void InitMetroTRK_BBA()
 
OSTime __get_clock (void)
 
u32 __get_time (void)
 
int __to_gm_time (void)
 

Variables

char * __OSExceptionNames [17]
 
volatile int __OSCurrHeap
 
u64 __OSSpuriousInterrupts
 
char * __OSInterruptNames [33]
 
char * __OSPIErrors [8]
 
unsigned int size
 
const void * src
 

Function Documentation

◆ __declspec() [1/2]

__declspec ( section ".init" )

◆ __declspec() [2/2]

__declspec ( weak )

UDP_Stubs.c Description:

◆ __get_clock()

OSTime __get_clock ( void )

◆ __get_time()

u32 __get_time ( void )

◆ __init_user()

void __init_user ( void )

◆ __OSBootDol()

void __OSBootDol ( u32 doloffset,
u32 restartCode,
const char ** argv )

◆ __OSBootDolSimple()

void __OSBootDolSimple ( u32 doloffset,
u32 restartCode,
void * regionStart,
void * regionEnd,
BOOL argsUseDefault,
s32 argc,
char ** argv )

◆ __OSCacheInit()

void __OSCacheInit ( void )

◆ __OSCallResetFunctions()

int __OSCallResetFunctions ( BOOL final)

◆ __OSCheckDeadLock()

int __OSCheckDeadLock ( OSThread * thread)

◆ __OSCheckMutexes()

int __OSCheckMutexes ( OSThread * thread)

◆ __OSCheckSram()

int __OSCheckSram ( void )

◆ __OSContextInit()

void __OSContextInit ( void )

◆ __OSDispatchInterrupt()

void __OSDispatchInterrupt ( __OSException exception,
OSContext * context )

◆ __OSDoHotReset()

void __OSDoHotReset ( u32 resetCode)

◆ __OSGetBootMode()

u8 __OSGetBootMode ( void )

◆ __OSGetEffectivePriority()

s32 __OSGetEffectivePriority ( OSThread * thread)

◆ __OSGetExecParams()

void __OSGetExecParams ( OSExecParams * params)

◆ __OSGetInterruptHandler()

__OSInterruptHandler __OSGetInterruptHandler ( __OSInterrupt interrupt)

◆ __OSGetRTC()

int __OSGetRTC ( u32 * rtc)

◆ __OSGetSystemTime()

OSTime __OSGetSystemTime ( )

◆ __OSInitAudioSystem()

void __OSInitAudioSystem ( void )

◆ __OSInitMemoryProtection()

void __OSInitMemoryProtection ( void )

◆ __OSInitSram()

void __OSInitSram ( void )

◆ __OSInitSystemCall()

void __OSInitSystemCall ( void )

◆ __OSInterruptInit()

void __OSInterruptInit ( void )

◆ __OSIsDebuggerPresent()

u32 __OSIsDebuggerPresent ( void )

◆ __OSLockSram()

OSSram * __OSLockSram ( void )

◆ __OSLockSramEx()

OSSramEx * __OSLockSramEx ( void )

◆ __OSMaskInterrupts()

OSInterruptMask __OSMaskInterrupts ( OSInterruptMask global)

◆ __OSModuleInit()

void __OSModuleInit ( void )

◆ __OSPromoteThread()

void __OSPromoteThread ( OSThread * thread,
s32 priority )

◆ __OSPSInit()

void __OSPSInit ( void )

◆ __OSReadROM()

int __OSReadROM ( void * buffer,
s32 length,
s32 offset )

◆ __OSReadROMAsync()

int __OSReadROMAsync ( void * buffer,
s32 length,
s32 offset,
void(* callback )() )

◆ __OSReschedule()

void __OSReschedule ( void )

◆ __OSResetSWInterruptHandler()

void __OSResetSWInterruptHandler ( s16 exception,
OSContext * context )

◆ __OSSetBootMode()

void __OSSetBootMode ( u8 ntd)

◆ __OSSetExecParams()

void __OSSetExecParams ( const OSExecParams * params,
OSExecParams * addr )

◆ __OSSetInterruptHandler()

__OSInterruptHandler __OSSetInterruptHandler ( __OSInterrupt interrupt,
__OSInterruptHandler handler )

◆ __OSSetResetButtonTimer()

void __OSSetResetButtonTimer ( u8 min)

◆ __OSSetRTC()

int __OSSetRTC ( u32 rtc)

◆ __OSSetTick()

void __OSSetTick ( register OSTick newTicks)

◆ __OSSetTime()

void __OSSetTime ( OSTime time)

◆ __OSShutdownDevices()

void __OSShutdownDevices ( BOOL doRecal)

◆ __OSStopAudioSystem()

void __OSStopAudioSystem ( void )

◆ __OSSyncSram()

int __OSSyncSram ( void )

◆ __OSSystemCallVectorEnd()

void __OSSystemCallVectorEnd ( )
extern

◆ __OSSystemCallVectorStart()

void __OSSystemCallVectorStart ( )
extern

◆ __OSThreadInit()

void __OSThreadInit ( void )

◆ __OSTimeToSystemTime()

OSTime __OSTimeToSystemTime ( OSTime time)

◆ __OSUnhandledException()

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

◆ __OSUnlockAllMutex()

void __OSUnlockAllMutex ( OSThread * thread)

◆ __OSUnlockSram()

int __OSUnlockSram ( BOOL commit)

◆ __OSUnlockSramEx()

int __OSUnlockSramEx ( BOOL commit)

◆ __OSUnmaskInterrupts()

OSInterruptMask __OSUnmaskInterrupts ( OSInterruptMask global)

◆ __RAS_OSDisableInterrupts_begin()

void __RAS_OSDisableInterrupts_begin ( void )
extern

◆ __RAS_OSDisableInterrupts_end()

void __RAS_OSDisableInterrupts_end ( void )
extern

◆ __to_gm_time()

int __to_gm_time ( void )

◆ _ExitProcess()

void _ExitProcess ( void )

Variable Documentation

◆ __OSCurrHeap

volatile int __OSCurrHeap
extern

◆ __OSExceptionNames

char* __OSExceptionNames[17]
extern

◆ __OSInterruptNames

char* __OSInterruptNames[33]
extern

◆ __OSPIErrors

char* __OSPIErrors[8]
extern

◆ __OSSpuriousInterrupts

u64 __OSSpuriousInterrupts
extern

◆ size

u32 size

◆ src

const void* src