changeset 13103d610fb7 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=13103d610fb7
description:
MIPS: Move the genMachineCheckFault function near MachineCheckFault.
Since they're so closely linked, they should be next to each other in
the
file.
diffstat:
src/arch/mips/faults.hh | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r ea93f18eead8 -r 13103d610fb7 src/arch/mips/faults.hh
--- a/src/arch/mips/faults.hh Mon Sep 19 06:17:20 2011 -0700
+++ b/src/arch/mips/faults.hh Mon Sep 19 06:17:20 2011 -0700
@@ -85,6 +85,11 @@
bool isMachineCheckFault() {return true;}
};
+static inline Fault genMachineCheckFault()
+{
+ return new MachineCheckFault;
+}
+
class NonMaskableInterrupt : public MipsFault<NonMaskableInterrupt>
{
public:
@@ -106,11 +111,6 @@
};
-static inline Fault genMachineCheckFault()
-{
- return new MachineCheckFault;
-}
-
class ResetFault : public MipsFault<ResetFault>
{
public:
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev