diff options
Diffstat (limited to 'riscv/triggers.h')
-rw-r--r-- | riscv/triggers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/riscv/triggers.h b/riscv/triggers.h index 199a3c2..0c9dabc 100644 --- a/riscv/triggers.h +++ b/riscv/triggers.h @@ -249,11 +249,11 @@ public: virtual std::optional<match_result_t> detect_icount_match(processor_t * const proc) noexcept override; private: - bool dmode; - bool hit; - unsigned count, count_read_value; - bool pending, pending_read_value; - action_t action; + bool dmode = false; + bool hit = false; + unsigned count = 1, count_read_value = 1; + bool pending = false, pending_read_value = false; + action_t action = (action_t)0; }; class module_t { |