From 24da30e317cdbf4b628141d69b2d17dac5ae3822 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 11 May 2009 10:38:45 -0700 Subject: 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. --- src/mem/ruby/common/Driver.hh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/mem/ruby/common/Driver.hh') diff --git a/src/mem/ruby/common/Driver.hh b/src/mem/ruby/common/Driver.hh index 1d5b883ac..c527e7d2b 100644 --- a/src/mem/ruby/common/Driver.hh +++ b/src/mem/ruby/common/Driver.hh @@ -30,10 +30,10 @@ #ifndef DRIVER_H #define DRIVER_H -#include "Global.hh" -#include "Consumer.hh" -#include "NodeID.hh" -#include "CacheRequestType.hh" +#include "mem/ruby/common/Global.hh" +#include "mem/ruby/common/Consumer.hh" +#include "mem/ruby/system/NodeID.hh" +#include "mem/protocol/CacheRequestType.hh" class RubySystem; class SubBlock; @@ -62,15 +62,15 @@ public: virtual void notifyTrapStart( int procID, const Address & handlerPC, int threadID, int smtThread ) { assert(0); } //called by Sequencer virtual void notifyTrapComplete( int procID, const Address & newPC, int smtThread ) {assert(0); } // called by Sequencer virtual int getOpalTransactionLevel(int procID, int thread) const { - cout << "Driver.hh getOpalTransactionLevel() " << endl; + cout << "mem/ruby/common/Driver.hh getOpalTransactionLevel() " << endl; return 0; } //called by Sequencer virtual void addThreadDependency(int procID, int requestor_thread, int conflict_thread) const { assert(0);} virtual uint64 getOpalTime(int procID) const{ return 0; } //called by Sequencer virtual uint64 getOpalTimestamp(int procID, int thread) const{ - cout << "Driver.hh getOpalTimestamp " << endl; + cout << "mem/ruby/common/Driver.hh getOpalTimestamp " << endl; return 0; } // called by Sequencer virtual int inTransaction(int procID, int thread ) const{ - cout << "Driver.hh inTransaction " << endl; + cout << "mem/ruby/common/Driver.hh inTransaction " << endl; return false; } //called by Sequencer virtual void printDebug(){} //called by Sequencer -- cgit v1.2.3