Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
os.h File Reference

Go to the source code of this file.

Classes

struct  OSBootInfo
 
struct  BI2Debug
 
struct  GLOBAL_MEMORY
 

Typedefs

typedef void(* OSExceptionHandler) (__OSException, OSContext *)
 
typedef struct OSBootInfo OSBootInfo
 
typedef struct BI2Debug BI2Debug
 

Functions

void OSReportInit (void)
 
void OSSwitchFiberEx (u32, u32, u32, u32, u32, u32)
 
void OSVAttention (const char *fmt, va_list args)
 
volatile u16 __OSDeviceCode AT_ADDRESS (0x800030E6)
 
volatile u32 OS_PI_INTR_CAUSE AT_ADDRESS (0xCC003000)
 
volatile u32 OS_PI_INTR_MASK AT_ADDRESS (0xCC003004)
 
volatile u16 OS_MI_INTR_MASK AT_ADDRESS (0xCC00401C)
 
volatile u16 OS_DSP_DMA_ADDR_HI AT_ADDRESS (0xCC005030)
 
volatile u16 OS_DSP_DMA_ADDR_LO AT_ADDRESS (0xCC005032)
 
volatile u16 OS_DSP_INTR_MASK AT_ADDRESS (0xCC00500A)
 
volatile u16 OS_ARAM_DMA_ADDR_HI AT_ADDRESS (0xCC005020)
 
volatile u16 OS_ARAM_DMA_ADDR_LO AT_ADDRESS (0xCC005022)
 
BOOL OSIsThreadSuspended (OSThread *thread)
 
u32 OSGetConsoleType (void)
 
void OSAttention (const char *msg,...)
 
void OSPanic (const char *file, s32 line, const char *fmt,...)
 
void OSReport (char *fmt,...)
 
void OSReport_Error (const char *fmt,...)
 
void OSReport_FatalError (const char *fmt,...)
 
void OSReport_System (const char *fmt,...)
 
void OSReport_Warning (const char *fmt,...)
 
void OSReportDisable (void)
 
void OSReportEnable (void)
 
void OSReportForceEnableOff (void)
 
void OSReportForceEnableOn (void)
 
void OSVReport (const char *format, va_list list)
 
void OSReportInit__Fv (void)
 
u8OSGetStackPointer (void)
 
void __OSFPRInit (void)
 
static void InquiryCallback (s32 param_0, DVDCommandBlock *param_1)
 
void OSInit (void)
 
static void OSExceptionInit (void)
 
void __OSDBIntegrator (void)
 
void __OSDBJump (void)
 
OSExceptionHandler __OSSetExceptionHandler (__OSException exception, OSExceptionHandler handler)
 
OSExceptionHandler __OSGetExceptionHandler (__OSException exception)
 
static void OSExceptionVector (void)
 
void __DBVECTOR ()
 
void __OSEVSetNumber ()
 
void __OSEVEnd ()
 
static void OSDefaultExceptionHandler (__OSException exception, OSContext *context)
 
void __OSPSInit (void)
 
u32 __OSGetDIConfig (void)
 
void OSRegisterVersion (const char *version)
 
s16 __OSf32tos16 (register f32 inF)
 
void OSf32tos16 (f32 *f, s16 *out)
 
u8 __OSf32tou8 (register f32 inF)
 
void OSf32tou8 (f32 *f, u8 *out)
 
static void OSInitFastCast (void)
 

Variables

u8 __OSReport_disable
 
u8 __OSReport_Error_disable
 
u8 __OSReport_Warning_disable
 
u8 __OSReport_System_disable
 
u8 __OSReport_enable
 
BOOL __OSIsGcam
 
OSTime __OSStartTime
 
BOOL __OSInIPL
 

Typedef Documentation

◆ BI2Debug

◆ OSBootInfo

◆ OSExceptionHandler

typedef void(* OSExceptionHandler) (__OSException, OSContext *)

Function Documentation

◆ __DBVECTOR()

void __DBVECTOR ( )

◆ __OSDBIntegrator()

void __OSDBIntegrator ( void  )

◆ __OSDBJump()

void __OSDBJump ( void  )

◆ __OSEVEnd()

void __OSEVEnd ( )

◆ __OSEVSetNumber()

void __OSEVSetNumber ( )

◆ __OSf32tos16()

s16 __OSf32tos16 ( register f32  inF)
inline

◆ __OSf32tou8()

u8 __OSf32tou8 ( register f32  inF)
inline

◆ __OSFPRInit()

void __OSFPRInit ( void  )

◆ __OSGetDIConfig()

u32 __OSGetDIConfig ( void  )

◆ __OSGetExceptionHandler()

OSExceptionHandler __OSGetExceptionHandler ( __OSException  exception)

◆ __OSPSInit()

void __OSPSInit ( void  )

