memSlavePort(csprintf("%s-mem-slave-port", name()), this,
p->ruby_system, p->access_phys_mem, -1),
gotAddrRanges(p->port_master_connection_count), drainManager(NULL),
- ruby_system(p->ruby_system), system(p->system),
- access_phys_mem(p->access_phys_mem)
+ system(p->system), access_phys_mem(p->access_phys_mem)
{
assert(m_version != -1);
// create the slave ports based on the number of connected ports
for (size_t i = 0; i < p->port_slave_connection_count; ++i) {
slave_ports.push_back(new MemSlavePort(csprintf("%s.slave%d", name(),
- i), this, ruby_system, access_phys_mem, i));
+ i), this, p->ruby_system, access_phys_mem, i));
}
// create the master ports based on the number of connected ports
#include "mem/ruby/buffers/MessageBuffer.hh"
#include "mem/ruby/system/System.hh"
#include "mem/mem_object.hh"
-#include "mem/physical.hh"
#include "mem/tport.hh"
#include "params/RubyPort.hh"
std::vector<PioMasterPort *> master_ports;
DrainManager *drainManager;
-
- RubySystem* ruby_system;
System* system;
//
#include "base/callback.hh"
#include "base/output.hh"
#include "mem/packet.hh"
-#include "mem/ruby/common/Global.hh"
#include "mem/ruby/profiler/Profiler.hh"
#include "mem/ruby/recorder/CacheRecorder.hh"
#include "mem/ruby/slicc_interface/AbstractController.hh"
static uint32_t getMemorySizeBits() { return m_memory_size_bits; }
// Public Methods
- Network*
- getNetwork()
- {
- assert(m_network != NULL);
- return m_network;
- }
-
Profiler*
getProfiler()
{