Stub x86 Fault class which just panics.
--HG-- extra : convert_revision : abfcf4005ec636b1e6c085515b63c1d8e69e3370
This commit is contained in:
parent
385eb586ce
commit
9e93feea10
1 changed files with 8 additions and 1 deletions
|
@ -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__
|
||||
|
|
Loading…
Reference in a new issue