mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-11 13:22:33 +00:00
hw: don't halt kernel due to unknown cpu exception
Fix genodelabs/genode#4617
This commit is contained in:
parent
6c6ce30389
commit
0231ee4ad3
@ -55,6 +55,16 @@ void Thread::exception(Cpu & cpu)
|
||||
" ISS=", Cpu::Esr::Iss::get(esr),
|
||||
" ip=", (void*)regs->ip);
|
||||
};
|
||||
|
||||
/*
|
||||
* If the machine exception is caused by a non-privileged
|
||||
* component, mark it dead, and continue execution.
|
||||
*/
|
||||
if (regs->exception_type == Cpu::SYNC_LEVEL_EL0) {
|
||||
Genode::raw("Will freeze thread ", *this);
|
||||
_become_inactive(DEAD);
|
||||
return;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user