summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/mips/faults.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/mips/faults.hh b/src/arch/mips/faults.hh
index c7ed8e9bf..cd1cd7040 100644
--- a/src/arch/mips/faults.hh
+++ b/src/arch/mips/faults.hh
@@ -85,6 +85,11 @@ class MachineCheckFault : public MipsFault<MachineCheckFault>
bool isMachineCheckFault() {return true;}
};
+static inline Fault genMachineCheckFault()
+{
+ return new MachineCheckFault;
+}
+
class NonMaskableInterrupt : public MipsFault<NonMaskableInterrupt>
{
public:
@@ -106,11 +111,6 @@ class AddressErrorFault : public MipsFault<AddressErrorFault>
};
-static inline Fault genMachineCheckFault()
-{
- return new MachineCheckFault;
-}
-
class ResetFault : public MipsFault<ResetFault>
{
public: