From 8b84a810141a8da20183834b7f0b112fef5785de Mon Sep 17 00:00:00 2001 From: Yunsup Lee Date: Wed, 8 Feb 2012 19:49:39 -0800 Subject: [PATCH] initialize tohost and fromhost --- riscv/sim.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/riscv/sim.cc b/riscv/sim.cc index d61e600..fb533a8 100644 --- a/riscv/sim.cc +++ b/riscv/sim.cc @@ -12,6 +12,8 @@ sim_t::sim_t(int _nprocs, htif_t* _htif) : htif(_htif), + tohost(0), + fromhost(0), procs(_nprocs), running(false) { -- 2.30.2