diff options
author | Scott Johnson <scott.johnson@arilinc.com> | 2022-12-01 09:07:08 -0800 |
---|---|---|
committer | Scott Johnson <scott.johnson@arilinc.com> | 2022-12-01 09:07:08 -0800 |
commit | 024533d921eadd44149a7361d3d94217593ef2a0 (patch) | |
tree | 1de3ba987986e952ab614c10043743b36e17fa59 /riscv/triggers.h | |
parent | 35803393d984c4287d296aced53211f5fc2d6881 (diff) | |
download | riscv-isa-sim-024533d921eadd44149a7361d3d94217593ef2a0.zip riscv-isa-sim-024533d921eadd44149a7361d3d94217593ef2a0.tar.gz riscv-isa-sim-024533d921eadd44149a7361d3d94217593ef2a0.tar.bz2 |
Extract common method for legalizing trigger action field
Diffstat (limited to 'riscv/triggers.h')
-rw-r--r-- | riscv/triggers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/triggers.h b/riscv/triggers.h index 428dfda..0b58798 100644 --- a/riscv/triggers.h +++ b/riscv/triggers.h @@ -72,6 +72,7 @@ public: virtual match_result_t detect_trap_match(processor_t UNUSED * const proc, const trap_t UNUSED & t) noexcept { return match_result_t(false); } protected: + action_t legalize_action(reg_t val) const noexcept; reg_t tdata2; }; |