Forgot to replace one of the RubyRequest_RMW
authorPolina Dudnik <pdudnik@gmail.com>
Mon, 13 Jul 2009 16:25:23 +0000 (11:25 -0500)
committerPolina Dudnik <pdudnik@gmail.com>
Mon, 13 Jul 2009 16:25:23 +0000 (11:25 -0500)
src/mem/ruby/system/Sequencer.cc

index d7d4ba8e036b69172bfc665af946f2d8c27d1af1..dc65d6fc627fac0f0244483900e75dbdec7d4b86 100644 (file)
@@ -201,7 +201,8 @@ bool Sequencer::insertRequest(SequencerRequest* request) {
   Address line_addr(request->ruby_request.paddr);
   line_addr.makeLineAddress();
   if ((request->ruby_request.type == RubyRequestType_ST) ||
-      (request->ruby_request.type == RubyRequestType_RMW)) {
+      (request->ruby_request.type == RubyRequestType_RMW_Read) ||  
+      (request->ruby_request.type == RubyRequestType_RMW_Write)) {
     if (m_writeRequestTable.exist(line_addr)) {
       m_writeRequestTable.lookup(line_addr) = request;
       //      return true;