diff options
-rw-r--r-- | riscv/sim.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/riscv/sim.cc b/riscv/sim.cc index 3c37c44..d40e1f6 100644 --- a/riscv/sim.cc +++ b/riscv/sim.cc @@ -62,6 +62,11 @@ sim_t::sim_t(const char* isa, const char* priv, const char* varch, debug_module(this, dm_config) { signal(SIGINT, &handle_signal); + +#ifdef HAVE_BOOST_ASIO + io_service_ptr = io_service_ptr_ctor; // socket interface + acceptor_ptr = acceptor_ptr_ctor; // socket interface +#endif sout.rdbuf(cerr.rdbuf()); // debug output goes to stderr by default for (auto& x : mems) |