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
BOOL
(*
OSExceptionCallbackFn
)(
OSContext
*context);
15
16
typedef
enum
OSExceptionType
17
{
18
OS_EXCEPTION_TYPE_SYSTEM_RESET
= 0,
19
OS_EXCEPTION_TYPE_MACHINE_CHECK
= 1,
20
OS_EXCEPTION_TYPE_DSI
= 2,
21
OS_EXCEPTION_TYPE_ISI
= 3,
22
OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT
= 4,
23
OS_EXCEPTION_TYPE_ALIGNMENT
= 5,
24
OS_EXCEPTION_TYPE_PROGRAM
= 6,
25
OS_EXCEPTION_TYPE_FLOATING_POINT
= 7,
26
OS_EXCEPTION_TYPE_DECREMENTER
= 8,
27
OS_EXCEPTION_TYPE_SYSTEM_CALL
= 9,
28
OS_EXCEPTION_TYPE_TRACE
= 10,
29
OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR
= 11,
30
OS_EXCEPTION_TYPE_BREAKPOINT
= 12,
31
OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT
= 13,
32
OS_EXCEPTION_TYPE_ICI
= 14,
33
}
OSExceptionType
;
34
35
OSExceptionCallbackFn
36
OSSetExceptionCallback
(
OSExceptionType
exceptionType,
37
OSExceptionCallbackFn
callback);
38
39
OSExceptionCallbackFn
40
OSSetExceptionCallbackEx
(UNKNOWN_ARG,
41
OSExceptionType
exceptionType,
42
OSExceptionCallbackFn
callback);
43
44
#ifdef __cplusplus
45
}
46
#endif
47
OS_EXCEPTION_TYPE_DECREMENTER
Definition:
exception.h:26
OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT
Definition:
exception.h:31
OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT
Definition:
exception.h:22
OSContext
Definition:
thread.h:97
OS_EXCEPTION_TYPE_TRACE
Definition:
exception.h:28
OS_EXCEPTION_TYPE_ICI
Definition:
exception.h:32
OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR
Definition:
exception.h:29
OS_EXCEPTION_TYPE_DSI
Definition:
exception.h:20
OSSetExceptionCallback
OSExceptionCallbackFn OSSetExceptionCallback(OSExceptionType exceptionType, OSExceptionCallbackFn callback)
OS_EXCEPTION_TYPE_BREAKPOINT
Definition:
exception.h:30
OSExceptionType
OSExceptionType
Definition:
exception.h:16
OS_EXCEPTION_TYPE_SYSTEM_CALL
Definition:
exception.h:27
OS_EXCEPTION_TYPE_ALIGNMENT
Definition:
exception.h:23
wut.h
OSExceptionCallbackFn
BOOL(* OSExceptionCallbackFn)(OSContext *context)
Definition:
exception.h:14
BOOL
int BOOL
Definition:
wut_types.h:4
OS_EXCEPTION_TYPE_ISI
Definition:
exception.h:21
OS_EXCEPTION_TYPE_MACHINE_CHECK
Definition:
exception.h:19
OS_EXCEPTION_TYPE_PROGRAM
Definition:
exception.h:24
OSSetExceptionCallbackEx
OSExceptionCallbackFn OSSetExceptionCallbackEx(UNKNOWN_ARG, OSExceptionType exceptionType, OSExceptionCallbackFn callback)
OS_EXCEPTION_TYPE_SYSTEM_RESET
Definition:
exception.h:18
OS_EXCEPTION_TYPE_FLOATING_POINT
Definition:
exception.h:25
Generated by
1.8.10