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 9cebd5897..554f5bb1e 100644 --- a/src/mem/port.cc +++ b/src/mem/port.cc @@ -50,7 +50,7 @@ #include "mem/mem_object.hh" #include "mem/port.hh" -Port::Port(const std::string &_name, MemObject& _owner, PortId _id) +Port::Port(const std::string &_name, MemObject& _owner, PortID _id) : portName(_name), id(_id), peer(NULL), owner(_owner) { } @@ -62,7 +62,7 @@ Port::~Port() /** * Master port */ -MasterPort::MasterPort(const std::string& name, MemObject* owner, PortId _id) +MasterPort::MasterPort(const std::string& name, MemObject* owner, PortID _id) : Port(name, *owner, _id), _slavePort(NULL) { } @@ -146,7 +146,7 @@ MasterPort::printAddr(Addr a) /** * Slave port */ -SlavePort::SlavePort(const std::string& name, MemObject* owner, PortId id) +SlavePort::SlavePort(const std::string& name, MemObject* owner, PortID id) : Port(name, *owner, id), _masterPort(NULL) { } |