summaryrefslogtreecommitdiff
path: root/src/arch/x86/faults.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/faults.hh')
-rw-r--r--src/arch/x86/faults.hh9
1 files changed, 8 insertions, 1 deletions
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__