From 08442c1aad70be858f177e277b02a340a22346ba Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Tue, 15 Mar 2022 08:52:32 -0700 Subject: mcontrol_action_t -> triggers::action_t These actions are not specific to the mcontrol trigger. --- riscv/execute.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscv/execute.cc') diff --git a/riscv/execute.cc b/riscv/execute.cc index 72ffa27..212f273 100644 --- a/riscv/execute.cc +++ b/riscv/execute.cc @@ -325,10 +325,10 @@ void processor_t::step(size_t n) mmu->matched_trigger = NULL; } switch (state.mcontrol[t.index].action) { - case ACTION_DEBUG_MODE: + case triggers::ACTION_DEBUG_MODE: enter_debug_mode(DCSR_CAUSE_HWBP); break; - case ACTION_DEBUG_EXCEPTION: { + case triggers::ACTION_DEBUG_EXCEPTION: { trap_breakpoint trap(state.v, t.address); take_trap(trap, pc); break; -- cgit v1.1