mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 03:45:24 +00:00
parent
daf2c2940c
commit
0db17e7048
@ -17,12 +17,6 @@
|
||||
#include <base/log.h>
|
||||
#include <base/thread.h>
|
||||
|
||||
__attribute__((always_inline))
|
||||
inline void nova_die()
|
||||
{
|
||||
asm volatile ("ud2a");
|
||||
}
|
||||
|
||||
|
||||
inline void request_event_portal(Genode::addr_t const cap,
|
||||
Genode::addr_t const sel, Genode::addr_t event)
|
||||
|
@ -66,7 +66,7 @@ void Thread::_thread_start()
|
||||
"died because of an uncaught exception");
|
||||
} catch (...) {
|
||||
/* die in a noisy way */
|
||||
nova_die();
|
||||
*(unsigned *)0 = 0xdead;
|
||||
}
|
||||
|
||||
throw;
|
||||
|
Loading…
x
Reference in New Issue
Block a user