diff options
Diffstat (limited to 'src/mem/cache/mshr.cc')
-rw-r--r-- | src/mem/cache/mshr.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mem/cache/mshr.cc b/src/mem/cache/mshr.cc index e3ee44cc6..7c560095c 100644 --- a/src/mem/cache/mshr.cc +++ b/src/mem/cache/mshr.cc @@ -231,6 +231,7 @@ MSHR::TargetList::print(std::ostream &os, int verbosity, } ccprintf(os, "%s%s: ", prefix, s); t.pkt->print(os, verbosity, ""); + ccprintf(os, "\n"); } } @@ -343,15 +344,14 @@ MSHR::allocateTarget(PacketPtr pkt, Tick whenReady, Counter _order, bool MSHR::handleSnoop(PacketPtr pkt, Counter _order) { - DPRINTF(Cache, "%s for %s addr %#llx size %d\n", __func__, - pkt->cmdString(), pkt->getAddr(), pkt->getSize()); + DPRINTF(Cache, "%s for %s\n", __func__, pkt->print()); // when we snoop packets the needsWritable and isInvalidate flags // should always be the same, however, this assumes that we never // snoop writes as they are currently not marked as invalidations panic_if(pkt->needsWritable() != pkt->isInvalidate(), - "%s got snoop %s to addr %#llx where needsWritable, " - "does not match isInvalidate", name(), pkt->cmdString(), + "%s got snoop %s where needsWritable, " + "does not match isInvalidate", name(), pkt->print(), pkt->getAddr()); if (!inService || (pkt->isExpressSnoop() && downstreamPending)) { |