Fix a typo in the printf
--HG-- extra : convert_revision : bfa8ffae0a9bef25ceca168ff376ba816abf23f3
This commit is contained in:
parent
094c6de663
commit
c4dba7a8ed
1 changed files with 4 additions and 4 deletions
8
src/mem/cache/cache_impl.hh
vendored
8
src/mem/cache/cache_impl.hh
vendored
|
@ -458,7 +458,7 @@ Cache<TagStore,Buffering,Coherence>::snoop(Packet * &pkt)
|
||||||
CacheBlk::State new_state;
|
CacheBlk::State new_state;
|
||||||
bool satisfy = coherence->handleBusRequest(pkt,blk,mshr, new_state);
|
bool satisfy = coherence->handleBusRequest(pkt,blk,mshr, new_state);
|
||||||
if (satisfy) {
|
if (satisfy) {
|
||||||
DPRINTF(Cache, "Cache snooped a %c request and now supplying data,"
|
DPRINTF(Cache, "Cache snooped a %s request and now supplying data,"
|
||||||
"new state is %i\n",
|
"new state is %i\n",
|
||||||
pkt->cmdString(), new_state);
|
pkt->cmdString(), new_state);
|
||||||
|
|
||||||
|
@ -466,7 +466,7 @@ Cache<TagStore,Buffering,Coherence>::snoop(Packet * &pkt)
|
||||||
respondToSnoop(pkt, curTick + hitLatency);
|
respondToSnoop(pkt, curTick + hitLatency);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (blk) DPRINTF(Cache, "Cache snooped a %c request, new state is %i\n",
|
if (blk) DPRINTF(Cache, "Cache snooped a %s request, new state is %i\n",
|
||||||
pkt->cmdString(), new_state);
|
pkt->cmdString(), new_state);
|
||||||
tags->handleSnoop(blk, new_state);
|
tags->handleSnoop(blk, new_state);
|
||||||
}
|
}
|
||||||
|
@ -685,14 +685,14 @@ Cache<TagStore,Buffering,Coherence>::snoopProbe(PacketPtr &pkt)
|
||||||
CacheBlk::State new_state = 0;
|
CacheBlk::State new_state = 0;
|
||||||
bool satisfy = coherence->handleBusRequest(pkt,blk,mshr, new_state);
|
bool satisfy = coherence->handleBusRequest(pkt,blk,mshr, new_state);
|
||||||
if (satisfy) {
|
if (satisfy) {
|
||||||
DPRINTF(Cache, "Cache snooped a %c request and now supplying data,"
|
DPRINTF(Cache, "Cache snooped a %s request and now supplying data,"
|
||||||
"new state is %i\n",
|
"new state is %i\n",
|
||||||
pkt->cmdString(), new_state);
|
pkt->cmdString(), new_state);
|
||||||
|
|
||||||
tags->handleSnoop(blk, new_state, pkt);
|
tags->handleSnoop(blk, new_state, pkt);
|
||||||
return hitLatency;
|
return hitLatency;
|
||||||
}
|
}
|
||||||
if (blk) DPRINTF(Cache, "Cache snooped a %c request, new state is %i\n",
|
if (blk) DPRINTF(Cache, "Cache snooped a %s request, new state is %i\n",
|
||||||
pkt->cmdString(), new_state);
|
pkt->cmdString(), new_state);
|
||||||
tags->handleSnoop(blk, new_state);
|
tags->handleSnoop(blk, new_state);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue