aboutsummaryrefslogtreecommitdiff
path: root/riscv/sim.cc
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/sim.cc')
-rw-r--r--riscv/sim.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/riscv/sim.cc b/riscv/sim.cc
index db68930..3cd29af 100644
--- a/riscv/sim.cc
+++ b/riscv/sim.cc
@@ -29,12 +29,14 @@ sim_t::sim_t(const char* isa, size_t nprocs, bool halted, reg_t start_pc,
const std::vector<std::string>& args,
std::vector<int> const hartids, unsigned progsize,
unsigned max_bus_master_bits, bool require_authentication,
- suseconds_t abstract_delay_usec, bool support_hasel)
+ suseconds_t abstract_delay_usec, bool support_hasel,
+ bool support_abstract_csr_access)
: htif_t(args), mems(mems), procs(std::max(nprocs, size_t(1))),
start_pc(start_pc), current_step(0), current_proc(0), debug(false),
histogram_enabled(false), dtb_enabled(true), remote_bitbang(NULL),
debug_module(this, progsize, max_bus_master_bits, require_authentication,
- abstract_delay_usec, support_hasel)
+ abstract_delay_usec, support_hasel,
+ support_abstract_csr_access)
{
signal(SIGINT, &handle_signal);