summaryrefslogtreecommitdiff
path: root/sim/faults.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-05-14 23:53:29 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-05-14 23:53:29 -0400
commit9955ebd03c987077adf577c6d0b0b3a1667bade5 (patch)
treebfc8ab8b4a18b425337c0e61e0ce72840671a2ac /sim/faults.cc
parent8db6dd370c82bb4edc6f3e229589226f2ff4b41c (diff)
downloadgem5-9955ebd03c987077adf577c6d0b0b3a1667bade5.tar.xz
Moved the UnimpFault to be global
--HG-- extra : convert_revision : a42224c70c475c1559e83b8a2ef71ff3b792a3ab
Diffstat (limited to 'sim/faults.cc')
-rw-r--r--sim/faults.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/faults.cc b/sim/faults.cc
index f7e9a0691..cb095f852 100644
--- a/sim/faults.cc
+++ b/sim/faults.cc
@@ -45,3 +45,8 @@ void FaultBase::invoke(ExecContext * xc)
assert(!xc->misspeculating());
}
#endif
+
+void UnimpFault::invoke(ExecContext * xc)
+{
+ panic("Unimpfault: %s\n", panicStr.c_str());
+}