◆ __OSSetExceptionHandler()

OSExceptionHandler __OSSetExceptionHandler ( __OSException  exception,
OSExceptionHandler  handler 
)

◆ AT_ADDRESS() [1/9]

volatile u16 __OSDeviceCode AT_ADDRESS ( 0x800030E6  )

◆ AT_ADDRESS() [2/9]

volatile u32 OS_PI_INTR_CAUSE AT_ADDRESS ( 0xCC003000  )

◆ AT_ADDRESS() [3/9]

volatile u32 OS_PI_INTR_MASK AT_ADDRESS ( 0xCC003004  )

◆ AT_ADDRESS() [4/9]

volatile u16 OS_MI_INTR_MASK AT_ADDRESS ( 0xCC00401C  )

◆ AT_ADDRESS() [5/9]

volatile u16 OS_DSP_INTR_MASK AT_ADDRESS ( 0xCC00500A  )

◆ AT_ADDRESS() [6/9]

volatile u16 OS_ARAM_DMA_ADDR_HI AT_ADDRESS ( 0xCC005020  )

◆ AT_ADDRESS() [7/9]

volatile u16 OS_ARAM_DMA_ADDR_LO AT_ADDRESS ( 0xCC005022  )

◆ AT_ADDRESS() [8/9]

volatile u16 OS_DSP_DMA_ADDR_HI AT_ADDRESS ( 0xCC005030  )

◆ AT_ADDRESS() [9/9]

volatile u16 OS_DSP_DMA_ADDR_LO AT_ADDRESS ( 0xCC005032  )

◆ InquiryCallback()

static void InquiryCallback ( s32  param_0,
DVDCommandBlock param_1 
)
static

◆ OSAttention()

void OSAttention ( const char msg,
  ... 
)

◆ OSDefaultExceptionHandler()

static void OSDefaultExceptionHandler ( __OSException  exception,
OSContext context 
)
static

◆ OSExceptionInit()

static void OSExceptionInit ( void  )
static

◆ OSExceptionVector()

static void OSExceptionVector ( void  )
static

◆ OSf32tos16()

void OSf32tos16 ( f32 f,
s16 out 
)
inline

◆ OSf32tou8()

void OSf32tou8 ( f32 f,
u8 out 
)
inline

◆ OSGetConsoleType()

u32 OSGetConsoleType ( void  )

◆ OSGetStackPointer()

u8 * OSGetStackPointer ( void  )

◆ OSInit()

void OSInit ( void  )

◆ OSInitFastCast()

static void OSInitFastCast ( void  )
inlinestatic

◆ OSIsThreadSuspended()

BOOL OSIsThreadSuspended ( OSThread thread)

◆ OSPanic()

void OSPanic ( const char file,
s32  line,
const char fmt,
  ... 
)

◆ OSRegisterVersion()

void OSRegisterVersion ( const char version)

◆ OSReport()

void OSReport ( char fmt,
  ... 
)

◆ OSReport_Error()

void OSReport_Error ( const char fmt,
  ... 
)

◆ OSReport_FatalError()

void OSReport_FatalError ( const char fmt,
  ... 
)

◆ OSReport_System()

void OSReport_System ( const char fmt,
  ... 
)

◆ OSReport_Warning()

void OSReport_Warning ( const char fmt,
  ... 
)

◆ OSReportDisable()

void OSReportDisable ( void  )

◆ OSReportEnable()

void OSReportEnable ( void  )

◆ OSReportForceEnableOff()

void OSReportForceEnableOff ( void  )

◆ OSReportForceEnableOn()

void OSReportForceEnableOn ( void  )

◆ OSReportInit()

void OSReportInit ( void  )

◆ OSReportInit__Fv()

void OSReportInit__Fv ( void  )

◆ OSSwitchFiberEx()

void OSSwitchFiberEx ( u32  param_0,
u32  param_1,
u32  param_2,
u32  param_3,
u32  param_4,
u32  param_5 
)

◆ OSVAttention()

void OSVAttention ( const char fmt,
va_list  args 
)

◆ OSVReport()

void OSVReport ( const char format,
va_list  list 
)

Variable Documentation

◆ __OSInIPL

BOOL __OSInIPL
extern

◆ __OSIsGcam

BOOL __OSIsGcam
extern

◆ __OSReport_disable

u8 __OSReport_disable
extern

m_Do_printf.cpp OSReport and printf Helper Functions

◆ __OSReport_enable

u8 __OSReport_enable
extern

◆ __OSReport_Error_disable

u8 __OSReport_Error_disable
extern

◆ __OSReport_System_disable

u8 __OSReport_System_disable
extern

◆ __OSReport_Warning_disable

u8 __OSReport_Warning_disable
extern

◆ __OSStartTime

OSTime __OSStartTime
extern