diff options
Diffstat (limited to 'src/mem/port.cc')
-rw-r--r-- | src/mem/port.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/port.cc b/src/mem/port.cc index 933e98243..ee312eac7 100644 --- a/src/mem/port.cc +++ b/src/mem/port.cc @@ -49,7 +49,7 @@ #include "mem/port.hh" #include "base/trace.hh" -#include "mem/mem_object.hh" +#include "sim/sim_object.hh" BaseMasterPort::BaseMasterPort(const std::string &name, PortID _id) : Port(name, _id), _baseSlavePort(NULL) @@ -92,7 +92,7 @@ BaseSlavePort::getMasterPort() const /** * Master port */ -MasterPort::MasterPort(const std::string& name, MemObject* _owner, PortID _id) +MasterPort::MasterPort(const std::string& name, SimObject* _owner, PortID _id) : BaseMasterPort(name, _id), _slavePort(NULL), owner(*_owner) { } @@ -201,7 +201,7 @@ MasterPort::printAddr(Addr a) /** * Slave port */ -SlavePort::SlavePort(const std::string& name, MemObject* _owner, PortID id) +SlavePort::SlavePort(const std::string& name, SimObject* _owner, PortID id) : BaseSlavePort(name, id), _masterPort(NULL), defaultBackdoorWarned(false), owner(*_owner) { |