mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
hw: don't halt kernel due to unknown cpu exception
Fix genodelabs/genode#4617
This commit is contained in:
committed by
Christian Helmuth
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:
|
||||
|
||||
Reference in New Issue
Block a user