From 5ab13e2deb8f904ef2a233749193fa09ea7013c4 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 22 Mar 2010 18:43:53 -0700 Subject: ruby: style pass --- src/mem/ruby/common/Driver.cc | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'src/mem/ruby/common/Driver.cc') diff --git a/src/mem/ruby/common/Driver.cc b/src/mem/ruby/common/Driver.cc index 2d6034b02..085044c7d 100644 --- a/src/mem/ruby/common/Driver.cc +++ b/src/mem/ruby/common/Driver.cc @@ -1,4 +1,3 @@ - /* * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood * All rights reserved. @@ -27,6 +26,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include + #include "mem/ruby/common/Driver.hh" Driver::Driver() @@ -37,3 +38,40 @@ Driver::Driver() Driver::~Driver() { } + +integer_t +Driver::getInstructionCount(int procID) const +{ + return 1; +} + +integer_t +Driver::getCycleCount(int procID) const +{ + return 1; +} + +void +Driver::addThreadDependency(int procID, int requestor_thread, + int conflict_thread) const +{ + assert(0); +} + +void +Driver::printDebug() +{} + +integer_t +Driver::readPhysicalMemory(int procID, physical_address_t address, int len) +{ + assert(0); + return 0; +} + +void +Driver::writePhysicalMemory(int procID, physical_address_t address, + integer_t value, int len) +{ + assert(0); +} -- cgit v1.2.3