ruby: move stall and wakeup functions to AbstractController
[gem5.git] / src / mem / coherent_bus.cc
index b57484ab3b3d826f546f0c13c64e7cc7a54342b3..0166872a78f2fd99c534d92fc4abf9ac30e6438b 100644 (file)
@@ -179,6 +179,9 @@ CoherentBus::recvTimingReq(PacketPtr pkt, PortID slave_port_id)
             if (add_outstanding)
                 outstandingReq.erase(pkt->req);
 
+            // undo the calculation so we can check for 0 again
+            pkt->busFirstWordDelay = pkt->busLastWordDelay = 0;
+
             DPRINTF(CoherentBus, "recvTimingReq: src %s %s 0x%x RETRY\n",
                     src_port->name(), pkt->cmdString(), pkt->getAddr());