From: Kevin Lim Date: Fri, 10 Nov 2006 17:25:08 +0000 (-0500) Subject: Change up some warnings to DPRINTFs. X-Git-Tag: m5_2.0_beta2~69 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f593c8a8e2f10b38541efd78e026e29958fff31d;p=gem5.git Change up some warnings to DPRINTFs. --HG-- extra : convert_revision : b3e9fa094d68f608865dedfc9f3f4125a20fd748 --- 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]); } }