From ed8a77d328a85affe0d5d7a5cf631f64236fe895 Mon Sep 17 00:00:00 2001 From: Yunsup Lee Date: Tue, 18 Oct 2011 17:03:26 -0700 Subject: yunsup made this fix..ask him --- riscv/sim.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'riscv/sim.cc') diff --git a/riscv/sim.cc b/riscv/sim.cc index 65125e4..9020da4 100644 --- a/riscv/sim.cc +++ b/riscv/sim.cc @@ -58,6 +58,7 @@ void sim_t::set_tohost(reg_t val) { fromhost = 0; tohost = val; + htif->wait_for_tohost_write(); } reg_t sim_t::get_fromhost() -- cgit v1.1