summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorPolina Dudnik <pdudnik@gmail.com>2009-07-13 12:11:17 -0500
committerPolina Dudnik <pdudnik@gmail.com>2009-07-13 12:11:17 -0500
commitb28058917c7bd324ca2b080a0a5f7ba617ea4c40 (patch)
tree462327940b9e0550257cc345a07f294272ae04ef /src/mem
parent7a6bf67e47196fb9e6f3cac049203107381f7723 (diff)
downloadgem5-b28058917c7bd324ca2b080a0a5f7ba617ea4c40.tar.xz
Locked requests should actually be converted to ST rather than ATOMIC, because ATOMIC is for RMW.
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/ruby/system/Sequencer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc
index c3a8e9424..eb694fa13 100644
--- a/src/mem/ruby/system/Sequencer.cc
+++ b/src/mem/ruby/system/Sequencer.cc
@@ -397,10 +397,10 @@ void Sequencer::issueRequest(const RubyRequest& request) {
ctype = CacheRequestType_ST;
break;
case RubyRequestType_Locked_Read:
- ctype = CacheRequestType_ATOMIC;
+ ctype = CacheRequestType_ST;
break;
case RubyRequestType_Locked_Write:
- ctype = CacheRequestType_ATOMIC;
+ ctype = CacheRequestType_ST;
break;
default:
assert(0);