From: Gabe Black Date: Fri, 22 Oct 2010 07:24:08 +0000 (-0700) Subject: X86: Implement genMachineCheckFault. X-Git-Tag: stable_2012_02_02~781 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23f6196d61c4f96d5b8f25e3dc8b266d541ecd67;p=gem5.git X86: Implement genMachineCheckFault. Even though this shouldn't ever be used, it might get called speculatively and shouldn't panic. --- 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: