Line 37... |
Line 37... |
#define EXCEPT_DTLBMISS 0x0900
|
#define EXCEPT_DTLBMISS 0x0900
|
#define EXCEPT_ITLBMISS 0x0a00
|
#define EXCEPT_ITLBMISS 0x0a00
|
#define EXCEPT_RANGE 0x0b00
|
#define EXCEPT_RANGE 0x0b00
|
#define EXCEPT_SYSCALL 0x0c00
|
#define EXCEPT_SYSCALL 0x0c00
|
#define EXCEPT_BREAK 0x0d00
|
#define EXCEPT_BREAK 0x0d00
|
#define EXCEPT_RESERVED 0x0e00
|
#define EXCEPT_TRAP 0x0e00
|
|
|
#define EXCEPT_NAME(E) E == EXCEPT_RESET ? "Reset" : \
|
#define EXCEPT_NAME(E) E == EXCEPT_RESET ? "Reset" : \
|
E == EXCEPT_BUSERR ? "Bus Error" : \
|
E == EXCEPT_BUSERR ? "Bus Error" : \
|
E == EXCEPT_DPF ? "Data Page Fault" : \
|
E == EXCEPT_DPF ? "Data Page Fault" : \
|
E == EXCEPT_IPF ? "Insn Page Fault" : \
|
E == EXCEPT_IPF ? "Insn Page Fault" : \
|
Line 51... |
Line 51... |
E == EXCEPT_HPINT ? "High Priority Interrupt" : \
|
E == EXCEPT_HPINT ? "High Priority Interrupt" : \
|
E == EXCEPT_DTLBMISS ? "Data TLB Miss" : \
|
E == EXCEPT_DTLBMISS ? "Data TLB Miss" : \
|
E == EXCEPT_ITLBMISS ? "Insn TLB Miss" : \
|
E == EXCEPT_ITLBMISS ? "Insn TLB Miss" : \
|
E == EXCEPT_RANGE ? "Range" : \
|
E == EXCEPT_RANGE ? "Range" : \
|
E == EXCEPT_SYSCALL ? "System Call" : \
|
E == EXCEPT_SYSCALL ? "System Call" : \
|
E == EXCEPT_BREAK ? "Break" : "Unknown"
|
E == EXCEPT_BREAK ? "Break" : \
|
|
E == EXCEPT_TRAP ? "Trap" : "Unknown"
|
|
|
|
|
|
|
No newline at end of file
|
No newline at end of file
|