diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-09-01 09:36:53 -0500 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-09-01 09:36:53 -0500 |
commit | edd522b30a12613946573c0e6c91659949a1f64d (patch) | |
tree | ae399988bb6554a6d3754a7b2e49c8ba4b7d8cd6 /src/mem/ruby/libruby.cc | |
parent | 041a8cefc72dd20d99acdd9e1042949f49ab460c (diff) | |
parent | 849bad7ad7c8b483d02b317e7f6ecf0c1292a48d (diff) | |
download | gem5-edd522b30a12613946573c0e6c91659949a1f64d.tar.xz |
Automated merge with ssh://hg@m5sim.org/m5
Diffstat (limited to 'src/mem/ruby/libruby.cc')
-rw-r--r-- | src/mem/ruby/libruby.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/ruby/libruby.cc b/src/mem/ruby/libruby.cc index e4e302eba..71f7e383e 100644 --- a/src/mem/ruby/libruby.cc +++ b/src/mem/ruby/libruby.cc @@ -133,6 +133,10 @@ 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); |