projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mem-cache: Move Target to QueueEntry
[gem5.git]
/
src
/
mem
/
cache
/
noncoherent_cache.cc
diff --git
a/src/mem/cache/noncoherent_cache.cc
b/src/mem/cache/noncoherent_cache.cc
index ca282a38dab3e7c1f142120c63be8ec6963b64c2..9a2a1db9d85a3c412e3d380b31e06eefc0c68dbb 100644
(file)
--- a/
src/mem/cache/noncoherent_cache.cc
+++ b/
src/mem/cache/noncoherent_cache.cc
@@
-245,9
+245,8
@@
void
NoncoherentCache::serviceMSHRTargets(MSHR *mshr, const PacketPtr pkt,
CacheBlk *blk)
{
NoncoherentCache::serviceMSHRTargets(MSHR *mshr, const PacketPtr pkt,
CacheBlk *blk)
{
- MSHR::Target *initial_tgt = mshr->getTarget();
// First offset for critical word first calculations
// First offset for critical word first calculations
- const int initial_offset =
initial_tgt
->pkt->getOffset(blkSize);
+ const int initial_offset =
mshr->getTarget()
->pkt->getOffset(blkSize);
MSHR::TargetList targets = mshr->extractServiceableTargets(pkt);
for (auto &target: targets) {
MSHR::TargetList targets = mshr->extractServiceableTargets(pkt);
for (auto &target: targets) {
@@
-288,7
+287,7
@@
NoncoherentCache::serviceMSHRTargets(MSHR *mshr, const PacketPtr pkt,
// Reset the bus additional time as it is now accounted for
tgt_pkt->headerDelay = tgt_pkt->payloadDelay = 0;
// Reset the bus additional time as it is now accounted for
tgt_pkt->headerDelay = tgt_pkt->payloadDelay = 0;
- cpuSidePort.schedTimingResp(tgt_pkt, completion_time
, true
);
+ cpuSidePort.schedTimingResp(tgt_pkt, completion_time);
break;
case MSHR::Target::FromPrefetcher:
break;
case MSHR::Target::FromPrefetcher: