From 77661f72f81ad19c96cf41092b2075be14c828ce Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 27 Nov 2019 16:09:09 -0800 Subject: Initialize mtime Closes #363 --- riscv/clint.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscv') diff --git a/riscv/clint.cc b/riscv/clint.cc index 08508b4..20a9fca 100644 --- a/riscv/clint.cc +++ b/riscv/clint.cc @@ -2,7 +2,7 @@ #include "processor.h" clint_t::clint_t(std::vector& procs) - : procs(procs), mtimecmp(procs.size()) + : procs(procs), mtime(0), mtimecmp(procs.size()) { } -- cgit v1.1