X86: Panic when an unimplemented fault is invoked, rather than spinning forever
This commit is contained in:
parent
564eda827b
commit
349a155b6e
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue