From: Gabe Black Date: Mon, 5 Mar 2007 12:20:34 +0000 (+0000) Subject: Stub x86 Fault class which just panics. X-Git-Tag: m5_2.0_beta3~167 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e93feea10fefcb4d612a3cd8e1d832c592408ee;p=gem5.git Stub x86 Fault class which just panics. --HG-- extra : convert_revision : abfcf4005ec636b1e6c085515b63c1d8e69e3370 --- diff --git a/src/arch/x86/faults.hh b/src/arch/x86/faults.hh index 4f246dcac..7d12e7df4 100644 --- a/src/arch/x86/faults.hh +++ b/src/arch/x86/faults.hh @@ -58,10 +58,17 @@ #ifndef __ARCH_X86_FAULTS_HH__ #define __ARCH_X86_FAULTS_HH__ -#error X86 is not yet supported! +#include "sim/faults.hh" namespace X86ISA { + class X86Fault : public FaultBase + { + void invoke(ThreadContext * tc) + { + panic("X86 faults are not implemented!"); + } + }; }; #endif // __ARCH_X86_FAULTS_HH__