summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/RubyPort.hh
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-08-25 10:37:21 -0500
committerDerek Hower <drh5@cs.wisc.edu>2009-08-25 10:37:21 -0500
commit15aa18057030e00535b6c6df7649f73e6b794d50 (patch)
tree8496ed38761ce3b042dae422d3ef6d4fca95e1b6 /src/mem/ruby/system/RubyPort.hh
parent6cd552483b3499acea94568221a4723ce290fe41 (diff)
parenta4fc1bad94f028111dcf36ac53c42e5dab79605d (diff)
downloadgem5-15aa18057030e00535b6c6df7649f73e6b794d50.tar.xz
merge
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;