faults: i think these fault invocations should be panic and not fatal. it definitely...
authorLisa Hsu <Lisa.Hsu@amd.com>
Tue, 12 Jan 2010 18:17:19 +0000 (10:17 -0800)
committerLisa Hsu <Lisa.Hsu@amd.com>
Tue, 12 Jan 2010 18:17:19 +0000 (10:17 -0800)
src/sim/faults.cc

index 0fe85378516f0b0a2880c196d7ffd73fe2264d2e..6149a8335c1dd564d1a70dc8e07c82622464a32b 100644 (file)
@@ -40,7 +40,7 @@
 #if !FULL_SYSTEM
 void FaultBase::invoke(ThreadContext * tc)
 {
-    fatal("fault (%s) detected @ PC %p", name(), tc->readPC());
+    panic("fault (%s) detected @ PC %p", name(), tc->readPC());
 }
 #else
 void FaultBase::invoke(ThreadContext * tc)
@@ -54,7 +54,7 @@ void FaultBase::invoke(ThreadContext * tc)
 
 void UnimpFault::invoke(ThreadContext * tc)
 {
-    fatal("Unimpfault: %s\n", panicStr.c_str());
+    panic("Unimpfault: %s\n", panicStr.c_str());
 }
 
 #if !FULL_SYSTEM