summaryrefslogtreecommitdiff
path: root/sim/faults.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-03-01 19:03:42 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-03-01 19:03:42 -0500
commit6b7d62790399f3ff675e5d37a25c320aa068897a (patch)
tree5227a88b50bcecf37349f181b208bd39d3626b45 /sim/faults.hh
parentb71f9c801eb869b477a1e5a6f12498862efbb886 (diff)
downloadgem5-6b7d62790399f3ff675e5d37a25c320aa068897a.tar.xz
Got rid of the multiple inheritance in the Fault classes, and the base MachineCheck and Alignment faults.
--HG-- extra : convert_revision : 4b1429ef5c7a11c25e28f2bc868cc1481a08c5d1
Diffstat (limited to 'sim/faults.hh')
-rw-r--r--sim/faults.hh25
1 files changed, 0 insertions, 25 deletions
diff --git a/sim/faults.hh b/sim/faults.hh
index 1e43bfb82..9e8d224cd 100644
--- a/sim/faults.hh
+++ b/sim/faults.hh
@@ -65,29 +65,4 @@ class FaultBase : public RefCounted
FaultBase * const NoFault = 0;
-//The ISAs are each responsible for providing a genMachineCheckFault and a
-//genAlignmentFault functions, which return faults to use in the case of a
-//machine check fault or an alignment fault, respectively. Base classes which
-//provide the name() function, and the isMachineCheckFault and isAlignmentFault
-//functions are provided below.
-
-class MachineCheckFault : public virtual FaultBase
-{
- private:
- static FaultName _name;
- public:
- FaultName name() {return _name;}
- bool isMachineCheckFault() {return true;}
-};
-
-class AlignmentFault : public virtual FaultBase
-{
- private:
- static FaultName _name;
- public:
- FaultName name() {return _name;}
- bool isAlignmentFault() {return true;}
-};
-
-
#endif // __FAULTS_HH__