diff options
author | Min Kyu Jeong <minkyu.jeong@arm.com> | 2010-08-23 11:18:40 -0500 |
---|---|---|
committer | Min Kyu Jeong <minkyu.jeong@arm.com> | 2010-08-23 11:18:40 -0500 |
commit | 7acf67971cca761efec79a0a0ac453b1115387a9 (patch) | |
tree | ea0ea93ff642d17df12ce378b0b2d2aba6c8bf0e /src/arch/arm/faults.hh | |
parent | 5486fa66122450ad93b9dd7ddcad64f983b7400d (diff) | |
download | gem5-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.hh | 5 |
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 |