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__
5
#include <
revolution/os/OSError.h
>
6
#else
7
#include <
dolphin/os/OSContext.h
>
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
typedef
u16
OSError
;
14
typedef
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
33
OSErrorHandler
OSSetErrorHandler
(
OSError
error,
OSErrorHandler
handler);
34
extern
u32
__OSFpscrEnableBits
;
35
extern
OSErrorHandler
__OSErrorTable
[17];
36
37
#ifdef __cplusplus
38
}
39
#endif
40
41
#endif
42
#endif
context
static OSContext context
Definition
JUTException.cpp:157
OSContext.h
OSError
u16 OSError
Definition
OSError.h:13
OSSetErrorHandler
OSErrorHandler OSSetErrorHandler(OSError error, OSErrorHandler handler)
Definition
OSError.c:42
u32
unsigned long u32
Definition
types.h:12
u16
unsigned short int u16
Definition
types.h:10
OSError.h
__OSErrorTable
OSErrorHandler __OSErrorTable[17]
Definition
OSError.c:7
OSErrorHandler
void(* OSErrorHandler)(OSError error, OSContext *context,...)
Definition
OSError.h:11
__OSFpscrEnableBits
u32 __OSFpscrEnableBits
Definition
OSError.c:10
OSContext
Definition
OSContext.h:140
include
dolphin
os
OSError.h
Generated by
1.12.0