Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
OSError.h
Go to the documentation of this file.
1#ifndef _DOLPHIN_OSERROR_H_
2#define _DOLPHIN_OSERROR_H_
3
4#ifdef __REVOLUTION_SDK__
6#else
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef u16 OSError;
14typedef void (*OSErrorHandler)(OSError error, OSContext* context, ...);
15
16#define OS_ERROR_SYSTEM_RESET 0
17#define OS_ERROR_MACHINE_CHECK 1
18#define OS_ERROR_DSI 2
19#define OS_ERROR_ISI 3
20#define OS_ERROR_EXTERNAL_INTERRUPT 4
21#define OS_ERROR_ALIGNMENT 5
22#define OS_ERROR_PROGRAM 6
23#define OS_ERROR_FLOATING_POINT 7
24#define OS_ERROR_DECREMENTER 8
25#define OS_ERROR_SYSTEM_CALL 9
26#define OS_ERROR_TRACE 10
27#define OS_ERROR_PERFORMACE_MONITOR 11
28#define OS_ERROR_BREAKPOINT 12
29#define OS_ERROR_SYSTEM_INTERRUPT 13
30#define OS_ERROR_THERMAL_INTERRUPT 14
31#define OS_ERROR_MAX (OS_ERROR_THERMAL_INTERRUPT + 1)
32
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif
42#endif
static OSContext context
Definition JUTException.cpp:157
u16 OSError
Definition OSError.h:13
OSErrorHandler OSSetErrorHandler(OSError error, OSErrorHandler handler)
Definition OSError.c:42
unsigned long u32
Definition types.h:12
unsigned short int u16
Definition types.h:10
OSErrorHandler __OSErrorTable[17]
Definition OSError.c:7
void(* OSErrorHandler)(OSError error, OSContext *context,...)
Definition OSError.h:11
u32 __OSFpscrEnableBits
Definition OSError.c:10
Definition OSContext.h:140