projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6405097
)
initialize tohost and fromhost
author
Yunsup Lee
<yunsup@cs.berkeley.edu>
Thu, 9 Feb 2012 03:49:39 +0000
(19:49 -0800)
committer
Yunsup Lee
<yunsup@cs.berkeley.edu>
Thu, 9 Feb 2012 03:49:39 +0000
(19:49 -0800)
riscv/sim.cc
patch
|
blob
|
history
diff --git
a/riscv/sim.cc
b/riscv/sim.cc
index d61e60076baf7dc3ee6be140b5919f0b8f5292c6..fb533a8898d7d3eb830699eef2c9342b1f2f5d2a 100644
(file)
--- 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)
{