From 381c4f6720d477bdf6d90dd2c09a54cd30b9ddd9 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Thu, 18 May 2006 13:33:14 -0400 Subject: [PATCH] add regStats() back to ide_disk add sinic back to sconscript file SConscript: add sinic back to sconscript file dev/ide_disk.hh: add regStats() back to ide_disk --HG-- extra : convert_revision : a25083993190ceadde977283fbd1fb64e8e7ef86 --- SConscript | 2 +- dev/ide_disk.hh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/SConscript b/SConscript index 4cc232bfd..a2d5de279 100644 --- a/SConscript +++ b/SConscript @@ -207,6 +207,7 @@ full_system_sources = Split(''' dev/platform.cc dev/simconsole.cc dev/simple_disk.cc + dev/sinic.cc dev/tsunami.cc dev/tsunami_cchip.cc dev/tsunami_io.cc @@ -227,7 +228,6 @@ full_system_sources = Split(''' sim/pseudo_inst.cc ''') -# dev/sinic.cc if env['TARGET_ISA'] == 'alpha': diff --git a/dev/ide_disk.hh b/dev/ide_disk.hh index 2d04ecd09..5379e5e73 100644 --- a/dev/ide_disk.hh +++ b/dev/ide_disk.hh @@ -259,6 +259,11 @@ class IdeDisk : public SimObject */ void reset(int id); + /** + * Register Statistics + */ + void regStats(); + /** * Set the controller for this device * @param c The IDE controller -- 2.30.2