From: Min Kyu Jeong Date: Mon, 23 Aug 2010 16:18:40 +0000 (-0500) Subject: ARM: adding genMachineCheckFault() stub for ARM that doesn't panic X-Git-Tag: stable_2012_02_02~899 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7acf67971cca761efec79a0a0ac453b1115387a9;p=gem5.git ARM: adding genMachineCheckFault() stub for ARM that doesn't panic --- 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 class Interrupt : public ArmFaultVals {}; class FastInterrupt : public ArmFaultVals {}; +static inline Fault genMachineCheckFault() +{ + return new Reset(); +} } // ArmISA namespace