sim: Add a system-global option to bypass caches
[gem5.git] / src / cpu / testers / rubytest / RubyTester.hh
index 8fbd886b3cd652bd4c97457a6ee6e0453eb5b9df..2fed84e2d57dbb25fd407e36e0203cd8b8f30a71 100644 (file)
@@ -57,7 +57,7 @@ class RubyTester : public MemObject
         // RubyPorts that support both types of requests, separate InstOnly
         // and DataOnly CpuPorts will map to that RubyPort
 
-        CpuPort(const std::string &_name, RubyTester *_tester, PortId _id)
+        CpuPort(const std::string &_name, RubyTester *_tester, PortID _id)
             : MasterPort(_name, _tester, _id), tester(_tester)
         {}
 
@@ -89,8 +89,8 @@ class RubyTester : public MemObject
     RubyTester(const Params *p);
     ~RubyTester();
 
-    virtual MasterPort &getMasterPort(const std::string &if_name,
-                                      int idx = -1);
+    virtual BaseMasterPort &getMasterPort(const std::string &if_name,
+                                          PortID idx = InvalidPortID);
 
     bool isInstReadableCpuPort(int idx);