summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/arm/faults.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/arm/faults.hh b/src/arch/arm/faults.hh
index f9dc8ac3b..d8684792c 100644
--- a/src/arch/arm/faults.hh
+++ b/src/arch/arm/faults.hh
@@ -49,6 +49,7 @@
#include "arch/arm/types.hh"
#include "config/full_system.hh"
#include "sim/faults.hh"
+#include "base/misc.hh"
// The design of the "name" and "vect" functions is in sim/faults.hh
@@ -217,6 +218,10 @@ class DataAbort : public AbortFault<DataAbort>
class Interrupt : public ArmFaultVals<Interrupt> {};
class FastInterrupt : public ArmFaultVals<FastInterrupt> {};
+static inline Fault genMachineCheckFault()
+{
+ return new Reset();
+}
} // ArmISA namespace