aboutsummaryrefslogtreecommitdiff
path: root/riscv/triggers.h
diff options
context:
space:
mode:
authorrbuchner <ryan.buchner@arilinc.com>2023-04-28 16:28:16 -0700
committerrbuchner <ryan.buchner@arilinc.com>2023-05-11 23:00:59 -0700
commit33fbc2df39df914d3462bede4112db7966d49a3c (patch)
tree0d4e292c8edf3a4d771f39a32708540e8bff48ce /riscv/triggers.h
parent36b8c12e9f4d92f3cb97daf4ea0613436724438f (diff)
downloadriscv-isa-sim-33fbc2df39df914d3462bede4112db7966d49a3c.zip
riscv-isa-sim-33fbc2df39df914d3462bede4112db7966d49a3c.tar.gz
riscv-isa-sim-33fbc2df39df914d3462bede4112db7966d49a3c.tar.bz2
Plumb in effective virtual bit to take_trigger_action()
Diffstat (limited to 'riscv/triggers.h')
-rw-r--r--riscv/triggers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/riscv/triggers.h b/riscv/triggers.h
index 6e3d74d..aeda4d5 100644
--- a/riscv/triggers.h
+++ b/riscv/triggers.h
@@ -54,12 +54,13 @@ struct match_result_t {
class matched_t
{
public:
- matched_t(triggers::operation_t operation, reg_t address, action_t action) :
- operation(operation), address(address), action(action) {}
+ matched_t(triggers::operation_t operation, reg_t address, action_t action, bool gva) :
+ operation(operation), address(address), action(action), gva(gva) {}
triggers::operation_t operation;
reg_t address;
action_t action;
+ bool gva;
};
class trigger_t {