mem-cache: Add match functions to QueueEntry
[gem5.git] / src / mem / addr_mapper.hh
index 6765638e97883e826e482352dba763078a2feaf4..aaefdedc361cb773392d4569cf81eca55738a7ca 100644 (file)
@@ -62,13 +62,10 @@ class AddrMapper : public MemObject
 
     virtual ~AddrMapper() { }
 
-    virtual BaseMasterPort& getMasterPort(const std::string& if_name,
-                                          PortID idx = InvalidPortID);
+    Port &getPort(const std::string &if_name,
+                  PortID idx=InvalidPortID) override;
 
-    virtual BaseSlavePort& getSlavePort(const std::string& if_name,
-                                        PortID idx = InvalidPortID);
-
-    virtual void init();
+    void init() override;
 
   protected: