faults: i think these fault invocations should be panic and not fatal. it definitely made implementing a trace cpu easier this way.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user