summaryrefslogtreecommitdiff
path: root/src/mem/ruby/init.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-11 10:38:45 -0700
committerNathan Binkert <nate@binkert.org>2009-05-11 10:38:45 -0700
commit24da30e317cdbf4b628141d69b2d17dac5ae3822 (patch)
tree190e2e14e278190d776dfd65a489f70700f4c8b0 /src/mem/ruby/init.cc
parentd8c592a05d884560b3cbbe04d9e1ed9cf6575eaa (diff)
downloadgem5-24da30e317cdbf4b628141d69b2d17dac5ae3822.tar.xz
ruby: Make ruby #includes use full paths to the files they're including.
This basically means changing all #include statements and changing autogenerated code so that it generates the correct paths. Because slicc generates #includes, I had to hard code the include paths to mem/protocol.
Diffstat (limited to 'src/mem/ruby/init.cc')
-rw-r--r--src/mem/ruby/init.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mem/ruby/init.cc b/src/mem/ruby/init.cc
index a2e874df8..22a048b5b 100644
--- a/src/mem/ruby/init.cc
+++ b/src/mem/ruby/init.cc
@@ -36,25 +36,25 @@
*
*/
-#include "Global.hh"
-#include "RubyEventQueue.hh"
-#include "System.hh"
-#include "Debug.hh"
-#include "Profiler.hh"
-#include "Tester.hh"
-#include "init.hh"
+#include "mem/ruby/common/Global.hh"
+#include "mem/ruby/eventqueue/RubyEventQueue.hh"
+#include "mem/ruby/system/System.hh"
+#include "mem/ruby/common/Debug.hh"
+#include "mem/ruby/profiler/Profiler.hh"
+#include "mem/ruby/tester/Tester.hh"
+#include "mem/ruby/init.hh"
using namespace std;
#include <string>
#include <map>
#include <stdlib.h>
-#include "confio.hh"
-#include "initvar.hh"
+#include "mem/gems_common/ioutil/confio.hh"
+#include "mem/gems_common/ioutil/initvar.hh"
// A generated file containing the default parameters in string form
// The defaults are stored in the variable global_default_param
-#include "default_param.hh"
+#include "mem/protocol/default_param.hh"
static initvar_t *ruby_initvar_obj = NULL;