aboutsummaryrefslogtreecommitdiff
path: root/riscv/sim.h
diff options
context:
space:
mode:
authorGleb Gagarin <gleb@sifive.com>2017-11-15 15:35:59 -0800
committerGleb Gagarin <gleb@sifive.com>2017-11-15 15:35:59 -0800
commit85efaaaba8938a7026d5d9203c09e8be0fd66130 (patch)
treec564ab3594cb2e461a0fd409dcaccd5349ff2d20 /riscv/sim.h
parent3151df24e57d9a9148ad3ca6f856e33c2894a48e (diff)
downloadriscv-isa-sim-85efaaaba8938a7026d5d9203c09e8be0fd66130.zip
riscv-isa-sim-85efaaaba8938a7026d5d9203c09e8be0fd66130.tar.gz
riscv-isa-sim-85efaaaba8938a7026d5d9203c09e8be0fd66130.tar.bz2
Support for non-contiguous hartids
Diffstat (limited to 'riscv/sim.h')
-rw-r--r--riscv/sim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/sim.h b/riscv/sim.h
index 9372cc1..b102a6b 100644
--- a/riscv/sim.h
+++ b/riscv/sim.h
@@ -21,7 +21,7 @@ class sim_t : public htif_t
public:
sim_t(const char* isa, size_t _nprocs, bool halted, reg_t start_pc,
std::vector<std::pair<reg_t, mem_t*>> mems,
- const std::vector<std::string>& args);
+ const std::vector<std::string>& args, const std::vector<int> hartids);
~sim_t();
// run the simulation to completion