Bug fix: functional cache port now needs otherPort set.

--HG--
extra : convert_revision : fb007df73a77535a5dba19341f7b0b32e8c99548
This commit is contained in:
Steve Reinhardt 2008-01-02 14:42:24 -08:00
parent cde5a79eab
commit 87e5fd1755

View file

@ -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());