diff options
author | Tim Newsome <tim@sifive.com> | 2022-03-15 08:52:32 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2022-03-30 10:41:44 -0700 |
commit | 08442c1aad70be858f177e277b02a340a22346ba (patch) | |
tree | ad04cfbbca29e1ca61dccfd3ea4ad88fdaf681de /riscv/processor.h | |
parent | a2a2587426e57f6207d5389620e9109bc0f82e6b (diff) | |
download | riscv-isa-sim-08442c1aad70be858f177e277b02a340a22346ba.zip riscv-isa-sim-08442c1aad70be858f177e277b02a340a22346ba.tar.gz riscv-isa-sim-08442c1aad70be858f177e277b02a340a22346ba.tar.bz2 |
mcontrol_action_t -> triggers::action_t
These actions are not specific to the mcontrol trigger.
Diffstat (limited to 'riscv/processor.h')
-rw-r--r-- | riscv/processor.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/riscv/processor.h b/riscv/processor.h index 1b5c818..3e06d5b 100644 --- a/riscv/processor.h +++ b/riscv/processor.h @@ -58,15 +58,6 @@ typedef std::vector<std::tuple<reg_t, uint64_t, uint8_t>> commit_log_mem_t; typedef enum { - ACTION_DEBUG_EXCEPTION = MCONTROL_ACTION_DEBUG_EXCEPTION, - ACTION_DEBUG_MODE = MCONTROL_ACTION_DEBUG_MODE, - ACTION_TRACE_START = MCONTROL_ACTION_TRACE_START, - ACTION_TRACE_STOP = MCONTROL_ACTION_TRACE_STOP, - ACTION_TRACE_EMIT = MCONTROL_ACTION_TRACE_EMIT -} mcontrol_action_t; - -typedef enum -{ MATCH_EQUAL = MCONTROL_MATCH_EQUAL, MATCH_NAPOT = MCONTROL_MATCH_NAPOT, MATCH_GE = MCONTROL_MATCH_GE, @@ -82,7 +73,7 @@ typedef struct uint8_t maskmax; bool select; bool timing; - mcontrol_action_t action; + triggers::action_t action; bool chain; mcontrol_match_t match; bool m; |