diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 04:25:01 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 04:25:01 -0700 |
commit | 3e5f4876630169e92b3ad736d747bcba1b79c062 (patch) | |
tree | cc6f7aa2f13331839567c1b5844ea2d8412df163 /src/mem/physical.hh | |
parent | ca8598147835cc3bf4cb6125b4f32cbd941f1ae7 (diff) | |
download | gem5-3e5f4876630169e92b3ad736d747bcba1b79c062.tar.xz |
Memory: Rename LOCKED for load locked store conditional to LLSC.
Diffstat (limited to 'src/mem/physical.hh')
-rw-r--r-- | src/mem/physical.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/physical.hh b/src/mem/physical.hh index d18138ecd..2a3bea7a5 100644 --- a/src/mem/physical.hh +++ b/src/mem/physical.hh @@ -129,11 +129,11 @@ class PhysicalMemory : public MemObject Request *req = pkt->req; if (lockedAddrList.empty()) { // no locked addrs: nothing to check, store_conditional fails - bool isLocked = pkt->isLocked(); - if (isLocked) { + bool isLlsc = pkt->isLlsc(); + if (isLlsc) { req->setExtraData(0); } - return !isLocked; // only do write if not an sc + return !isLlsc; // only do write if not an sc } else { // iterate over list... return checkLockedAddrList(pkt); |