diff options
author | Scott Johnson <scott.johnson@arilinc.com> | 2022-12-01 08:35:49 -0800 |
---|---|---|
committer | Scott Johnson <scott.johnson@arilinc.com> | 2022-12-01 08:35:49 -0800 |
commit | 9b6138a1b634decdcdb0aa7a7b2a629229387597 (patch) | |
tree | 1fa7a7992f13fa98a424ac8519b13429059f430d /riscv/triggers.h | |
parent | a0baf8c02fe4f573a42158f2a5ae17c637f06693 (diff) | |
download | riscv-isa-sim-9b6138a1b634decdcdb0aa7a7b2a629229387597.zip riscv-isa-sim-9b6138a1b634decdcdb0aa7a7b2a629229387597.tar.gz riscv-isa-sim-9b6138a1b634decdcdb0aa7a7b2a629229387597.tar.bz2 |
Remove no-longer-useful trigger_with_tdata2_t
Diffstat (limited to 'riscv/triggers.h')
-rw-r--r-- | riscv/triggers.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/riscv/triggers.h b/riscv/triggers.h index afbc614..a287849 100644 --- a/riscv/triggers.h +++ b/riscv/triggers.h @@ -75,10 +75,7 @@ protected: reg_t tdata2; }; -class trigger_with_tdata2_t : public trigger_t { -}; - -class disabled_trigger_t : public trigger_with_tdata2_t { +class disabled_trigger_t : public trigger_t { public: virtual reg_t tdata1_read(const processor_t * const proc) const noexcept override; virtual void tdata1_write(processor_t * const proc, const reg_t val, const bool allow_chain) noexcept override; @@ -89,7 +86,7 @@ private: bool dmode; }; -class itrigger_t : public trigger_with_tdata2_t { +class itrigger_t : public trigger_t { public: virtual reg_t tdata1_read(const processor_t * const proc) const noexcept override; virtual void tdata1_write(processor_t * const proc, const reg_t val, const bool allow_chain) noexcept override; @@ -111,7 +108,7 @@ private: action_t action; }; -class etrigger_t : public trigger_with_tdata2_t { +class etrigger_t : public trigger_t { public: virtual reg_t tdata1_read(const processor_t * const proc) const noexcept override; virtual void tdata1_write(processor_t * const proc, const reg_t val, const bool allow_chain) noexcept override; @@ -132,7 +129,7 @@ private: action_t action; }; -class mcontrol_t : public trigger_with_tdata2_t { +class mcontrol_t : public trigger_t { public: typedef enum { |