summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-08-21 07:03:21 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2015-08-21 07:03:21 -0400
commitd71a0d790d8d1113480c5a57d7bfbb9b7d0d0037 (patch)
treeba4e479d88a96f90f8c9e01df574ea9846a6ec63 /src
parent1bf389a2bf95980efa6d2648a05bda2634dbec64 (diff)
downloadgem5-d71a0d790d8d1113480c5a57d7bfbb9b7d0d0037.tar.xz
ruby: Move Rubys cache class from Cache.py to RubyCache.py
This patch serves to avoid name clashes with the classic cache. For some reason having two 'SimObject' files with the same name creates problems. --HG-- rename : src/mem/ruby/structures/Cache.py => src/mem/ruby/structures/RubyCache.py
Diffstat (limited to 'src')
-rw-r--r--src/mem/ruby/structures/RubyCache.py (renamed from src/mem/ruby/structures/Cache.py)0
-rw-r--r--src/mem/ruby/structures/SConscript2
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/structures/Cache.py b/src/mem/ruby/structures/RubyCache.py
index 4eb87ac74..4eb87ac74 100644
--- a/src/mem/ruby/structures/Cache.py
+++ b/src/mem/ruby/structures/RubyCache.py
diff --git a/src/mem/ruby/structures/SConscript b/src/mem/ruby/structures/SConscript
index 18ab9daed..75fc6370e 100644
--- a/src/mem/ruby/structures/SConscript
+++ b/src/mem/ruby/structures/SConscript
@@ -33,7 +33,7 @@ Import('*')
if env['PROTOCOL'] == 'None':
Return()
-SimObject('Cache.py')
+SimObject('RubyCache.py')
SimObject('DirectoryMemory.py')
SimObject('LRUReplacementPolicy.py')
SimObject('PseudoLRUReplacementPolicy.py')