summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-11-10 12:25:08 -0500
committerKevin Lim <ktlim@umich.edu>2006-11-10 12:25:08 -0500
commitf593c8a8e2f10b38541efd78e026e29958fff31d (patch)
treec0152a479d178b4aa1f9c356f9df6f56d5a76648
parent2fa535f7407ad2a7e1e2ec807b72d11a81fa25aa (diff)
downloadgem5-f593c8a8e2f10b38541efd78e026e29958fff31d.tar.xz
Change up some warnings to DPRINTFs.
--HG-- extra : convert_revision : b3e9fa094d68f608865dedfc9f3f4125a20fd748
-rw-r--r--src/cpu/o3/fetch_impl.hh11
1 files 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<class Impl>
void
DefaultFetch<Impl>::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<class Impl>
@@ -80,6 +81,7 @@ template<class Impl>
bool
DefaultFetch<Impl>::IcachePort::recvTiming(PacketPtr pkt)
{
+ DPRINTF(Fetch, "Received timing\n");
if (pkt->isResponse()) {
fetch->processCacheCompletion(pkt);
}
@@ -1161,8 +1163,8 @@ DefaultFetch<Impl>::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<Impl>::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]);
}
}