diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2011-03-19 18:34:37 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2011-03-19 18:34:37 -0500 |
commit | 2f4276448b82b2aa077ae257171b5cb04b7048f6 (patch) | |
tree | 7e5d6bdcf8b3028ac7aed6c889efb820b2db91d9 /src/mem/ruby/slicc_interface | |
parent | dd9083115ed3f1ee297c2ff7255fdd3fee276e7a (diff) | |
download | gem5-2f4276448b82b2aa077ae257171b5cb04b7048f6.tar.xz |
Ruby: Convert AccessModeType to RubyAccessMode
This patch converts AccessModeType to RubyAccessMode so that both the
protocol dependent and independent code uses the same access mode.
Diffstat (limited to 'src/mem/ruby/slicc_interface')
-rw-r--r-- | src/mem/ruby/slicc_interface/RubyRequest.hh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mem/ruby/slicc_interface/RubyRequest.hh b/src/mem/ruby/slicc_interface/RubyRequest.hh index b97e8cbbc..6d0e23bfe 100644 --- a/src/mem/ruby/slicc_interface/RubyRequest.hh +++ b/src/mem/ruby/slicc_interface/RubyRequest.hh @@ -32,7 +32,7 @@ #include <ostream> #include "mem/packet.hh" -#include "mem/protocol/AccessModeType.hh" +#include "mem/protocol/RubyAccessMode.hh" #include "mem/protocol/CacheRequestType.hh" #include "mem/protocol/Message.hh" #include "mem/protocol/PrefetchBit.hh" @@ -53,12 +53,6 @@ enum RubyRequestType { RubyRequestType_NUM }; -enum RubyAccessMode { - RubyAccessMode_User, - RubyAccessMode_Supervisor, - RubyAccessMode_Device -}; - class RubyRequest { public: |