summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/alpha/faults.hh1
-rw-r--r--src/arch/power/faults.hh6
-rw-r--r--src/arch/sparc/faults.hh12
3 files changed, 2 insertions, 17 deletions
diff --git a/src/arch/alpha/faults.hh b/src/arch/alpha/faults.hh
index 2b45a430c..edac1cda6 100644
--- a/src/arch/alpha/faults.hh
+++ b/src/arch/alpha/faults.hh
@@ -68,7 +68,6 @@ class MachineCheckFault : public AlphaFault
FaultName name() const {return _name;}
FaultVect vect() {return _vect;}
FaultStat & countStat() {return _count;}
- bool isMachineCheckFault() const {return true;}
};
class AlignmentFault : public AlphaFault
diff --git a/src/arch/power/faults.hh b/src/arch/power/faults.hh
index f1977150c..6aedd7e00 100644
--- a/src/arch/power/faults.hh
+++ b/src/arch/power/faults.hh
@@ -83,12 +83,6 @@ class AlignmentFault : public PowerFault
: PowerFault("Alignment")
{
}
-
- bool
- isAlignmentFault() const
- {
- return true;
- }
};
diff --git a/src/arch/sparc/faults.hh b/src/arch/sparc/faults.hh
index bee29ee5e..31209440f 100644
--- a/src/arch/sparc/faults.hh
+++ b/src/arch/sparc/faults.hh
@@ -139,11 +139,7 @@ class CleanWindow : public SparcFault<CleanWindow> {};
class DivisionByZero : public SparcFault<DivisionByZero> {};
class InternalProcessorError :
- public SparcFault<InternalProcessorError>
-{
- public:
- bool isMachineCheckFault() const { return true; }
-};
+ public SparcFault<InternalProcessorError> {};
class InstructionInvalidTSBEntry :
public SparcFault<InstructionInvalidTSBEntry> {};
@@ -159,11 +155,7 @@ class DataAccessError : public SparcFault<DataAccessError> {};
class DataAccessProtection : public SparcFault<DataAccessProtection> {};
class MemAddressNotAligned :
- public SparcFault<MemAddressNotAligned>
-{
- public:
- bool isAlignmentFault() const { return true; }
-};
+ public SparcFault<MemAddressNotAligned> {};
class LDDFMemAddressNotAligned : public SparcFault<LDDFMemAddressNotAligned> {};