From 144459032a57c50df1ef3059d96f303da7bcff36 Mon Sep 17 00:00:00 2001 From: Derek Hower Date: Tue, 15 Sep 2009 20:49:54 -0500 Subject: [PATCH] removed isReady from the library interface --- src/mem/ruby/libruby.cc | 4 ---- src/mem/ruby/libruby.hh | 6 ------ src/mem/ruby/system/RubyPort.hh | 2 -- 3 files changed, 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(p)->isReady(request, true); -} - int64_t libruby_issue_request(RubyPortHandle p, struct RubyRequest request) { return static_cast(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; -- 2.30.2