diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2007-07-22 10:40:45 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2007-07-22 10:40:45 -0400 |
commit | 03730edc45e2e00bdec58dabc84e94c632634a1a (patch) | |
tree | affdbffcb174a9cfc0de933f3c240ae5f2813292 /src/arch/mips | |
parent | 658eeee50715d9fd334ae3fd3e0e21b6db6de0c4 (diff) | |
parent | 2cd454d102b5da828b0fbf4b66ef1a24875e69f6 (diff) | |
download | gem5-03730edc45e2e00bdec58dabc84e94c632634a1a.tar.xz |
Merge Gabe's changes with mine.
--HG--
extra : convert_revision : f50ed42e7acb3f11e610fd6976eaa8df0c6ba2ab
Diffstat (limited to 'src/arch/mips')
-rw-r--r-- | src/arch/mips/faults.hh | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/arch/mips/faults.hh b/src/arch/mips/faults.hh index 05a86acd7..2e5aa81d6 100644 --- a/src/arch/mips/faults.hh +++ b/src/arch/mips/faults.hh @@ -61,10 +61,10 @@ class MachineCheckFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} - bool isMachineCheckFault() {return true;} + bool isMachineCheckFault() const {return true;} }; class AlignmentFault : public MipsFault @@ -74,10 +74,10 @@ class AlignmentFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} - bool isAlignmentFault() {return true;} + bool isAlignmentFault() const {return true;} }; class UnimplementedOpcodeFault : public MipsFault @@ -87,7 +87,7 @@ class UnimplementedOpcodeFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -133,7 +133,7 @@ class ResetFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} void invoke(ThreadContext * tc); @@ -146,7 +146,7 @@ class CoprocessorUnusableFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} void invoke(ThreadContext * tc); @@ -159,7 +159,7 @@ class ReservedInstructionFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} void invoke(ThreadContext * tc); @@ -172,7 +172,7 @@ class ThreadFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} void invoke(ThreadContext * tc); @@ -188,7 +188,7 @@ class ArithmeticFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} #if FULL_SYSTEM @@ -205,7 +205,7 @@ class InterruptFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -217,7 +217,7 @@ class NDtbMissFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -229,7 +229,7 @@ class PDtbMissFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -241,7 +241,7 @@ class DtbPageFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -253,7 +253,7 @@ class DtbAcvFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -265,7 +265,7 @@ class ItbMissFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -277,7 +277,7 @@ class ItbPageFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -289,7 +289,7 @@ class ItbAcvFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -301,7 +301,7 @@ class FloatEnableFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -313,7 +313,7 @@ class IntegerOverflowFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} }; @@ -325,7 +325,7 @@ class DspStateDisabledFault : public MipsFault static FaultVect _vect; static FaultStat _count; public: - FaultName name() {return _name;} + FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} void invoke(ThreadContext * tc); |