summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/RubyPort.hh
diff options
context:
space:
mode:
authorJoel Hestness <hestness@cs.utexas.edu>2011-02-06 22:14:18 -0800
committerJoel Hestness <hestness@cs.utexas.edu>2011-02-06 22:14:18 -0800
commitdedb4fbf058c96597cd48e506e4a3479b192d9aa (patch)
treea55a9c77fbe1b91d2ff7d59e25b0a3f814c39625 /src/mem/ruby/system/RubyPort.hh
parent82844618fd91338ad54d3fcf7ea9fa088b04ab1a (diff)
downloadgem5-dedb4fbf058c96597cd48e506e4a3479b192d9aa.tar.xz
Ruby: Fix to return cache block size to CPU for split data transfers
Diffstat (limited to 'src/mem/ruby/system/RubyPort.hh')
-rw-r--r--src/mem/ruby/system/RubyPort.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/ruby/system/RubyPort.hh b/src/mem/ruby/system/RubyPort.hh
index 56701cd5c..a2316781a 100644
--- a/src/mem/ruby/system/RubyPort.hh
+++ b/src/mem/ruby/system/RubyPort.hh
@@ -36,6 +36,7 @@
#include "mem/physical.hh"
#include "mem/protocol/RequestStatus.hh"
#include "mem/ruby/libruby.hh"
+#include "mem/ruby/system/System.hh"
#include "mem/tport.hh"
#include "params/RubyPort.hh"
@@ -54,6 +55,7 @@ class RubyPort : public MemObject
M5Port(const std::string &_name, RubyPort *_port);
bool sendTiming(PacketPtr pkt);
void hitCallback(PacketPtr pkt);
+ unsigned deviceBlockSize() const;
protected:
virtual bool recvTiming(PacketPtr pkt);