From: Gabe Black Date: Mon, 13 Oct 2008 06:00:28 +0000 (-0700) Subject: X86: Panic when an unimplemented fault is invoked, rather than spinning forever X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=349a155b6e38c128f155b1c83d9f11e73f6e8673;p=gem5.git X86: Panic when an unimplemented fault is invoked, rather than spinning forever --- diff --git a/src/arch/x86/faults.hh b/src/arch/x86/faults.hh index b7948a638..3bcacffe2 100644 --- a/src/arch/x86/faults.hh +++ b/src/arch/x86/faults.hh @@ -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