diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:33 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:33 -0800 |
commit | 1feae85017d8db5d3bf39065fd95724f89b3fd18 (patch) | |
tree | 1a1564d28a9a6b0db34e2a4244a27c9473b5241b /src/mem/ruby/system/Sequencer.hh | |
parent | a579d3e43c7036456413d4868f2d513215ad20f0 (diff) | |
download | gem5-1feae85017d8db5d3bf39065fd95724f89b3fd18.tar.xz |
ruby: Removed static members in RubyPort including hitcallback
Removed static members in RubyPort and removed the ruby request unique id.
Diffstat (limited to 'src/mem/ruby/system/Sequencer.hh')
-rw-r--r-- | src/mem/ruby/system/Sequencer.hh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mem/ruby/system/Sequencer.hh b/src/mem/ruby/system/Sequencer.hh index a571092f7..333ca5f24 100644 --- a/src/mem/ruby/system/Sequencer.hh +++ b/src/mem/ruby/system/Sequencer.hh @@ -56,11 +56,12 @@ class RubySequencerParams; struct SequencerRequest { RubyRequest ruby_request; - int64_t id; Time issue_time; - SequencerRequest(const RubyRequest & _ruby_request, int64_t _id, Time _issue_time) - : ruby_request(_ruby_request), id(_id), issue_time(_issue_time) + SequencerRequest(const RubyRequest & _ruby_request, + Time _issue_time) + : ruby_request(_ruby_request), + issue_time(_issue_time) {} }; @@ -85,9 +86,8 @@ public: void writeCallback(const Address& address, DataBlock& data); void readCallback(const Address& address, DataBlock& data); - // called by Tester or Simics - int64_t makeRequest(const RubyRequest & request); - int isReady(const RubyRequest& request); + RequestStatus makeRequest(const RubyRequest & request); + RequestStatus getRequestStatus(const RubyRequest& request); bool empty() const; void print(ostream& out) const; |