Subversion Repositories HelenOS

Rev

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

Rev 3403 Rev 3448
Line 153... Line 153...
153
    atomic_set(&ta->lifecount, 0);
153
    atomic_set(&ta->lifecount, 0);
154
    ta->context = CONTEXT;
154
    ta->context = CONTEXT;
155
 
155
 
156
    ta->capabilities = 0;
156
    ta->capabilities = 0;
157
    ta->cycles = 0;
157
    ta->cycles = 0;
-
 
158
 
-
 
159
#ifdef CONFIG_UDEBUG
-
 
160
    /* Init debugging stuff */
-
 
161
    udebug_task_init(&ta->udebug);
158
   
162
 
-
 
163
    /* Init kbox stuff */
-
 
164
    ipc_answerbox_init(&ta->kernel_box, ta);
-
 
165
    ta->kb_thread = NULL;
-
 
166
    mutex_initialize(&ta->kb_cleanup_lock, MUTEX_PASSIVE);
-
 
167
    ta->kb_finished = false;
-
 
168
#endif
-
 
169
 
159
    ipc_answerbox_init(&ta->answerbox, ta);
170
    ipc_answerbox_init(&ta->answerbox, ta);
160
    for (i = 0; i < IPC_MAX_PHONES; i++)
171
    for (i = 0; i < IPC_MAX_PHONES; i++)
161
        ipc_phone_init(&ta->phones[i]);
172
        ipc_phone_init(&ta->phones[i]);
162
    if ((ipc_phone_0) && (context_check(ipc_phone_0->task->context,
173
    if ((ipc_phone_0) && (context_check(ipc_phone_0->task->context,
163
        ta->context)))
174
        ta->context)))