diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-09-15 20:49:54 -0500 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-09-15 20:49:54 -0500 |
commit | 144459032a57c50df1ef3059d96f303da7bcff36 (patch) | |
tree | 37abe6640b4b7a66c5792c7e55a64ea91becced1 /src | |
parent | 20da0f788cdc8bc454bc12dde113d346c93329ba (diff) | |
download | gem5-144459032a57c50df1ef3059d96f303da7bcff36.tar.xz |
removed isReady from the library interface
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/ruby/libruby.cc | 4 | ||||
-rw-r--r-- | src/mem/ruby/libruby.hh | 6 | ||||
-rw-r--r-- | src/mem/ruby/system/RubyPort.hh | 2 |
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; |