removed isReady from the library interface
authorDerek Hower <drh5@cs.wisc.edu>
Wed, 16 Sep 2009 01:49:54 +0000 (20:49 -0500)
committerDerek Hower <drh5@cs.wisc.edu>
Wed, 16 Sep 2009 01:49:54 +0000 (20:49 -0500)
src/mem/ruby/libruby.cc
src/mem/ruby/libruby.hh
src/mem/ruby/system/RubyPort.hh

index 71f7e383e967168e806b7201a775e5a61e85bfb9..e4e302ebab842edbd9df355a84fe9e4f039b01ad 100644 (file)
@@ -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);
index a5418d9e656f942e7a0f4f20c7a6dc8ec2093301..c8993ea106104405556e993fb26aa1826d6a390b 100644 (file)
@@ -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
index cc7fd8d1f64d15a99a9b643613db69fab667ab3f..2f391070f5e5f18cba6d7ee62e7a3b08009a7461 100644 (file)
@@ -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;