From 7767f5af734bdab41da5e81b8d432223b955ba34 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 11 Oct 2006 00:54:47 -0400 Subject: [PATCH] Don't call recvRetry if the bus is busy anyway. This takes care of a corner case as well when dealing with grants that aren't used. --HG-- extra : convert_revision : 38f7ef1b41477fb2a2438387ef3a81cccd3e7a8a --- src/mem/bus.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mem/bus.cc b/src/mem/bus.cc index 6065ee1f1..3998666c7 100644 --- a/src/mem/bus.cc +++ b/src/mem/bus.cc @@ -206,8 +206,8 @@ void Bus::recvRetry(int id) { DPRINTF(Bus, "Received a retry\n"); - // If there's anything waiting... - if (retryList.size()) { + // If there's anything waiting, and the bus isn't busy... + if (retryList.size() && curTick >= tickNextIdle) { //retryingPort = retryList.front(); inRetry = true; DPRINTF(Bus, "Sending a retry\n");