summaryrefslogtreecommitdiff
path: root/encoding.h
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@eecs.berkeley.edu>2014-01-21 14:42:52 -0800
committerGravatar Andrew Waterman <waterman@eecs.berkeley.edu>2014-01-21 14:43:10 -0800
commit1b4f2b1e85d6623e64d4348ef1a912a3033d14ea (patch)
tree0e7f95f87b78bcf71bc2cec82268519f0d342193 /encoding.h
parent714662af27924f1c3dbf81d700e67dfafa0367a0 (diff)
Auto-generate exception cause numbers
Diffstat (limited to 'encoding.h')
-rw-r--r--encoding.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/encoding.h b/encoding.h
index a5467e0..319b72f 100644
--- a/encoding.h
+++ b/encoding.h
@@ -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