projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
564eda8
)
X86: Panic when an unimplemented fault is invoked, rather than spinning forever
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 13 Oct 2008 06:00:28 +0000
(23:00 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 13 Oct 2008 06:00:28 +0000
(23:00 -0700)
src/arch/x86/faults.hh
patch
|
blob
|
history
diff --git
a/src/arch/x86/faults.hh
b/src/arch/x86/faults.hh
index b7948a638f320a71d6dfa7397e1683e46cf71dc7..3bcacffe2d9593d009f05f07a77fffdda0841992 100644
(file)
--- 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