summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2015-03-23 16:14:20 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2015-03-23 16:14:20 -0700
commit6677b9122adb3d519843e187f72c0f0268dd732e (patch)
tree63604e61f6b40acac2c7b332e6f89b8cb4d4f206 /src/mem/ruby/system
parentc55749d9989cf472cebc0bc93ccfa5edff0f67a8 (diff)
downloadgem5-6677b9122adb3d519843e187f72c0f0268dd732e.tar.xz
mem: rename Locked/LOCKED to LockedRMW/LOCKED_RMW
Makes x86-style locked operations even more distinct from LLSC operations. Using "locked" by itself should be obviously ambiguous now.
Diffstat (limited to 'src/mem/ruby/system')
-rw-r--r--src/mem/ruby/system/Sequencer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc
index dbf350199..98649dcd5 100644
--- a/src/mem/ruby/system/Sequencer.cc
+++ b/src/mem/ruby/system/Sequencer.cc
@@ -604,7 +604,7 @@ Sequencer::makeRequest(PacketPtr pkt)
primary_type = RubyRequestType_Load_Linked;
}
secondary_type = RubyRequestType_ATOMIC;
- } else if (pkt->req->isLocked()) {
+ } else if (pkt->req->isLockedRMW()) {
//
// x86 locked instructions are translated to store cache coherence
// requests because these requests should always be treated as read