projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5486fa6
)
ARM: adding genMachineCheckFault() stub for ARM that doesn't panic
author
Min Kyu Jeong
<minkyu.jeong@arm.com>
Mon, 23 Aug 2010 16:18:40 +0000
(11:18 -0500)
committer
Min Kyu Jeong
<minkyu.jeong@arm.com>
Mon, 23 Aug 2010 16:18:40 +0000
(11:18 -0500)
src/arch/arm/faults.hh
patch
|
blob
|
history
diff --git
a/src/arch/arm/faults.hh
b/src/arch/arm/faults.hh
index f9dc8ac3bdc4de05840cfe076746b16dce5edbf4..d8684792c92ea587482c2a2dc8fda90ebbce6d63 100644
(file)
--- 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