URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 137 |
Rev 261 |
Line 39... |
Line 39... |
#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_TRAP 0x0e00
|
#define EXCEPT_TRAP 0x0e00
|
|
|
|
/* Non maskable exceptions */
|
|
#define IS_NME(E) ((E) == EXCEPT_RESET)
|
|
|
#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" : \
|
E == EXCEPT_LPINT ? "Low Priority Interrupt" : \
|
E == EXCEPT_LPINT ? "Low Priority Interrupt" : \
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.