From 87e5fd1755beb82c76ad1f11e8be37cb1b4f115e Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Wed, 2 Jan 2008 14:42:24 -0800 Subject: [PATCH] Bug fix: functional cache port now needs otherPort set. --HG-- extra : convert_revision : fb007df73a77535a5dba19341f7b0b32e8c99548 --- src/mem/bus.cc | 9 +++++++-- 1 file 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()); -- 2.30.2