/branches/tracing/kernel/generic/src/interrupt/interrupt.c |
---|
87,11 → 87,11 |
{ |
ASSERT(n < IVT_ITEMS); |
if (THREAD) THREAD->uspace_state = istate; |
if (THREAD) THREAD->udebug.uspace_state = istate; |
exc_table[n].f(n + IVT_FIRST, istate); |
if (THREAD) THREAD->uspace_state = NULL; |
if (THREAD) THREAD->udebug.uspace_state = NULL; |
/* This is a safe place to exit exiting thread */ |
if (THREAD && THREAD->interrupted && istate_from_uspace(istate)) |