From 9e93feea10fefcb4d612a3cd8e1d832c592408ee Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 5 Mar 2007 12:20:34 +0000 Subject: Stub x86 Fault class which just panics. --HG-- extra : convert_revision : abfcf4005ec636b1e6c085515b63c1d8e69e3370 --- src/arch/x86/faults.hh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/arch') 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__ -- cgit v1.2.3