ARM: adding genMachineCheckFault() stub for ARM that doesn't panic
authorMin Kyu Jeong <minkyu.jeong@arm.com>
Mon, 23 Aug 2010 16:18:40 +0000 (11:18 -0500)
committerMin Kyu Jeong <minkyu.jeong@arm.com>
Mon, 23 Aug 2010 16:18:40 +0000 (11:18 -0500)
src/arch/arm/faults.hh

index f9dc8ac3bdc4de05840cfe076746b16dce5edbf4..d8684792c92ea587482c2a2dc8fda90ebbce6d63 100644 (file)
@@ -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