#include <types.h>
#include <irx.h>
Go to the source code of this file.
|
|
#define | DCIC_WR (1 << 27) |
| |
|
#define | DCIC_RD (1 << 26) |
| |
|
#define | DCIC_DA (1 << 25) |
| |
|
#define | DCIC_PC (1 << 24) |
| |
|
#define | ioptrap_IMPORTS_start DECLARE_IMPORT_TABLE(ioptrap, 1, 1) |
| |
|
#define | ioptrap_IMPORTS_end END_IMPORT_TABLE |
| |
|
#define | I_get_exception_name DECLARE_IMPORT(4, get_exception_name) |
| |
|
#define | I_dbg_setjmp DECLARE_IMPORT(5, dbg_setjmp) |
| |
|
#define | I_set_exception_handler DECLARE_IMPORT(6, set_exception_handler) |
| |
|
#define | I_get_exception_handler DECLARE_IMPORT(7, get_exception_handler) |
| |
|
#define | I_set_dba DECLARE_IMPORT(8, set_dba) |
| |
|
#define | I_set_dbam DECLARE_IMPORT(9, set_dbam) |
| |
|
#define | I_set_dcic DECLARE_IMPORT(10, set_dcic) |
| |
|
#define | I_get_dba DECLARE_IMPORT(11, get_dba) |
| |
|
#define | I_get_dbam DECLARE_IMPORT(12, get_dbam) |
| |
|
#define | I_get_dcic DECLARE_IMPORT(13, get_dcic) |
| |
|
| enum | exception_type_t {
EXCEPTION_Int,
EXCEPTION_Mod,
EXCEPTION_TLBL,
EXCEPTION_TLBS,
EXCEPTION_AdEL,
EXCEPTION_AdES,
EXCEPTION_IBE,
EXCEPTION_DBE,
EXCEPTION_Syscall,
EXCEPTION_Bp,
EXCEPTION_RI,
EXCEPTION_CpU,
EXCEPTION_Ov,
EXCEPTION_RESERVED13,
EXCEPTION_RESERVED14
} |
| |
|
|
const char * | get_exception_name (exception_type_t type) |
| |
|
exception_type_t | dbg_setjmp () |
| |
|
trap_exception_handler_t | set_exception_handler (exception_type_t type, trap_exception_handler_t handler) |
| |
|
trap_exception_handler_t | get_exception_handler (exception_type_t type) |
| |
|
void | set_dba (u32 v) |
| |
|
void | set_dbam (u32 v) |
| |
|
void | set_dcic (u32 v) |
| |
|
u32 | get_dba () |
| |
|
u32 | get_dbam () |
| |
|
u32 | get_dcic () |
| |
IOP exception handling.
Definition in file ioptrap.h.
◆ exception_frame
Definition at line 41 of file ioptrap.h.
| Data Fields |
|
u32 |
epc |
|
|
u32 |
cause |
|
|
u32 |
badvaddr |
|
|
u32 |
sr |
|
|
u32 |
regs[32] |
|
|
u32 |
hi |
|
|
u32 |
lo |
|
|
u32 |
dcic |
|