ruby: remove some of the unnecessary code
This commit is contained in:
parent
11ffa379ab
commit
f7e7fa6d90
|
@ -46,4 +46,3 @@ extern std::vector<std::map<uint32_t, AbstractController *> > g_abs_controls;
|
|||
extern Cycles g_ruby_start;
|
||||
|
||||
#endif // __MEM_RUBY_COMMON_GLOBAL_HH__
|
||||
|
||||
|
|
|
@ -57,15 +57,14 @@ RubyPort::RubyPort(const Params *p)
|
|||
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
|
||||
|
|
|
@ -49,7 +49,6 @@
|
|||
#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"
|
||||
|
||||
|
@ -206,8 +205,6 @@ class RubyPort : public MemObject
|
|||
std::vector<PioMasterPort *> master_ports;
|
||||
|
||||
DrainManager *drainManager;
|
||||
|
||||
RubySystem* ruby_system;
|
||||
System* system;
|
||||
|
||||
//
|
||||
|
|
|
@ -40,8 +40,6 @@
|
|||
#include "mem/ruby/system/RubyPort.hh"
|
||||
#include "params/RubySequencer.hh"
|
||||
|
||||
class DataBlock;
|
||||
|
||||
struct SequencerRequest
|
||||
{
|
||||
PacketPtr pkt;
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#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"
|
||||
|
@ -81,13 +80,6 @@ class RubySystem : public ClockedObject
|
|||
static uint32_t getMemorySizeBits() { return m_memory_size_bits; }
|
||||
|
||||
// Public Methods
|
||||
Network*
|
||||
getNetwork()
|
||||
{
|
||||
assert(m_network != NULL);
|
||||
return m_network;
|
||||
}
|
||||
|
||||
Profiler*
|
||||
getProfiler()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue