summaryrefslogtreecommitdiff
path: root/src/arch/arm/faults.hh
diff options
context:
space:
mode:
authorMin Kyu Jeong <minkyu.jeong@arm.com>2010-08-23 11:18:40 -0500
committerMin Kyu Jeong <minkyu.jeong@arm.com>2010-08-23 11:18:40 -0500
commit7acf67971cca761efec79a0a0ac453b1115387a9 (patch)
treeea0ea93ff642d17df12ce378b0b2d2aba6c8bf0e /src/arch/arm/faults.hh
parent5486fa66122450ad93b9dd7ddcad64f983b7400d (diff)
downloadgem5-7acf67971cca761efec79a0a0ac453b1115387a9.tar.xz
ARM: adding genMachineCheckFault() stub for ARM that doesn't panic
Diffstat (limited to 'src/arch/arm/faults.hh')
-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