Couple more minor bug fixes for FS timing mode.

src/cpu/simple/timing.cc:
    Fix another SC problem.
src/mem/cache/cache_impl.hh:
    Forgot to call makeTimingResponse() on uncached timing responses.

--HG--
extra : convert_revision : 5a5a58ca2053e4e8de2133205bfd37de15eb4209
This commit is contained in:
Steve Reinhardt
2007-07-02 13:57:45 -07:00
parent e9c04dad60
commit 4b68652c87
2 changed files with 8 additions and 6 deletions

View File

@@ -698,6 +698,7 @@ Cache<TagStore>::handleResponse(PacketPtr pkt)
if (pkt->isRead()) {
target->pkt->setData(pkt->getPtr<uint8_t>());
}
target->pkt->makeTimingResponse();
cpuSidePort->respond(target->pkt, time);
}
assert(!mshr->hasTargets());