diff options
Diffstat (limited to 'src/mem/ruby/system/Sequencer.cc')
-rw-r--r-- | src/mem/ruby/system/Sequencer.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc index 800352eed..7f916957b 100644 --- a/src/mem/ruby/system/Sequencer.cc +++ b/src/mem/ruby/system/Sequencer.cc @@ -644,16 +644,16 @@ Sequencer::issueRequest(const RubyRequest& request) assert(0); } - AccessModeType amtype; + RubyAccessMode amtype; switch(request.access_mode){ case RubyAccessMode_User: - amtype = AccessModeType_UserMode; + amtype = RubyAccessMode_User; break; case RubyAccessMode_Supervisor: - amtype = AccessModeType_SupervisorMode; + amtype = RubyAccessMode_Supervisor; break; case RubyAccessMode_Device: - amtype = AccessModeType_UserMode; + amtype = RubyAccessMode_User; break; default: assert(0); @@ -686,7 +686,7 @@ Sequencer::issueRequest(const RubyRequest& request) #if 0 bool Sequencer::tryCacheAccess(const Address& addr, CacheRequestType type, - AccessModeType access_mode, + RubyAccessMode access_mode, int size, DataBlock*& data_ptr) { CacheMemory *cache = |