diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-01-21 14:42:52 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-01-21 14:43:10 -0800 |
commit | 1b4f2b1e85d6623e64d4348ef1a912a3033d14ea (patch) | |
tree | 0e7f95f87b78bcf71bc2cec82268519f0d342193 /encoding.h | |
parent | 714662af27924f1c3dbf81d700e67dfafa0367a0 (diff) | |
download | riscv-opcodes-1b4f2b1e85d6623e64d4348ef1a912a3033d14ea.zip riscv-opcodes-1b4f2b1e85d6623e64d4348ef1a912a3033d14ea.tar.gz riscv-opcodes-1b4f2b1e85d6623e64d4348ef1a912a3033d14ea.tar.bz2 |
Auto-generate exception cause numbers
Diffstat (limited to 'encoding.h')
-rw-r--r-- | encoding.h | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -26,19 +26,6 @@ #define IMPL_SPIKE 1 #define IMPL_ROCKET 2 -#define CAUSE_MISALIGNED_FETCH 0 -#define CAUSE_FAULT_FETCH 1 -#define CAUSE_ILLEGAL_INSTRUCTION 2 -#define CAUSE_PRIVILEGED_INSTRUCTION 3 -#define CAUSE_FP_DISABLED 4 -#define CAUSE_SYSCALL 6 -#define CAUSE_BREAKPOINT 7 -#define CAUSE_MISALIGNED_LOAD 8 -#define CAUSE_MISALIGNED_STORE 9 -#define CAUSE_FAULT_LOAD 10 -#define CAUSE_FAULT_STORE 11 -#define CAUSE_ACCELERATOR_DISABLED 12 - // page table entry (PTE) fields #define PTE_V 0x001 // Entry is a page Table descriptor #define PTE_T 0x002 // Entry is a page Table, not a terminal node |