removed isReady from the library interface

This commit is contained in:
Derek Hower 2009-09-15 20:49:54 -05:00
parent 20da0f788c
commit 144459032a
3 changed files with 0 additions and 12 deletions

View 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);

View 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

View 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;