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

Go to the source code of this file.

Typedefs

typedef struct OSContext OSContext
 
typedef u16 OSError
 
typedef u8 __OSException
 
typedef void(* OSErrorHandler) (OSError error, OSContext *context, u32, u32)
 
typedef void(* OSErrorHandlerEx) (OSError error, OSContext *context, u32, u32,...)
 

Enumerations

enum  OSException {
  EXCEPTION_SYSTEM_RESET , EXCEPTION_MACHINE_CHECK , EXCEPTION_DSI , EXCEPTION_ISI ,
  EXCEPTION_EXTERNAL_INTERRUPT , EXCEPTION_ALIGNMENT , EXCEPTION_PROGRAM , EXCEPTION_FLOATING_POINT ,
  EXCEPTION_DECREMENTER , EXCEPTION_SYSTEM_CALL , EXCEPTION_TRACE , EXCEPTION_PERFORMANCE_MONITOR ,
  EXCEPTION_BREAKPOINT , EXCEPTION_RESERVED , EXCEPTION_THERMAL_INTERRUPT , EXCEPTION_MEMORY_PROTECTION ,
  EXCEPTION_FLOATING_POINT_EXCEPTION
}
 

Functions

OSErrorHandler OSSetErrorHandler (OSError error, OSErrorHandler handler)
 
void __OSUnhandledException (__OSException exception, OSContext *context, u32 dsisr, u32 dar)
 

Variables

u32 __OSFpscrEnableBits
 

Typedef Documentation

◆ __OSException

◆ OSContext

◆ OSError

◆ OSErrorHandler

typedef void(* OSErrorHandler) (OSError error, OSContext *context, u32, u32)

◆ OSErrorHandlerEx

typedef void(* OSErrorHandlerEx) (OSError error, OSContext *context, u32, u32,...)

Enumeration Type Documentation

◆ OSException

Enumerator
EXCEPTION_SYSTEM_RESET 
EXCEPTION_MACHINE_CHECK 
EXCEPTION_DSI 
EXCEPTION_ISI 
EXCEPTION_EXTERNAL_INTERRUPT 
EXCEPTION_ALIGNMENT 
EXCEPTION_PROGRAM 
EXCEPTION_FLOATING_POINT 
EXCEPTION_DECREMENTER 
EXCEPTION_SYSTEM_CALL 
EXCEPTION_TRACE 
EXCEPTION_PERFORMANCE_MONITOR 
EXCEPTION_BREAKPOINT 
EXCEPTION_RESERVED 
EXCEPTION_THERMAL_INTERRUPT 
EXCEPTION_MEMORY_PROTECTION 
EXCEPTION_FLOATING_POINT_EXCEPTION 

Function Documentation

◆ __OSUnhandledException()

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

◆ OSSetErrorHandler()

OSErrorHandler OSSetErrorHandler ( OSError  error,
OSErrorHandler  handler 
)

Variable Documentation

◆ __OSFpscrEnableBits

u32 __OSFpscrEnableBits
extern