From ffeab063788c576f072026c153e7be497d20e8a9 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 19 Sep 2011 06:17:20 -0700 Subject: MIPS: Move the genMachineCheckFault function near MachineCheckFault. Since they're so closely linked, they should be next to each other in the file. --- src/arch/mips/faults.hh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/arch/mips/faults.hh b/src/arch/mips/faults.hh index c7ed8e9bf..cd1cd7040 100644 --- a/src/arch/mips/faults.hh +++ b/src/arch/mips/faults.hh @@ -85,6 +85,11 @@ class MachineCheckFault : public MipsFault bool isMachineCheckFault() {return true;} }; +static inline Fault genMachineCheckFault() +{ + return new MachineCheckFault; +} + class NonMaskableInterrupt : public MipsFault { public: @@ -106,11 +111,6 @@ class AddressErrorFault : public MipsFault }; -static inline Fault genMachineCheckFault() -{ - return new MachineCheckFault; -} - class ResetFault : public MipsFault { public: -- cgit v1.2.3