From dedb4fbf058c96597cd48e506e4a3479b192d9aa Mon Sep 17 00:00:00 2001 From: Joel Hestness Date: Sun, 6 Feb 2011 22:14:18 -0800 Subject: Ruby: Fix to return cache block size to CPU for split data transfers --- src/mem/ruby/system/RubyPort.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mem/ruby/system/RubyPort.cc') diff --git a/src/mem/ruby/system/RubyPort.cc b/src/mem/ruby/system/RubyPort.cc index d1c306bb2..305228a8f 100644 --- a/src/mem/ruby/system/RubyPort.cc +++ b/src/mem/ruby/system/RubyPort.cc @@ -370,3 +370,9 @@ RubyPort::M5Port::isPhysMemAddress(Addr addr) } return false; } + +unsigned +RubyPort::M5Port::deviceBlockSize() const +{ + return (unsigned) RubySystem::getBlockSizeBytes(); +} -- cgit v1.2.3