Rev 1882 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1882 | Rev 1883 | ||
|---|---|---|---|
| Line 38... | Line 38... | ||
| 38 | 38 | ||
| 39 | #define TT_INSTRUCTION_ACCESS_EXCEPTION 0x08 |
39 | #define TT_INSTRUCTION_ACCESS_EXCEPTION 0x08 |
| 40 | #define TT_INSTRUCTION_ACCESS_ERROR 0x0a |
40 | #define TT_INSTRUCTION_ACCESS_ERROR 0x0a |
| 41 | #define TT_ILLEGAL_INSTRUCTION 0x10 |
41 | #define TT_ILLEGAL_INSTRUCTION 0x10 |
| 42 | #define TT_PRIVILEGED_OPCODE 0x11 |
42 | #define TT_PRIVILEGED_OPCODE 0x11 |
| - | 43 | #define TT_UNIMPLEMENTED_LDD 0x12 |
|
| - | 44 | #define TT_UNIMPLEMENTED_STD 0x13 |
|
| 43 | #define TT_FP_DISABLED 0x20 |
45 | #define TT_FP_DISABLED 0x20 |
| - | 46 | #define TT_FP_EXCEPTION_IEEE_754 0x21 |
|
| - | 47 | #define TT_FP_EXCEPTION_OTHER 0x22 |
|
| - | 48 | #define TT_TAG_OVERFLOW 0x23 |
|
| 44 | #define TT_DIVISION_BY_ZERO 0x28 |
49 | #define TT_DIVISION_BY_ZERO 0x28 |
| 45 | #define TT_DATA_ACCESS_EXCEPTION 0x30 |
50 | #define TT_DATA_ACCESS_EXCEPTION 0x30 |
| 46 | #define TT_DATA_ACCESS_ERROR 0x32 |
51 | #define TT_DATA_ACCESS_ERROR 0x32 |
| 47 | #define TT_MEM_ADDRESS_NOT_ALIGNED 0x34 |
52 | #define TT_MEM_ADDRESS_NOT_ALIGNED 0x34 |
| - | 53 | #define TT_LDDF_MEM_ADDRESS_NOT_ALIGNED 0x35 |
|
| - | 54 | #define TT_STDF_MEM_ADDRESS_NOT_ALIGNED 0x36 |
|
| 48 | #define TT_PRIVILEGED_ACTION 0x38 |
55 | #define TT_PRIVILEGED_ACTION 0x37 |
| - | 56 | #define TT_LDQF_MEM_ADDRESS_NOT_ALIGNED 0x38 |
|
| - | 57 | #define TT_STQF_MEM_ADDRESS_NOT_ALIGNED 0x39 |
|
| 49 | 58 | ||
| 50 | #ifndef __ASM__ |
59 | #ifndef __ASM__ |
| 51 | 60 | ||
| 52 | #include <typedefs.h> |
61 | #include <typedefs.h> |
| 53 | 62 | ||
| Line 55... | Line 64... | ||
| 55 | 64 | ||
| 56 | extern void instruction_access_exception(int n, istate_t *istate); |
65 | extern void instruction_access_exception(int n, istate_t *istate); |
| 57 | extern void instruction_access_error(int n, istate_t *istate); |
66 | extern void instruction_access_error(int n, istate_t *istate); |
| 58 | extern void illegal_instruction(int n, istate_t *istate); |
67 | extern void illegal_instruction(int n, istate_t *istate); |
| 59 | extern void privileged_opcode(int n, istate_t *istate); |
68 | extern void privileged_opcode(int n, istate_t *istate); |
| - | 69 | extern void unimplemented_LDD(int n, istate_t *istate); |
|
| - | 70 | extern void unimplemented_STD(int n, istate_t *istate); |
|
| 60 | extern void fp_disabled(int n, istate_t *istate); |
71 | extern void fp_disabled(int n, istate_t *istate); |
| - | 72 | extern void fp_exception_ieee_754(int n, istate_t *istate); |
|
| - | 73 | extern void fp_exception_other(int n, istate_t *istate); |
|
| - | 74 | extern void tag_overflow(int n, istate_t *istate); |
|
| 61 | extern void division_by_zero(int n, istate_t *istate); |
75 | extern void division_by_zero(int n, istate_t *istate); |
| 62 | extern void data_access_exception(int n, istate_t *istate); |
76 | extern void data_access_exception(int n, istate_t *istate); |
| 63 | extern void data_access_error(int n, istate_t *istate); |
77 | extern void data_access_error(int n, istate_t *istate); |
| 64 | extern void mem_address_not_aligned(int n, istate_t *istate); |
78 | extern void mem_address_not_aligned(int n, istate_t *istate); |
| - | 79 | extern void LDDF_mem_address_not_aligned(int n, istate_t *istate); |
|
| - | 80 | extern void STDF_mem_address_not_aligned(int n, istate_t *istate); |
|
| 65 | extern void privileged_action(int n, istate_t *istate); |
81 | extern void privileged_action(int n, istate_t *istate); |
| 66 | - | ||
| - | 82 | extern void LDQF_mem_address_not_aligned(int n, istate_t *istate); |
|
| - | 83 | extern void STQF_mem_address_not_aligned(int n, istate_t *istate); |
|
| 67 | 84 | ||
| 68 | #endif /* !__ASM__ */ |
85 | #endif /* !__ASM__ */ |
| 69 | 86 | ||
| 70 | #endif |
87 | #endif |
| 71 | 88 | ||