add regStats() back to ide_disk
authorAli Saidi <saidi@eecs.umich.edu>
Thu, 18 May 2006 17:33:14 +0000 (13:33 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Thu, 18 May 2006 17:33:14 +0000 (13:33 -0400)
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
dev/ide_disk.hh

index 4cc232bfdfaf4e6cefedfb2d36666f844fb95f6c..a2d5de2795b59dcc6786793aa05f5f707700c2a4 100644 (file)
@@ -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':
index 2d04ecd098ae09b2d3ae0115f0a2fa2618a38904..5379e5e73ffbfab9f1aa0da6f2b0264cab980692 100644 (file)
@@ -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