From: Ali Saidi Date: Thu, 18 May 2006 17:33:14 +0000 (-0400) Subject: add regStats() back to ide_disk X-Git-Tag: m5_2.0_beta1~77 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=381c4f6720d477bdf6d90dd2c09a54cd30b9ddd9;p=gem5.git 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 --- 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