aboutsummaryrefslogtreecommitdiff
path: root/riscv/sim.cc
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/sim.cc')
-rw-r--r--riscv/sim.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/sim.cc b/riscv/sim.cc
index fc75a37..d75de46 100644
--- a/riscv/sim.cc
+++ b/riscv/sim.cc
@@ -140,8 +140,8 @@ sim_t::sim_t(const cfg_t *cfg, bool halted,
device_nodes.append(factory->generate_dts(this));
dts = make_dts(INSNS_PER_RTC_TICK, CPU_HZ,
initrd_bounds.first, initrd_bounds.second,
- cfg->bootargs(), cfg->pmpregions, procs, mems,
- device_nodes);
+ cfg->bootargs(), cfg->pmpregions, cfg->pmpgranularity,
+ procs, mems, device_nodes);
dtb = dts_compile(dts);
}