summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mem/ruby/libruby.cc4
-rw-r--r--src/mem/ruby/libruby.hh6
-rw-r--r--src/mem/ruby/system/RubyPort.hh2
3 files changed, 0 insertions, 12 deletions
diff --git a/src/mem/ruby/libruby.cc b/src/mem/ruby/libruby.cc
index 71f7e383e..e4e302eba 100644
--- a/src/mem/ruby/libruby.cc
+++ b/src/mem/ruby/libruby.cc
@@ -133,10 +133,6 @@ void libruby_read_ram(uint64_t paddr, uint8_t* data, int len)
RubySystem::getMemoryVector()->read(Address(paddr), data, len);
}
-bool libruby_isReady(RubyPortHandle p, struct RubyRequest request) {
- return static_cast<RubyPort*>(p)->isReady(request, true);
-}
-
int64_t libruby_issue_request(RubyPortHandle p, struct RubyRequest request)
{
return static_cast<RubyPort*>(p)->makeRequest(request);
diff --git a/src/mem/ruby/libruby.hh b/src/mem/ruby/libruby.hh
index a5418d9e6..c8993ea10 100644
--- a/src/mem/ruby/libruby.hh
+++ b/src/mem/ruby/libruby.hh
@@ -76,12 +76,6 @@ RubyPortHandle libruby_get_port_by_name(const char* name);
*/
int64_t libruby_issue_request(RubyPortHandle p, struct RubyRequest request);
-
-/**
- *
- */
-bool libruby_isReady(RubyPortHandle p, struct RubyRequest request);
-
/**
* writes data directly into Ruby's data array. Note that this
* ignores caches, and should be considered incoherent after
diff --git a/src/mem/ruby/system/RubyPort.hh b/src/mem/ruby/system/RubyPort.hh
index cc7fd8d1f..2f391070f 100644
--- a/src/mem/ruby/system/RubyPort.hh
+++ b/src/mem/ruby/system/RubyPort.hh
@@ -21,8 +21,6 @@ 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;