From 23f6196d61c4f96d5b8f25e3dc8b266d541ecd67 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 22 Oct 2010 00:24:08 -0700 Subject: [PATCH] X86: Implement genMachineCheckFault. Even though this shouldn't ever be used, it might get called speculatively and shouldn't panic. --- src/arch/x86/faults.hh | 10 +++++----- 1 file 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: -- 2.30.2