OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_1_x/] [or1ksim/] [cpu/] [or1k/] [except.h] - Diff between revs 137 and 261

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" : \

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.