MIPS: Move the genMachineCheckFault function near MachineCheckFault.
Since they're so closely linked, they should be next to each other in the file.
This commit is contained in:
parent
59d7fc6b26
commit
ffeab06378
1 changed files with 5 additions and 5 deletions
|
@ -85,6 +85,11 @@ class MachineCheckFault : public MipsFault<MachineCheckFault>
|
|||
bool isMachineCheckFault() {return true;}
|
||||
};
|
||||
|
||||
static inline Fault genMachineCheckFault()
|
||||
{
|
||||
return new MachineCheckFault;
|
||||
}
|
||||
|
||||
class NonMaskableInterrupt : public MipsFault<NonMaskableInterrupt>
|
||||
{
|
||||
public:
|
||||
|
@ -106,11 +111,6 @@ class AddressErrorFault : public MipsFault<AddressErrorFault>
|
|||
|
||||
};
|
||||
|
||||
static inline Fault genMachineCheckFault()
|
||||
{
|
||||
return new MachineCheckFault;
|
||||
}
|
||||
|
||||
class ResetFault : public MipsFault<ResetFault>
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue