From 2da3ce5d4cc04b96d3de128d904820bba6d962d1 Mon Sep 17 00:00:00 2001 From: Rupert Swarbrick Date: Wed, 16 Mar 2022 12:03:49 +0000 Subject: Fold bootargs parameter in the new cfg_t type --- riscv/sim.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'riscv/sim.h') 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> mems, std::vector> plugin_devices, const std::vector& args, const std::vector hartids, @@ -78,7 +78,6 @@ private: mmu_t* debug_mmu; // debug port into main memory std::vector procs; std::pair initrd_range; - const char* bootargs; reg_t start_pc; std::string dts; std::string dtb; -- cgit v1.1