Subversion Repositories HelenOS

Rev

Rev 3014 | Rev 3035 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3014 Rev 3034
Line 175... Line 175...
175
    udebug_task_init(&ta->udebug);
175
    udebug_task_init(&ta->udebug);
176
 
176
 
177
    /* Init kbox stuff */
177
    /* Init kbox stuff */
178
    ipc_answerbox_init(&ta->kernel_box, ta);
178
    ipc_answerbox_init(&ta->kernel_box, ta);
179
    ta->kb_thread = NULL;
179
    ta->kb_thread = NULL;
180
    spinlock_initialize(&ta->kb_cleanup_lock, "task_kb_cleanup_lock");
180
    mutex_initialize(&ta->kb_cleanup_lock);
181
    ta->kb_finished = false;
181
    ta->kb_finished = false;
182
    waitq_initialize(&ta->kb_thread_shutdown_wq);
182
    waitq_initialize(&ta->kb_thread_shutdown_wq);
183
 
183
 
184
    ipc_answerbox_init(&ta->answerbox, ta);
184
    ipc_answerbox_init(&ta->answerbox, ta);
185
    for (i = 0; i < IPC_MAX_PHONES; i++)
185
    for (i = 0; i < IPC_MAX_PHONES; i++)