Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 4389 → Rev 4348

/branches/dynload/kernel/generic/src/ipc/kbox.c
84,10 → 84,10
interrupts_restore(ipl);
if (have_kb_thread) {
LOG("Join kb.thread.");
LOG("join kb.thread..\n");
thread_join(TASK->kb.thread);
thread_detach(TASK->kb.thread);
LOG("...join done.");
LOG("join done\n");
TASK->kb.thread = NULL;
}
 
108,10 → 108,12
{
ipl_t ipl;
 
LOG("kbox_proc_phone_hungup()\n");
 
/* Was it our debugger, who hung up? */
if (call->sender == TASK->udebug.debugger) {
/* Terminate debugging session (if any). */
LOG("Terminate debugging session.");
LOG("kbox: terminate debug session\n");
ipl = interrupts_disable();
spinlock_lock(&TASK->lock);
udebug_task_cleanup(TASK);
118,10 → 120,10
spinlock_unlock(&TASK->lock);
interrupts_restore(ipl);
} else {
LOG("Was not debugger.");
LOG("kbox: was not debugger\n");
}
 
LOG("Continue with hangup message.");
LOG("kbox: continue with hangup message\n");
IPC_SET_RETVAL(call->data, 0);
ipc_answer(&TASK->kb.box, call);
 
143,7 → 145,7
}
mutex_unlock(&TASK->kb.cleanup_lock);
 
LOG("Phone list is empty.");
LOG("phone list is empty\n");
*last = true;
} else {
*last = false;
167,7 → 169,7
bool done;
 
(void)arg;
LOG("Starting.");
LOG("kbox_thread_proc()\n");
done = false;
 
while (!done) {
199,7 → 201,7
}
}
 
LOG("Exiting.");
LOG("kbox: finished\n");
}