#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
} |
|
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 |
|
◆ DCIC_WR
#define DCIC_WR (1 << 27) |
◆ DCIC_RD
#define DCIC_RD (1 << 26) |
◆ DCIC_DA
#define DCIC_DA (1 << 25) |
◆ DCIC_PC
#define DCIC_PC (1 << 24) |
◆ ioptrap_IMPORTS_start
#define ioptrap_IMPORTS_start DECLARE_IMPORT_TABLE(ioptrap, 1, 1) |
◆ ioptrap_IMPORTS_end
#define ioptrap_IMPORTS_end END_IMPORT_TABLE |
◆ I_get_exception_name
#define I_get_exception_name DECLARE_IMPORT(4, get_exception_name) |
◆ I_dbg_setjmp
#define I_dbg_setjmp DECLARE_IMPORT(5, dbg_setjmp) |
◆ I_set_exception_handler
#define I_set_exception_handler DECLARE_IMPORT(6, set_exception_handler) |
◆ I_get_exception_handler
#define I_get_exception_handler DECLARE_IMPORT(7, get_exception_handler) |
◆ I_set_dba
#define I_set_dba DECLARE_IMPORT(8, set_dba) |
◆ I_set_dbam
#define I_set_dbam DECLARE_IMPORT(9, set_dbam) |
◆ I_set_dcic
#define I_set_dcic DECLARE_IMPORT(10, set_dcic) |
◆ I_get_dba
#define I_get_dba DECLARE_IMPORT(11, get_dba) |
◆ I_get_dbam
#define I_get_dbam DECLARE_IMPORT(12, get_dbam) |
◆ I_get_dcic
#define I_get_dcic DECLARE_IMPORT(13, get_dcic) |
◆ trap_exception_handler_t
◆ exception_type_t
◆ get_exception_name()
const char * get_exception_name |
( |
exception_type_t |
type | ) |
|
◆ dbg_setjmp()
exception_type_t dbg_setjmp |
( |
| ) |
|
◆ set_exception_handler()
trap_exception_handler_t set_exception_handler |
( |
exception_type_t |
type, |
|
|
trap_exception_handler_t |
handler |
|
) |
| |
◆ get_exception_handler()
trap_exception_handler_t get_exception_handler |
( |
exception_type_t |
type | ) |
|
◆ set_dba()
◆ set_dbam()
◆ set_dcic()
◆ get_dba()
◆ get_dbam()
◆ get_dcic()