summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/RubyPort.hh
diff options
context:
space:
mode:
authorPolina Dudnik <pdudnik@gmail.com>2009-08-21 15:52:46 -0500
committerPolina Dudnik <pdudnik@gmail.com>2009-08-21 15:52:46 -0500
commita4fc1bad94f028111dcf36ac53c42e5dab79605d (patch)
tree5573cc6c1b9472dd6f21e513de785ab066a2ff2d /src/mem/ruby/system/RubyPort.hh
parentc438b2e431066d9324238e1c678ef68a3b721f33 (diff)
downloadgem5-a4fc1bad94f028111dcf36ac53c42e5dab79605d.tar.xz
[mq]: first_patch
Diffstat (limited to 'src/mem/ruby/system/RubyPort.hh')
-rw-r--r--src/mem/ruby/system/RubyPort.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/ruby/system/RubyPort.hh b/src/mem/ruby/system/RubyPort.hh
index 2f391070f..cc7fd8d1f 100644
--- a/src/mem/ruby/system/RubyPort.hh
+++ b/src/mem/ruby/system/RubyPort.hh
@@ -21,6 +21,8 @@ public:
virtual int64_t makeRequest(const RubyRequest & request) = 0;
+ virtual bool isReady(const RubyRequest & request, bool dont_set = false) = 0;
+
void registerHitCallback(void (*hit_callback)(int64_t request_id)) {
assert(m_hit_callback == NULL); // can't assign hit_callback twice
m_hit_callback = hit_callback;