Stub x86 Fault class which just panics.

--HG--
extra : convert_revision : abfcf4005ec636b1e6c085515b63c1d8e69e3370
This commit is contained in:
Gabe Black 2007-03-05 12:20:34 +00:00
parent 385eb586ce
commit 9e93feea10

View file

@ -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__