initialize tohost and fromhost
authorYunsup Lee <yunsup@cs.berkeley.edu>
Thu, 9 Feb 2012 03:49:39 +0000 (19:49 -0800)
committerYunsup Lee <yunsup@cs.berkeley.edu>
Thu, 9 Feb 2012 03:49:39 +0000 (19:49 -0800)
riscv/sim.cc

index d61e60076baf7dc3ee6be140b5919f0b8f5292c6..fb533a8898d7d3eb830699eef2c9342b1f2f5d2a 100644 (file)
@@ -12,6 +12,8 @@
 
 sim_t::sim_t(int _nprocs, htif_t* _htif)
   : htif(_htif),
+    tohost(0),
+    fromhost(0),
     procs(_nprocs),
     running(false)
 {