From 95a0b184314cf0171a20fb7e71c845891dc56496 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Thu, 6 Nov 2014 05:41:44 -0600 Subject: ruby: single physical memory in fs mode Both ruby and the system used to maintain memory copies. With the changes carried for programmed io accesses, only one single memory is required for fs simulations. This patch sets the copy of memory that used to reside with the system to null, so that no space is allocated, but address checks can still be carried out. All the memory accesses now source and sink values to the memory maintained by ruby. --- src/mem/ruby/system/DMASequencer.hh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mem/ruby/system/DMASequencer.hh') diff --git a/src/mem/ruby/system/DMASequencer.hh b/src/mem/ruby/system/DMASequencer.hh index a24db2d34..be386f1a1 100644 --- a/src/mem/ruby/system/DMASequencer.hh +++ b/src/mem/ruby/system/DMASequencer.hh @@ -66,11 +66,10 @@ class DMASequencer : public MemObject { private: SlavePacketQueue queue; - bool access_phys_mem; public: MemSlavePort(const std::string &_name, DMASequencer *_port, - bool _access_phys_mem, PortID id); + PortID id); void hitCallback(PacketPtr pkt); void evictionCallback(const Address& address); @@ -140,8 +139,6 @@ class DMASequencer : public MemObject System* system; bool retry; - bool access_phys_mem; - bool m_is_busy; uint64_t m_data_block_mask; DMARequest active_request; -- cgit v1.2.3