Fix for LL/SC that Ron sent me.
--HG-- extra : convert_revision : b3510a23d8a9eb466939f38491a109c3a65a7363
This commit is contained in:
parent
17cbfe55fd
commit
310d8f0992
1 changed files with 2 additions and 2 deletions
4
src/mem/cache/cache_impl.hh
vendored
4
src/mem/cache/cache_impl.hh
vendored
|
@ -342,8 +342,8 @@ Cache<TagStore,Coherence>::handleFill(BlkType *blk, MSHR * mshr,
|
||||||
target->getPtr<uint8_t>(), target->getSize());
|
target->getPtr<uint8_t>(), target->getSize());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (pkt->req->isLocked()) {
|
if (target->req->isLocked()) {
|
||||||
blk->trackLoadLocked(pkt->req);
|
blk->trackLoadLocked(target->req);
|
||||||
}
|
}
|
||||||
std::memcpy(target->getPtr<uint8_t>(),
|
std::memcpy(target->getPtr<uint8_t>(),
|
||||||
blk->data + target->getOffset(blkSize),
|
blk->data + target->getOffset(blkSize),
|
||||||
|
|
Loading…
Reference in a new issue