From f593c8a8e2f10b38541efd78e026e29958fff31d Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Fri, 10 Nov 2006 12:25:08 -0500 Subject: [PATCH] Change up some warnings to DPRINTFs. --HG-- extra : convert_revision : b3e9fa094d68f608865dedfc9f3f4125a20fd748 --- src/cpu/o3/fetch_impl.hh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index 2f7a75129..f1d6cb64f 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -63,7 +63,8 @@ template void DefaultFetch::IcachePort::recvFunctional(PacketPtr pkt) { - warn("DefaultFetch doesn't update its state from a functional call."); + DPRINTF(Fetch, "DefaultFetch doesn't update its state from a " + "functional call."); } template @@ -80,6 +81,7 @@ template bool DefaultFetch::IcachePort::recvTiming(PacketPtr pkt) { + DPRINTF(Fetch, "Received timing\n"); if (pkt->isResponse()) { fetch->processCacheCompletion(pkt); } @@ -1161,8 +1163,8 @@ DefaultFetch::fetch(bool &status_change) fetch_PC = next_PC; if (instruction->isQuiesce()) { -// warn("%lli: Quiesce instruction encountered, halting fetch!", -// curTick); + DPRINTF(Fetch, "Quiesce instruction encountered, halting fetch!", + curTick); fetchStatus[tid] = QuiescePending; ++numInst; status_change = true; @@ -1281,7 +1283,8 @@ DefaultFetch::fetch(bool &status_change) status_change = true; #endif // FULL_SYSTEM - DPRINTF(Fetch, "[tid:%i]: fault (%d) detected @ PC %08p", tid, fault, PC[tid]); + DPRINTF(Fetch, "[tid:%i]: fault (%s) detected @ PC %08p", + tid, fault->name(), PC[tid]); } } -- 2.30.2