diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 21:44:15 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 21:44:15 -0700 |
commit | bd6f2bb538b09ce221c46d1ec5d5bfbf9a1d3350 (patch) | |
tree | 5492dc138704c1c3da4592a42f6a45be904e0188 /src/mem/physical.cc | |
parent | 089b3840865f816493a33f2ccf987307d0a79f87 (diff) | |
download | gem5-bd6f2bb538b09ce221c46d1ec5d5bfbf9a1d3350.tar.xz |
Mem: Change isLlsc to isLLSC.
Diffstat (limited to 'src/mem/physical.cc')
-rw-r--r-- | src/mem/physical.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mem/physical.cc b/src/mem/physical.cc index 86ecb506f..4a521717e 100644 --- a/src/mem/physical.cc +++ b/src/mem/physical.cc @@ -162,12 +162,12 @@ PhysicalMemory::checkLockedAddrList(PacketPtr pkt) { Request *req = pkt->req; Addr paddr = LockedAddr::mask(req->getPaddr()); - bool isLlsc = pkt->isLlsc(); + bool isLLSC = pkt->isLLSC(); // Initialize return value. Non-conditional stores always // succeed. Assume conditional stores will fail until proven // otherwise. - bool success = !isLlsc; + bool success = !isLLSC; // Iterate over list. Note that there could be multiple matching // records, as more than one context could have done a load locked @@ -179,7 +179,7 @@ PhysicalMemory::checkLockedAddrList(PacketPtr pkt) if (i->addr == paddr) { // we have a matching address - if (isLlsc && i->matchesContext(req)) { + if (isLLSC && i->matchesContext(req)) { // it's a store conditional, and as far as the memory // system can tell, the requesting context's lock is // still valid. @@ -199,7 +199,7 @@ PhysicalMemory::checkLockedAddrList(PacketPtr pkt) } } - if (isLlsc) { + if (isLLSC) { req->setExtraData(success ? 1 : 0); } @@ -284,7 +284,7 @@ PhysicalMemory::doAtomicAccess(PacketPtr pkt) TRACE_PACKET("Read/Write"); } else if (pkt->isRead()) { assert(!pkt->isWrite()); - if (pkt->isLlsc()) { + if (pkt->isLLSC()) { trackLoadLocked(pkt); } if (pmemAddr) |