wut  v1.7.0
Wii U Toolchain
Typedefs | Enumerations | Functions
Exception Handling
Collaboration diagram for Exception Handling:

Typedefs

typedef BOOL(* OSExceptionCallbackFn) (OSContext *context)
 
typedef enum OSExceptionMode OSExceptionMode
 
typedef enum OSExceptionType OSExceptionType
 

Enumerations

enum  OSExceptionMode {
  OS_EXCEPTION_MODE_SYSTEM = 0 ,
  OS_EXCEPTION_MODE_THREAD = 1 ,
  OS_EXCEPTION_MODE_GLOBAL = 2 ,
  OS_EXCEPTION_MODE_THREAD_ALL_CORES = 3 ,
  OS_EXCEPTION_MODE_GLOBAL_ALL_CORES = 4
}
 
enum  OSExceptionType {
  OS_EXCEPTION_TYPE_SYSTEM_RESET = 0 ,
  OS_EXCEPTION_TYPE_MACHINE_CHECK = 1 ,
  OS_EXCEPTION_TYPE_DSI = 2 ,
  OS_EXCEPTION_TYPE_ISI = 3 ,
  OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT = 4 ,
  OS_EXCEPTION_TYPE_ALIGNMENT = 5 ,
  OS_EXCEPTION_TYPE_PROGRAM = 6 ,
  OS_EXCEPTION_TYPE_FLOATING_POINT = 7 ,
  OS_EXCEPTION_TYPE_DECREMENTER = 8 ,
  OS_EXCEPTION_TYPE_SYSTEM_CALL = 9 ,
  OS_EXCEPTION_TYPE_TRACE = 10 ,
  OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR = 11 ,
  OS_EXCEPTION_TYPE_BREAKPOINT = 12 ,
  OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT = 13 ,
  OS_EXCEPTION_TYPE_ICI = 14
}
 

Functions

OSExceptionCallbackFn OSSetExceptionCallback (OSExceptionType exceptionType, OSExceptionCallbackFn callback)
 
OSExceptionCallbackFn OSSetExceptionCallbackEx (OSExceptionMode mode, OSExceptionType exceptionType, OSExceptionCallbackFn callback)
 

Detailed Description

Typedef Documentation

◆ OSExceptionCallbackFn

typedef BOOL(* OSExceptionCallbackFn) (OSContext *context)

Definition at line 15 of file exception.h.

◆ OSExceptionMode

◆ OSExceptionType

Enumeration Type Documentation

◆ OSExceptionMode

Enumerator
OS_EXCEPTION_MODE_SYSTEM 
OS_EXCEPTION_MODE_THREAD 
OS_EXCEPTION_MODE_GLOBAL 
OS_EXCEPTION_MODE_THREAD_ALL_CORES 
OS_EXCEPTION_MODE_GLOBAL_ALL_CORES 

Definition at line 17 of file exception.h.

◆ OSExceptionType

Enumerator
OS_EXCEPTION_TYPE_SYSTEM_RESET 
OS_EXCEPTION_TYPE_MACHINE_CHECK 
OS_EXCEPTION_TYPE_DSI 
OS_EXCEPTION_TYPE_ISI 
OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT 
OS_EXCEPTION_TYPE_ALIGNMENT 
OS_EXCEPTION_TYPE_PROGRAM 
OS_EXCEPTION_TYPE_FLOATING_POINT 
OS_EXCEPTION_TYPE_DECREMENTER 
OS_EXCEPTION_TYPE_SYSTEM_CALL 
OS_EXCEPTION_TYPE_TRACE 
OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR 
OS_EXCEPTION_TYPE_BREAKPOINT 
OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT 
OS_EXCEPTION_TYPE_ICI 

Definition at line 26 of file exception.h.

Function Documentation

◆ OSSetExceptionCallback()

OSExceptionCallbackFn OSSetExceptionCallback ( OSExceptionType  exceptionType,
OSExceptionCallbackFn  callback 
)

◆ OSSetExceptionCallbackEx()

OSExceptionCallbackFn OSSetExceptionCallbackEx ( OSExceptionMode  mode,
OSExceptionType  exceptionType,
OSExceptionCallbackFn  callback 
)