From: Derek Hower Date: Wed, 16 Sep 2009 01:49:54 +0000 (-0500) Subject: removed isReady from the library interface X-Git-Tag: Calvin_Submission~14 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=144459032a57c50df1ef3059d96f303da7bcff36;p=gem5.git removed isReady from the library interface --- 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;