diff options
Diffstat (limited to 'sim/faults.hh')
-rw-r--r-- | sim/faults.hh | 25 |
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__ |