diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-05-23 17:16:45 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-05-23 17:16:45 -0400 |
commit | cf826ae296a4277bdf2ce46e4484295efde5a3c2 (patch) | |
tree | bab4ed90c6c4f71b448fcf795abd6ada66c98fdb /src/mem/physical.cc | |
parent | 20051d41d50a717b6aa384e59039ca987c284932 (diff) | |
download | gem5-cf826ae296a4277bdf2ce46e4484295efde5a3c2.tar.xz |
Minor fixes for full-system timing memory.
Need to rewrite bus bridge to get any further.
src/dev/io_device.cc:
Set packet dest on timing responses.
src/mem/bus.cc:
Fix dest addr bounds check assertion.
Add assertion to catch infinite loopbacks.
src/mem/physical.cc:
Add comment.
--HG--
extra : convert_revision : 419b65a3a61e2d099884dbda117b338dffd80896
Diffstat (limited to 'src/mem/physical.cc')
-rw-r--r-- | src/mem/physical.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/physical.cc b/src/mem/physical.cc index bc2500678..75179f9e3 100644 --- a/src/mem/physical.cc +++ b/src/mem/physical.cc @@ -127,6 +127,7 @@ PhysicalMemory::doTimingAccess (Packet *pkt, MemoryPort* memoryPort) { doFunctionalAccess(pkt); + // turn packet around to go back to requester pkt->dest = pkt->src; MemResponseEvent* response = new MemResponseEvent(pkt, memoryPort); response->schedule(curTick + lat); |