aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2016-08-26 18:23:52 -0700
committerAndrew Waterman <waterman@eecs.berkeley.edu>2016-08-26 18:23:52 -0700
commit9f3e3894d7a9d1d1a9f893ba5e36936b9e9bf7a4 (patch)
tree6138d3d22bcaa0f1660bdc39f4105f72536135f3
parent7d22c8896f4a7b50f2a1f8d902aea76ad66c4e47 (diff)
downloadriscv-opcodes-9f3e3894d7a9d1d1a9f893ba5e36936b9e9bf7a4.zip
riscv-opcodes-9f3e3894d7a9d1d1a9f893ba5e36936b9e9bf7a4.tar.gz
riscv-opcodes-9f3e3894d7a9d1d1a9f893ba5e36936b9e9bf7a4.tar.bz2
Add mcontrol type constants. (#11)
-rw-r--r--encoding.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/encoding.h b/encoding.h
index c4b3d08..7510975 100644
--- a/encoding.h
+++ b/encoding.h
@@ -73,6 +73,9 @@
#define MCONTROL_STORE (1<<1)
#define MCONTROL_LOAD (1<<0)
+#define MCONTROL_TYPE_NONE 0
+#define MCONTROL_TYPE_MATCH 2
+
#define MCONTROL_ACTION_DEBUG_EXCEPTION 0
#define MCONTROL_ACTION_DEBUG_MODE 1
#define MCONTROL_ACTION_TRACE_START 2