WUT
0.1
Wii U Toolchain
Main Page
Modules
Data Structures
Files
File List
Globals
include
coreinit
exception.h
Go to the documentation of this file.
1
#pragma once
2
#include <
wut.h
>
3
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
typedef
uint32_t
OSExceptionType
;
15
typedef
BOOL
(*
OSExceptionCallbackFn
)(
OSContext
*context);
16
17
enum
OSExceptionType
18
{
19
OS_EXCEPTION_TYPE_SYSTEM_RESET
= 0,
20
OS_EXCEPTION_TYPE_MACHINE_CHECK
= 1,
21
OS_EXCEPTION_TYPE_DSI
= 2,
22
OS_EXCEPTION_TYPE_ISI
= 3,
23
OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT
= 4,
24
OS_EXCEPTION_TYPE_ALIGNMENT
= 5,
25
OS_EXCEPTION_TYPE_PROGRAM
= 6,
26
OS_EXCEPTION_TYPE_FLOATING_POINT
= 7,
27
OS_EXCEPTION_TYPE_DECREMENTER
= 8,
28
OS_EXCEPTION_TYPE_SYSTEM_CALL
= 9,
29
OS_EXCEPTION_TYPE_TRACE
= 10,
30
OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR
= 11,
31
OS_EXCEPTION_TYPE_BREAKPOINT
= 12,
32
OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT
= 13,
33
OS_EXCEPTION_TYPE_ICI
= 14,
34
};
35
36
OSExceptionCallbackFn
37
OSSetExceptionCallback
(OSExceptionType exceptionType,
38
OSExceptionCallbackFn
callback);
39
40
OSExceptionCallbackFn
41
OSSetExceptionCallbackEx
(UNKNOWN_ARG,
42
OSExceptionType exceptionType,
43
OSExceptionCallbackFn
callback);
44
45
#ifdef __cplusplus
46
}
47
#endif
48
OS_EXCEPTION_TYPE_DECREMENTER
Definition:
exception.h:27
OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT
Definition:
exception.h:32
OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT
Definition:
exception.h:23
OSContext
Definition:
thread.h:58
OS_EXCEPTION_TYPE_TRACE
Definition:
exception.h:29
OS_EXCEPTION_TYPE_ICI
Definition:
exception.h:33
OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR
Definition:
exception.h:30
OS_EXCEPTION_TYPE_DSI
Definition:
exception.h:21
OSSetExceptionCallback
OSExceptionCallbackFn OSSetExceptionCallback(OSExceptionType exceptionType, OSExceptionCallbackFn callback)
OS_EXCEPTION_TYPE_BREAKPOINT
Definition:
exception.h:31
OSExceptionType
OSExceptionType
Definition:
exception.h:17
OS_EXCEPTION_TYPE_SYSTEM_CALL
Definition:
exception.h:28
OS_EXCEPTION_TYPE_ALIGNMENT
Definition:
exception.h:24
wut.h
OSExceptionCallbackFn
BOOL(* OSExceptionCallbackFn)(OSContext *context)
Definition:
exception.h:15
BOOL
int BOOL
Definition:
wut_types.h:4
OS_EXCEPTION_TYPE_ISI
Definition:
exception.h:22
OS_EXCEPTION_TYPE_MACHINE_CHECK
Definition:
exception.h:20
OS_EXCEPTION_TYPE_PROGRAM
Definition:
exception.h:25
OSSetExceptionCallbackEx
OSExceptionCallbackFn OSSetExceptionCallbackEx(UNKNOWN_ARG, OSExceptionType exceptionType, OSExceptionCallbackFn callback)
OS_EXCEPTION_TYPE_SYSTEM_RESET
Definition:
exception.h:19
OS_EXCEPTION_TYPE_FLOATING_POINT
Definition:
exception.h:26
Generated by
1.8.10