summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2008-01-02 14:42:24 -0800
committerSteve Reinhardt <stever@gmail.com>2008-01-02 14:42:24 -0800
commit87e5fd1755beb82c76ad1f11e8be37cb1b4f115e (patch)
tree72385609212cfe70c80d03358b757f6d87b1dbcc /src/mem
parentcde5a79eab22a3f6f10ebc68f24260721c98790f (diff)
downloadgem5-87e5fd1755beb82c76ad1f11e8be37cb1b4f115e.tar.xz
Bug fix: functional cache port now needs otherPort set.
--HG-- extra : convert_revision : fb007df73a77535a5dba19341f7b0b32e8c99548
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/bus.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mem/bus.cc b/src/mem/bus.cc
index 02012ad4c..cfddfff12 100644
--- a/src/mem/bus.cc
+++ b/src/mem/bus.cc
@@ -419,8 +419,13 @@ Bus::recvAtomic(PacketPtr pkt)
void
Bus::recvFunctional(PacketPtr pkt)
{
- DPRINTF(Bus, "recvFunctional: packet src %d dest %d addr 0x%x cmd %s\n",
- pkt->getSrc(), pkt->getDest(), pkt->getAddr(), pkt->cmdString());
+ if (!pkt->isPrint()) {
+ // don't do DPRINTFs on PrintReq as it clutters up the output
+ DPRINTF(Bus,
+ "recvFunctional: packet src %d dest %d addr 0x%x cmd %s\n",
+ pkt->getSrc(), pkt->getDest(), pkt->getAddr(),
+ pkt->cmdString());
+ }
assert(pkt->getDest() == Packet::Broadcast);
int port_id = findPort(pkt->getAddr());