Fix for LL/SC that Ron sent me.

--HG--
extra : convert_revision : b3510a23d8a9eb466939f38491a109c3a65a7363
This commit is contained in:
Kevin Lim 2007-02-06 15:54:44 -05:00
parent 17cbfe55fd
commit 310d8f0992

View file

@ -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),