From: Steve Reinhardt Date: Wed, 2 Jan 2008 22:42:24 +0000 (-0800) Subject: Bug fix: functional cache port now needs otherPort set. X-Git-Tag: m5_2.0_beta5~41 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87e5fd1755beb82c76ad1f11e8be37cb1b4f115e;p=gem5.git Bug fix: functional cache port now needs otherPort set. --HG-- extra : convert_revision : fb007df73a77535a5dba19341f7b0b32e8c99548 --- 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());