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:
parent
4f4e6fc099
commit
daebe18e89
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@
|
||||||
#if !FULL_SYSTEM
|
#if !FULL_SYSTEM
|
||||||
void FaultBase::invoke(ThreadContext * tc)
|
void FaultBase::invoke(ThreadContext * tc)
|
||||||
{
|
{
|
||||||
fatal("fault (%s) detected @ PC %p", name(), tc->readPC());
|
panic("fault (%s) detected @ PC %p", name(), tc->readPC());
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
void FaultBase::invoke(ThreadContext * tc)
|
void FaultBase::invoke(ThreadContext * tc)
|
||||||
|
@ -54,7 +54,7 @@ void FaultBase::invoke(ThreadContext * tc)
|
||||||
|
|
||||||
void UnimpFault::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
|
#if !FULL_SYSTEM
|
||||||
|
|
Loading…
Reference in a new issue