28#define IOP_EXCEPTION_INT 0
30#define IOP_EXCEPTION_MOD 1
32#define IOP_EXCEPTION_TLBL 2
34#define IOP_EXCEPTION_TLBS 3
36#define IOP_EXCEPTION_ADEL 4
38#define IOP_EXCEPTION_ADES 5
40#define IOP_EXCEPTION_IBE 6
42#define IOP_EXCEPTION_DBE 7
44#define IOP_EXCEPTION_SYS 8
46#define IOP_EXCEPTION_BP 9
48#define IOP_EXCEPTION_RI 10
50#define IOP_EXCEPTION_CPU 11
52#define IOP_EXCEPTION_OVF 12
54#define IOP_EXCEPTION_R13 13
56#define IOP_EXCEPTION_R14 14
58#define IOP_EXCEPTION_HDB 15
69void* GetExHandlersTable();
73int RegisterPriorityExceptionHandler(
int exception,
int priority,
exception_handler_t handler);
78#define excepman_IMPORTS_start DECLARE_IMPORT_TABLE(excepman, 1, 2)
79#define excepman_IMPORTS_end END_IMPORT_TABLE
81#define I_GetExHandlersTable DECLARE_IMPORT(3, GetExHandlersTable)
82#define I_RegisterExceptionHandler DECLARE_IMPORT(4, RegisterExceptionHandler)
83#define I_RegisterPriorityExceptionHandler DECLARE_IMPORT(5, RegisterPriorityExceptionHandler)
84#define I_RegisterDefaultExceptionHandler DECLARE_IMPORT(6, RegisterDefaultExceptionHandler)
85#define I_ReleaseExceptionHandler DECLARE_IMPORT(7, ReleaseExceptionHandler)
86#define I_ReleaseDefaultExceptionHandler DECLARE_IMPORT(8, ReleaseDefaultExceptionHandler)
int RegisterExceptionHandler(int exception, exception_handler_t handler)