Added fault generation functions. I would still like to see these go away. The page...
authorGabe Black <gblack@eecs.umich.edu>
Mon, 5 Mar 2007 16:07:01 +0000 (16:07 +0000)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 5 Mar 2007 16:07:01 +0000 (16:07 +0000)
--HG--
extra : convert_revision : cafe25befd64f83a424c1a09f5e62a16df5408ad

src/arch/x86/faults.hh

index 384b4b352ece94f885891423ffac7ae1a6f8ecd9..6d89c273a81e896cee8ef5e81d690b281230c0d7 100644 (file)
@@ -70,6 +70,21 @@ namespace X86ISA
             panic("X86 faults are not implemented!");
         }
     };
+
+    static inline Fault genPageTableFault(Addr va)
+    {
+        panic("Page table fault not implemented in x86!\n");
+    }
+
+    static inline Fault genMachineCheckFault()
+    {
+        panic("Machine check fault not implemented in x86!\n");
+    }
+
+    static inline Fault genAlignmentFault()
+    {
+        panic("Alignment fault not implemented (or for the most part existant) in x86!\n");
+    }
 };
 
 #endif // __ARCH_X86_FAULTS_HH__