summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorPolina Dudnik <pdudnik@gmail.com>2009-07-13 11:25:23 -0500
committerPolina Dudnik <pdudnik@gmail.com>2009-07-13 11:25:23 -0500
commit86ce60e5cd9524b4130d361e1f7ea0a2ba266e5b (patch)
tree0e8bc1193917e59214dfaecb799ffe9ea87a4e62 /src/mem/ruby
parent226981b2a65ee4c544bc595d7718de8225fda0b0 (diff)
downloadgem5-86ce60e5cd9524b4130d361e1f7ea0a2ba266e5b.tar.xz
Forgot to replace one of the RubyRequest_RMW
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/system/Sequencer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc
index d7d4ba8e0..dc65d6fc6 100644
--- a/src/mem/ruby/system/Sequencer.cc
+++ b/src/mem/ruby/system/Sequencer.cc
@@ -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;