Rev 3359 | Rev 3620 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3359 | Rev 3438 | ||
---|---|---|---|
Line 154... | Line 154... | ||
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 | 158 | ||
- | 159 | #ifdef CONFIG_UDEBUG |
|
- | 160 | /* Init debugging stuff */ |
|
- | 161 | udebug_task_init(&ta->udebug); |
|
- | 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))) |