diff options
-rw-r--r-- | src/mem/ruby/system/RubyPort.cc | 1 | ||||
-rw-r--r-- | src/mem/ruby/system/Sequencer.cc | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mem/ruby/system/RubyPort.cc b/src/mem/ruby/system/RubyPort.cc index 662f971f2..179b0f4a1 100644 --- a/src/mem/ruby/system/RubyPort.cc +++ b/src/mem/ruby/system/RubyPort.cc @@ -56,6 +56,7 @@ RubyPort::RubyPort(const Params *p) access_phys_mem = p->access_phys_mem; ruby_system = p->ruby_system; + waitingOnSequencer = false; } void diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc index dcee57146..ceed068e8 100644 --- a/src/mem/ruby/system/Sequencer.cc +++ b/src/mem/ruby/system/Sequencer.cc @@ -616,7 +616,7 @@ Sequencer::issueRequest(const RubyRequest& request) { // TODO: Eliminate RubyRequest being copied again. - RubyRequestType ctype; + RubyRequestType ctype = RubyRequestType_NUM; switch(request.m_Type) { case RubyRequestType_IFETCH: ctype = RubyRequestType_IFETCH; @@ -657,7 +657,7 @@ Sequencer::issueRequest(const RubyRequest& request) assert(0); } - RubyAccessMode amtype; + RubyAccessMode amtype = RubyAccessMode_NUM; switch(request.m_AccessMode){ case RubyAccessMode_User: amtype = RubyAccessMode_User; |