X86: Panic when an unimplemented fault is invoked, rather than spinning forever
authorGabe Black <gblack@eecs.umich.edu>
Mon, 13 Oct 2008 06:00:28 +0000 (23:00 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 13 Oct 2008 06:00:28 +0000 (23:00 -0700)
src/arch/x86/faults.hh

index b7948a638f320a71d6dfa7397e1683e46cf71dc7..3bcacffe2d9593d009f05f07a77fffdda0841992 100644 (file)
@@ -91,6 +91,12 @@ namespace X86ISA
         {
             return mnem;
         }
+
+        void
+        invoke(ThreadContext * tc)
+        {
+            panic("Unimplemented fault %s.\n", name());
+        }
     };
 
     // Base class for x86 faults which behave as if the underlying instruction