diff options
author | Jason Power <power.jg@gmail.com> | 2015-02-26 09:58:26 -0600 |
---|---|---|
committer | Jason Power <power.jg@gmail.com> | 2015-02-26 09:58:26 -0600 |
commit | 670f44e05eb8eb1a56b36c4390cf83807a28d823 (patch) | |
tree | a050dd6f28aebe5221bcf109c2dadb085ad1a67c /src/mem/ruby/system/System.hh | |
parent | f18d2120fa66803912dcce61fe6c704a6a05a2d1 (diff) | |
download | gem5-670f44e05eb8eb1a56b36c4390cf83807a28d823.tar.xz |
Ruby: Update backing store option to propagate through to all RubyPorts
Previously, the user would have to manually set access_backing_store=True
on all RubyPorts (Sequencers) in the config files.
Now, instead there is one global option that each RubyPort checks on
initialization.
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/mem/ruby/system/System.hh')
-rw-r--r-- | src/mem/ruby/system/System.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/ruby/system/System.hh b/src/mem/ruby/system/System.hh index 06f1c514f..72de74702 100644 --- a/src/mem/ruby/system/System.hh +++ b/src/mem/ruby/system/System.hh @@ -76,6 +76,7 @@ class RubySystem : public ClockedObject static uint32_t getMemorySizeBits() { return m_memory_size_bits; } SimpleMemory *getPhysMem() { return m_phys_mem; } + const bool getAccessBackingStore() { return m_access_backing_store; } // Public Methods Profiler* @@ -125,6 +126,7 @@ class RubySystem : public ClockedObject static uint32_t m_block_size_bits; static uint32_t m_memory_size_bits; SimpleMemory *m_phys_mem; + const bool m_access_backing_store; Network* m_network; std::vector<AbstractController *> m_abs_cntrl_vec; |