diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2007-07-29 13:24:48 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2007-07-29 13:24:48 -0700 |
commit | 4a7d0c4b79450e05b87da4cfc48c2361758127c1 (patch) | |
tree | fe572d9c9cfa26dec42d387f6dfb5540a2df683e /src | |
parent | 398f6a70a788f1459cec7509859450984e442690 (diff) | |
download | gem5-4a7d0c4b79450e05b87da4cfc48c2361758127c1.tar.xz |
bus: take out response prioritization (timing was messed up).
Also make express snoops not occupy bus (since they're magic).
--HG--
extra : convert_revision : 75aa5211a59380026d1e3f122778425e48e2edcd
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/bus.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mem/bus.cc b/src/mem/bus.cc index 518c9dbfa..cb359734b 100644 --- a/src/mem/bus.cc +++ b/src/mem/bus.cc @@ -180,7 +180,7 @@ Bus::recvTiming(PacketPtr pkt) // If the bus is busy, or other devices are in line ahead of the current // one, put this device on the retry list. - if (!(pkt->isResponse() || pkt->isExpressSnoop()) && + if (!pkt->isExpressSnoop() && (tickNextIdle > curTick || (retryList.size() && (!inRetry || src_port != retryList.front())))) { @@ -189,7 +189,9 @@ Bus::recvTiming(PacketPtr pkt) return false; } - occupyBus(pkt); + if (!pkt->isExpressSnoop()) { + occupyBus(pkt); + } short dest = pkt->getDest(); int dest_port_id; |