diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-10-22 00:24:08 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-10-22 00:24:08 -0700 |
commit | 23f6196d61c4f96d5b8f25e3dc8b266d541ecd67 (patch) | |
tree | c235fc7b2770986fe487ac3d029c9f6b68d3ae76 /src/arch/x86/faults.hh | |
parent | 255685534aab23d52a08ea5f87fb4dffadff2899 (diff) | |
download | gem5-23f6196d61c4f96d5b8f25e3dc8b266d541ecd67.tar.xz |
X86: Implement genMachineCheckFault.
Even though this shouldn't ever be used, it might get called speculatively and
shouldn't panic.
Diffstat (limited to 'src/arch/x86/faults.hh')
-rw-r--r-- | src/arch/x86/faults.hh | 10 |
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: |