summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-10-22 00:24:08 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-10-22 00:24:08 -0700
commit23f6196d61c4f96d5b8f25e3dc8b266d541ecd67 (patch)
treec235fc7b2770986fe487ac3d029c9f6b68d3ae76
parent255685534aab23d52a08ea5f87fb4dffadff2899 (diff)
downloadgem5-23f6196d61c4f96d5b8f25e3dc8b266d541ecd67.tar.xz
X86: Implement genMachineCheckFault.
Even though this shouldn't ever be used, it might get called speculatively and shouldn't panic.
-rw-r--r--src/arch/x86/faults.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/x86/faults.hh b/src/arch/x86/faults.hh
index cfb654b62..7682953c1 100644
--- a/src/arch/x86/faults.hh
+++ b/src/arch/x86/faults.hh
@@ -160,11 +160,6 @@ namespace X86ISA
}
};
- static inline Fault genMachineCheckFault()
- {
- panic("Machine check fault not implemented in x86!\n");
- }
-
// Below is a summary of the interrupt/exception information in the
// architecture manuals.
@@ -368,6 +363,11 @@ namespace X86ISA
{}
};
+ static inline Fault genMachineCheckFault()
+ {
+ return new MachineCheck;
+ }
+
class SIMDFloatingPointFault : public X86Fault
{
public: