#include <_ansi.h>
Macros | |
#define | EVBA_BREAKPOINT 0x01C |
#define | EVBA_BUS_ERROR_DATA 0x008 |
#define | EVBA_BUS_ERROR_INSTR 0x00C |
#define | EVBA_COP_ABSENT 0x030 |
#define | EVBA_DATA_ADDR_R 0x034 |
#define | EVBA_DATA_ADDR_W 0x038 |
#define | EVBA_DTLB_MISS_R 0x060 |
#define | EVBA_DTLB_MISS_W 0x070 |
#define | EVBA_DTLB_MODIFIED 0x044 |
#define | EVBA_DTLB_PROT_R 0x03C |
#define | EVBA_DTLB_PROT_W 0x040 |
#define | EVBA_FLOATING_POINT 0x02C |
#define | EVBA_ILLEGAL_OPCODE 0x020 |
#define | EVBA_INSTR_ADDR 0x014 |
#define | EVBA_ITLB_MISS 0x050 |
#define | EVBA_ITLB_PROT 0x018 |
#define | EVBA_NMI 0x010 |
#define | EVBA_PRIVILEGE_VIOL 0x028 |
#define | EVBA_SCALL 0x100 |
#define | EVBA_TLB_MULTIPLE 0x004 |
#define | EVBA_UNIMPLEMENTED 0x024 |
#define | EVBA_UNRECOVERABLE 0x000 |
Typedefs | |
typedef unsigned int(* | __exception_handler )(int, int) |
typedef void(* | __scall_handler )(int, int, int, int, int) |
Functions | |
void | _register_exception_handler (__exception_handler handler, int evba_offset) |
void | _register_scall_handler (__scall_handler handler) |
void | init_exceptions (void *evba, void *handler_table) |
#define EVBA_BREAKPOINT 0x01C |
#define EVBA_BUS_ERROR_DATA 0x008 |
#define EVBA_BUS_ERROR_INSTR 0x00C |
#define EVBA_COP_ABSENT 0x030 |
#define EVBA_DATA_ADDR_R 0x034 |
#define EVBA_DATA_ADDR_W 0x038 |
#define EVBA_DTLB_MISS_R 0x060 |
#define EVBA_DTLB_MISS_W 0x070 |
#define EVBA_DTLB_MODIFIED 0x044 |
#define EVBA_DTLB_PROT_R 0x03C |
#define EVBA_DTLB_PROT_W 0x040 |
#define EVBA_FLOATING_POINT 0x02C |
#define EVBA_ILLEGAL_OPCODE 0x020 |
#define EVBA_INSTR_ADDR 0x014 |
#define EVBA_ITLB_MISS 0x050 |
#define EVBA_ITLB_PROT 0x018 |
#define EVBA_NMI 0x010 |
#define EVBA_PRIVILEGE_VIOL 0x028 |
#define EVBA_SCALL 0x100 |
#define EVBA_TLB_MULTIPLE 0x004 |
#define EVBA_UNIMPLEMENTED 0x024 |
#define EVBA_UNRECOVERABLE 0x000 |
typedef unsigned int(* __exception_handler)(int, int) |
typedef void(* __scall_handler)(int, int, int, int, int) |
void _register_exception_handler | ( | __exception_handler | handler, |
int | evba_offset | ||
) |
void _register_scall_handler | ( | __scall_handler | handler | ) |
void init_exceptions | ( | void * | evba, |
void * | handler_table | ||
) |