ruby: made Locked read/write atomic requests within ruby
authorDerek Hower <drh5@cs.wisc.edu>
Wed, 9 Sep 2009 17:39:10 +0000 (12:39 -0500)
committerDerek Hower <drh5@cs.wisc.edu>
Wed, 9 Sep 2009 17:39:10 +0000 (12:39 -0500)
src/mem/ruby/system/Sequencer.cc

index 9549cc3401cf73c93791156ae7d7baa9fa4ba9b4..a342550eff7498ad62a7cc10771dee00bfd8d062 100644 (file)
@@ -461,14 +461,8 @@ void Sequencer::issueRequest(const RubyRequest& request) {
     ctype = CacheRequestType_ST;
     break;
   case RubyRequestType_Locked_Read:
-    ctype = CacheRequestType_ST;
-    break;
   case RubyRequestType_Locked_Write:
-    ctype = CacheRequestType_ST;
-    break;
   case RubyRequestType_RMW_Read:
-    ctype = CacheRequestType_ATOMIC;
-    break;
   case RubyRequestType_RMW_Write:
     ctype = CacheRequestType_ATOMIC;
     break;