summaryrefslogtreecommitdiff
path: root/src/mem/ruby/common
diff options
context:
space:
mode:
authorDaniel Sanchez <sanchezd@stanford.edu>2009-05-11 10:38:44 -0700
committerDaniel Sanchez <sanchezd@stanford.edu>2009-05-11 10:38:44 -0700
commitab5e4a22b3893fb0ccdfbf466d46983caeb5948e (patch)
tree58681979392d2f395da7c284c2f42113939396ee /src/mem/ruby/common
parent84a18e7fdc6106a04188254f940a0e987efe750c (diff)
downloadgem5-ab5e4a22b3893fb0ccdfbf466d46983caeb5948e.tar.xz
ruby: Removed System name clash by renaming ruby's System to RubySystem
Diffstat (limited to 'src/mem/ruby/common')
-rw-r--r--src/mem/ruby/common/Driver.hh2
-rw-r--r--src/mem/ruby/common/Global.cc2
-rw-r--r--src/mem/ruby/common/Global.hh4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mem/ruby/common/Driver.hh b/src/mem/ruby/common/Driver.hh
index 911cb742b..1d5b883ac 100644
--- a/src/mem/ruby/common/Driver.hh
+++ b/src/mem/ruby/common/Driver.hh
@@ -35,7 +35,7 @@
#include "NodeID.hh"
#include "CacheRequestType.hh"
-class System;
+class RubySystem;
class SubBlock;
class Address;
class MachineID;
diff --git a/src/mem/ruby/common/Global.cc b/src/mem/ruby/common/Global.cc
index e60cd4fd3..4ebcd93ce 100644
--- a/src/mem/ruby/common/Global.cc
+++ b/src/mem/ruby/common/Global.cc
@@ -30,6 +30,6 @@
#include "Global.hh"
EventQueue* g_eventQueue_ptr = NULL;
-System* g_system_ptr = NULL;
+RubySystem* g_system_ptr = NULL;
Debug* g_debug_ptr = NULL;
diff --git a/src/mem/ruby/common/Global.hh b/src/mem/ruby/common/Global.hh
index eaec05d46..2977e696d 100644
--- a/src/mem/ruby/common/Global.hh
+++ b/src/mem/ruby/common/Global.hh
@@ -92,8 +92,8 @@ typedef int LinkID;
class EventQueue;
extern EventQueue* g_eventQueue_ptr;
-class System;
-extern System* g_system_ptr;
+class RubySystem;
+extern RubySystem* g_system_ptr;
class Debug;
extern Debug* g_debug_ptr;