FaultStat AlphaFault::_stat;
FaultVect AlphaMachineCheckFault::_vect = 0x0401;
+FaultStat AlphaMachineCheckFault::_stat;
FaultVect AlphaAlignmentFault::_vect = 0x0301;
+FaultStat AlphaAlignmentFault::_stat;
FaultName ResetFault::_name = "reset";
FaultVect ResetFault::_vect = 0x0001;
{
private:
static FaultVect _vect;
+ static FaultStat _stat;
public:
FaultVect vect() {return _vect;}
+ FaultStat & stat() {return _stat;}
};
class AlphaAlignmentFault : public AlignmentFault
{
private:
static FaultVect _vect;
+ static FaultStat _stat;
public:
FaultVect vect() {return _vect;}
+ FaultStat & stat() {return _stat;}
};
static inline Fault genMachineCheckFault()
#include "sim/faults.hh"
FaultName MachineCheckFault::_name = "mchk";
-FaultStat MachineCheckFault::_stat;
FaultName AlignmentFault::_name = "unalign";
-FaultStat AlignmentFault::_stat;
{
private:
static FaultName _name;
- static FaultStat _stat;
public:
FaultName name() {return _name;}
- FaultStat & stat() {return _stat;}
bool isMachineCheckFault() {return true;}
};
{
private:
static FaultName _name;
- static FaultStat _stat;
public:
FaultName name() {return _name;}
- FaultStat & stat() {return _stat;}
bool isAlignmentFault() {return true;}
};