FaultName name() const {return _name;}
FaultVect vect() {return _vect;}
FaultStat & countStat() {return _count;}
- bool isMachineCheckFault() const {return true;}
};
class AlignmentFault : public AlphaFault
class DivisionByZero : public SparcFault<DivisionByZero> {};
class InternalProcessorError :
- public SparcFault<InternalProcessorError>
-{
- public:
- bool isMachineCheckFault() const { return true; }
-};
+ public SparcFault<InternalProcessorError> {};
class InstructionInvalidTSBEntry :
public SparcFault<InstructionInvalidTSBEntry> {};
class DataAccessProtection : public SparcFault<DataAccessProtection> {};
class MemAddressNotAligned :
- public SparcFault<MemAddressNotAligned>
-{
- public:
- bool isAlignmentFault() const { return true; }
-};
+ public SparcFault<MemAddressNotAligned> {};
class LDDFMemAddressNotAligned : public SparcFault<LDDFMemAddressNotAligned> {};
virtual FaultName name() const = 0;
virtual void invoke(ThreadContext * tc,
StaticInstPtr inst = StaticInst::nullStaticInstPtr);
- virtual bool isMachineCheckFault() const {return false;}
- virtual bool isAlignmentFault() const {return false;}
};
class UnimpFault : public FaultBase