diff options
author | Polina Dudnik <pdudnik@gmail.com> | 2009-07-13 12:11:17 -0500 |
---|---|---|
committer | Polina Dudnik <pdudnik@gmail.com> | 2009-07-13 12:11:17 -0500 |
commit | b28058917c7bd324ca2b080a0a5f7ba617ea4c40 (patch) | |
tree | 462327940b9e0550257cc345a07f294272ae04ef /src | |
parent | 7a6bf67e47196fb9e6f3cac049203107381f7723 (diff) | |
download | gem5-b28058917c7bd324ca2b080a0a5f7ba617ea4c40.tar.xz |
Locked requests should actually be converted to ST rather than ATOMIC, because ATOMIC is for RMW.
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/ruby/system/Sequencer.cc | 4 |
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); |