summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-03-05 12:20:34 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-03-05 12:20:34 +0000
commit9e93feea10fefcb4d612a3cd8e1d832c592408ee (patch)
tree0d50f70b913b8f5f8bee65f14df2c39f02bbbc9a /src/arch/x86
parent385eb586ce130c91289821609b67fe55770ef484 (diff)
downloadgem5-9e93feea10fefcb4d612a3cd8e1d832c592408ee.tar.xz
Stub x86 Fault class which just panics.
--HG-- extra : convert_revision : abfcf4005ec636b1e6c085515b63c1d8e69e3370
Diffstat (limited to 'src/arch/x86')
-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__