diff options
author | Nathan Binkert <nate@binkert.org> | 2009-05-11 10:38:45 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-05-11 10:38:45 -0700 |
commit | 24da30e317cdbf4b628141d69b2d17dac5ae3822 (patch) | |
tree | 190e2e14e278190d776dfd65a489f70700f4c8b0 /src/mem/ruby/common/Driver.hh | |
parent | d8c592a05d884560b3cbbe04d9e1ed9cf6575eaa (diff) | |
download | gem5-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/common/Driver.hh')
-rw-r--r-- | src/mem/ruby/common/Driver.hh | 14 |
1 files changed, 7 insertions, 7 deletions
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 |