diff options
author | Rupert Swarbrick <rswarbrick@gmail.com> | 2022-03-16 12:03:49 +0000 |
---|---|---|
committer | Rupert Swarbrick <rswarbrick@gmail.com> | 2022-03-18 15:30:56 +0000 |
commit | 2da3ce5d4cc04b96d3de128d904820bba6d962d1 (patch) | |
tree | 2b02124901417d7af89240138cc161c17d640524 /riscv/sim.h | |
parent | b742ddc66fd4ccb6cec98cbd8ebb705fe93ca735 (diff) | |
download | spike-2da3ce5d4cc04b96d3de128d904820bba6d962d1.zip spike-2da3ce5d4cc04b96d3de128d904820bba6d962d1.tar.gz spike-2da3ce5d4cc04b96d3de128d904820bba6d962d1.tar.bz2 |
Fold bootargs parameter in the new cfg_t type
Diffstat (limited to 'riscv/sim.h')
-rw-r--r-- | riscv/sim.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/riscv/sim.h b/riscv/sim.h index 31c9254..1bb3597 100644 --- a/riscv/sim.h +++ b/riscv/sim.h @@ -34,7 +34,7 @@ class sim_t : public htif_t, public simif_t public: sim_t(const cfg_t *cfg, const char* isa, const char* priv, const char* varch, size_t _nprocs, - bool halted, bool real_time_clint, const char* bootargs, + bool halted, bool real_time_clint, reg_t start_pc, std::vector<std::pair<reg_t, mem_t*>> mems, std::vector<std::pair<reg_t, abstract_device_t*>> plugin_devices, const std::vector<std::string>& args, const std::vector<int> hartids, @@ -78,7 +78,6 @@ private: mmu_t* debug_mmu; // debug port into main memory std::vector<processor_t*> procs; std::pair<reg_t, reg_t> initrd_range; - const char* bootargs; reg_t start_pc; std::string dts; std::string dtb; |