summaryrefslogtreecommitdiff
path: root/dev/tsunami.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-02-05 13:05:20 -0500
committerAli Saidi <saidi@eecs.umich.edu>2004-02-05 13:05:20 -0500
commit7a6a435983e368fba244ec0d6d18e2f7fcf73ee3 (patch)
tree989754f0114ab1a4cf85d55af4ff872b384c46e5 /dev/tsunami.hh
parent69e1e10f5d940ee06d2c38f3a1b21c9992587f13 (diff)
downloadgem5-7a6a435983e368fba244ec0d6d18e2f7fcf73ee3.tar.xz
added some comments
--HG-- extra : convert_revision : b33c94984f8d9ac2baf8d7b45fa79460846b1755
Diffstat (limited to 'dev/tsunami.hh')
-rw-r--r--dev/tsunami.hh16
1 files changed, 10 insertions, 6 deletions
diff --git a/dev/tsunami.hh b/dev/tsunami.hh
index f45bb2059..710cb4b49 100644
--- a/dev/tsunami.hh
+++ b/dev/tsunami.hh
@@ -28,8 +28,8 @@
/**
* @file
- * Declaration of top level class for the Tsunami chipset. This class just retains pointers
- * to all its children so the children can communicate
+ * Declaration of top level class for the Tsunami chipset. This class just
+ * retains pointers to all its children so the children can communicate.
*/
#ifndef __TSUNAMI_HH__
@@ -45,7 +45,7 @@ class TlaserClock;
class EtherDev;
class TsunamiCChip;
class TsunamiPChip;
-class TsunamiPCIConfig;
+class PCIConfigAll;
/**
* Top level class for Tsunami Chipset emulation.
@@ -87,7 +87,7 @@ class Tsunami : public SimObject
* The config space in tsunami all needs to return
* -1 if a device is not there.
*/
- TsunamiPCIConfig *pciconfig;
+ PCIConfigAll *pciconfig;
int intr_sum_type[Tsunami::Max_CPUs];
int ipi_pending[Tsunami::Max_CPUs];
@@ -97,11 +97,15 @@ class Tsunami : public SimObject
public:
/**
* Constructor for the Tsunami Class.
- * @param
+ * @param name name of the object
+ * @param scsi pointer to scsi controller object
+ * @param con pointer to the console
+ * @param intrcontrol pointer to the interrupt controller
+ * @param intrFreq frequency that interrupts happen
*/
Tsunami(const std::string &name, AdaptecController *scsi,
EtherDev *ethernet,
- SimConsole *, IntrControl *intctrl, int intrFreq);
+ SimConsole *con, IntrControl *intctrl, int intrFreq);
virtual void serialize(std::ostream &os);
virtual void unserialize(Checkpoint *cp, const std::string &section);