summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-10-11 00:54:47 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-10-11 00:54:47 -0400
commit7767f5af734bdab41da5e81b8d432223b955ba34 (patch)
treec775ea2dc3032d647f1926540cfa8ad6b10a8aa3 /src
parenta139e4394d473ce1927d8f800640cf9688c70652 (diff)
downloadgem5-7767f5af734bdab41da5e81b8d432223b955ba34.tar.xz
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
Diffstat (limited to 'src')
-rw-r--r--src/mem/bus.cc4
1 files 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");