From bd6f2bb538b09ce221c46d1ec5d5bfbf9a1d3350 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 19 Apr 2009 21:44:15 -0700 Subject: Mem: Change isLlsc to isLLSC. --- src/mem/physical.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mem/physical.cc') 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) -- cgit v1.2.3