aboutsummaryrefslogtreecommitdiff
path: root/target/riscv/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/riscv/debug.h')
-rw-r--r--target/riscv/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/riscv/debug.h b/target/riscv/debug.h
index c347863..f76b8f9 100644
--- a/target/riscv/debug.h
+++ b/target/riscv/debug.h
@@ -131,6 +131,9 @@ enum {
#define ITRIGGER_VU BIT(25)
#define ITRIGGER_VS BIT(26)
+#define MHSELECT_IGNORE 0
+#define MHSELECT_MCONTEXT 4
+
bool tdata_available(CPURISCVState *env, int tdata_index);
target_ulong tselect_csr_read(CPURISCVState *env);