aboutsummaryrefslogtreecommitdiff
path: root/riscv/sim.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-03-01 15:01:29 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-03-02 12:15:25 -0800
commite6685ad87a7cb5125f745eb6a527c2962deb284d (patch)
tree49c1def3c63c0b51305524efc035594f95b0a8b6 /riscv/sim.h
parent5618582e2fdbece0c3125c430fc660faea479b62 (diff)
downloadspike-e6685ad87a7cb5125f745eb6a527c2962deb284d.zip
spike-e6685ad87a7cb5125f745eb6a527c2962deb284d.tar.gz
spike-e6685ad87a7cb5125f745eb6a527c2962deb284d.tar.bz2
Use RV config string rather than FDT
Diffstat (limited to 'riscv/sim.h')
-rw-r--r--riscv/sim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/sim.h b/riscv/sim.h
index 6ef2c82..6745e75 100644
--- a/riscv/sim.h
+++ b/riscv/sim.h
@@ -43,7 +43,7 @@ private:
size_t memsz; // memory size in bytes
mmu_t* debug_mmu; // debug port into main memory
std::vector<processor_t*> procs;
- std::unique_ptr<rom_device_t> devicetree;
+ std::unique_ptr<rom_device_t> config_string;
bus_t bus;
processor_t* get_core(const std::string& i);
@@ -60,7 +60,7 @@ private:
// memory-mapped I/O routines
bool mmio_load(reg_t addr, size_t len, uint8_t* bytes);
bool mmio_store(reg_t addr, size_t len, const uint8_t* bytes);
- void make_device_tree();
+ void make_config_string();
// presents a prompt for introspection into the simulation
void interactive();