arch, cpu, dev, gpu, mem, sim, python: start using getPort.
[gem5.git] / src / gpu-compute / dispatcher.cc
index db250c28bf174a449a955704b0abe14a34c3c89e..211e399d2afd8def5eb0133f556c2b9d3d70bafd 100644 (file)
@@ -251,14 +251,14 @@ GpuDispatcher::write(PacketPtr pkt)
 }
 
 
-BaseMasterPort&
-GpuDispatcher::getMasterPort(const std::string &if_name, PortID idx)
+Port &
+GpuDispatcher::getPort(const std::string &if_name, PortID idx)
 {
     if (if_name == "translation_port") {
         return *tlbPort;
     }
 
-    return DmaDevice::getMasterPort(if_name, idx);
+    return DmaDevice::getPort(if_name, idx);
 }
 
 void