#include "arch/alpha/faults.hh"
+namespace AlphaISA
+{
+
FaultName AlphaFault::_name = "alphafault";
FaultVect AlphaFault::_vect = 0x0000;
FaultStat AlphaFault::_stat;
FaultVect IntegerOverflowFault::_vect = 0x0501;
FaultStat IntegerOverflowFault::_stat;
+} // namespace AlphaISA
+
/*Fault * ListOfFaults[] = {
(Fault *)&NoFault,
(Fault *)&ResetFault,
// The design of the "name" and "vect" functions is in sim/faults.hh
+namespace AlphaISA
+{
+
typedef const Addr FaultVect;
class AlphaFault : public FaultBase
FaultStat & stat() {return _stat;}
};
+} // AlphaISA namespace
+
#endif // __FAULTS_HH__