summaryrefslogtreecommitdiff
path: root/src/mem/port.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/port.hh')
-rw-r--r--src/mem/port.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mem/port.hh b/src/mem/port.hh
index 72a02711c..76ad3bd63 100644
--- a/src/mem/port.hh
+++ b/src/mem/port.hh
@@ -55,7 +55,7 @@
#include "mem/packet.hh"
#include "sim/port.hh"
-class MemObject;
+class SimObject;
/** Forward declaration */
class BaseSlavePort;
@@ -123,11 +123,11 @@ class MasterPort : public BaseMasterPort
protected:
- MemObject& owner;
+ SimObject& owner;
public:
- MasterPort(const std::string& name, MemObject* _owner,
+ MasterPort(const std::string& name, SimObject* _owner,
PortID id=InvalidPortID);
virtual ~MasterPort();
@@ -317,11 +317,11 @@ class SlavePort : public BaseSlavePort
protected:
- MemObject& owner;
+ SimObject& owner;
public:
- SlavePort(const std::string& name, MemObject* _owner,
+ SlavePort(const std::string& name, SimObject* _owner,
PortID id=InvalidPortID);
virtual ~SlavePort();