Stub x86 Fault class which just panics.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 5 Mar 2007 12:20:34 +0000 (12:20 +0000)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 5 Mar 2007 12:20:34 +0000 (12:20 +0000)
--HG--
extra : convert_revision : abfcf4005ec636b1e6c085515b63c1d8e69e3370

src/arch/x86/faults.hh

index 4f246dcac5a8c1afa061750461c1973150e11be3..7d12e7df4694cbd314c5219b50eb83b0c402afda 100644 (file)
 #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__