aboutsummaryrefslogtreecommitdiff
path: root/riscv/pcr.h
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2013-10-18 19:22:08 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2013-10-18 19:22:08 -0700
commite638446bd99d5051b1d5a45dd38dab654b153f6a (patch)
tree28a909929cdd274a46a3c316659c36cba8a5cbae /riscv/pcr.h
parent787450f4d9b453ce89c871b3b380706d701c909a (diff)
downloadriscv-isa-sim-e638446bd99d5051b1d5a45dd38dab654b153f6a.zip
riscv-isa-sim-e638446bd99d5051b1d5a45dd38dab654b153f6a.tar.gz
riscv-isa-sim-e638446bd99d5051b1d5a45dd38dab654b153f6a.tar.bz2
clean up SR_EA, the enable accelerator bit in status reg
Diffstat (limited to 'riscv/pcr.h')
-rw-r--r--riscv/pcr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/pcr.h b/riscv/pcr.h
index 75a349f..b90884b 100644
--- a/riscv/pcr.h
+++ b/riscv/pcr.h
@@ -11,10 +11,10 @@
#define SR_U64 0x00000020
#define SR_S64 0x00000040
#define SR_VM 0x00000080
-#define SR_EV 0x00000100
+#define SR_EA 0x00000100
#define SR_IM 0x00FF0000
#define SR_IP 0xFF000000
-#define SR_ZERO ~(SR_S|SR_PS|SR_EI|SR_PEI|SR_EF|SR_U64|SR_S64|SR_VM|SR_EV|SR_IM|SR_IP)
+#define SR_ZERO ~(SR_S|SR_PS|SR_EI|SR_PEI|SR_EF|SR_U64|SR_S64|SR_VM|SR_EA|SR_IM|SR_IP)
#define SR_IM_SHIFT 16
#define SR_IP_SHIFT 24