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
OSError.h
Go to the documentation of this file.
1#ifndef _DOLPHIN_OSERROR_H_
2#define _DOLPHIN_OSERROR_H_
3
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef u16 OSError;
11typedef void (*OSErrorHandler)(OSError error, OSContext* context, ...);
12
13#define OS_ERROR_SYSTEM_RESET 0
14#define OS_ERROR_MACHINE_CHECK 1
15#define OS_ERROR_DSI 2
16#define OS_ERROR_ISI 3
17#define OS_ERROR_EXTERNAL_INTERRUPT 4
18#define OS_ERROR_ALIGNMENT 5
19#define OS_ERROR_PROGRAM 6
20#define OS_ERROR_FLOATING_POINT 7
21#define OS_ERROR_DECREMENTER 8
22#define OS_ERROR_SYSTEM_CALL 9
23#define OS_ERROR_TRACE 10
24#define OS_ERROR_PERFORMACE_MONITOR 11
25#define OS_ERROR_BREAKPOINT 12
26#define OS_ERROR_SYSTEM_INTERRUPT 13
27#define OS_ERROR_THERMAL_INTERRUPT 14
28#define OS_ERROR_MAX (OS_ERROR_THERMAL_INTERRUPT + 1)
29
33
34#ifdef __cplusplus
35}
36#endif
37
38#endif
static OSContext context
Definition JUTException.cpp:181
OSErrorHandler __OSErrorTable[17]
Definition OSError.c:7
u16 OSError
Definition OSError.h:10
void(* OSErrorHandler)(OSError error, OSContext *context,...)
Definition OSError.h:11
u32 __OSFpscrEnableBits
Definition OSError.c:10
OSErrorHandler OSSetErrorHandler(OSError error, OSErrorHandler handler)
Definition OSError.c:42
Definition OSContext.h:137
unsigned long u32
Definition types.h:9
unsigned short int u16
Definition types.h:7