summaryrefslogtreecommitdiff
path: root/arch/alpha/faults.hh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/faults.hh')
-rw-r--r--arch/alpha/faults.hh14
1 files changed, 10 insertions, 4 deletions
diff --git a/arch/alpha/faults.hh b/arch/alpha/faults.hh
index 2bb929a1e..8c281593a 100644
--- a/arch/alpha/faults.hh
+++ b/arch/alpha/faults.hh
@@ -34,15 +34,21 @@
class AlphaFault : public Fault
{
-public:
- AlphaFault(char * newName, int newId, Addr newVect) : Fault(newName, newId), vect(newVect) {;}
- TheISA::Addr vect;
+ protected:
+ typedef TheISA::Addr Addr;
+ public:
+ AlphaFault(char * newName, int newId, Addr newVect) :
+ Fault(newName, newId), vect(newVect)
+ {;}
+ Addr vect;
};
extern class ResetFaultType : public AlphaFault
{
public:
- ResetFaultType(char * newName, int newId, Addr newVect) : AlphaFault(newName, newId, newVect) {;}
+ ResetFaultType(char * newName, int newId, Addr newVect) :
+ AlphaFault(newName, newId, newVect)
+ {;}
} * ResetFault;
extern class ArithmeticFaultType : public AlphaFault