Changes in kernel/generic/src/proc/task.c [908bb96:f97f1e51] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r908bb96 rf97f1e51 156 156 157 157 list_initialize(&task->threads); 158 list_initialize(&task->sync_boxes); 158 159 159 160 ipc_answerbox_init(&task->answerbox, task); … … 161 162 size_t i; 162 163 for (i = 0; i < IPC_MAX_PHONES; i++) 163 ipc_phone_init(&task->phones[i], task); 164 165 spinlock_initialize(&task->active_calls_lock, "active_calls_lock"); 166 list_initialize(&task->active_calls); 164 ipc_phone_init(&task->phones[i]); 167 165 168 166 #ifdef CONFIG_UDEBUG … … 196 194 task->ucycles = 0; 197 195 task->kcycles = 0; 198 196 199 197 task->ipc_info.call_sent = 0; 200 198 task->ipc_info.call_received = 0; … … 206 204 event_task_init(task); 207 205 208 task->answerbox.active = true;209 210 206 #ifdef CONFIG_UDEBUG 211 207 /* Init debugging stuff */ … … 213 209 214 210 /* Init kbox stuff */ 215 task->kb.box.active = true;216 211 task->kb.finished = false; 217 212 #endif … … 219 214 if ((ipc_phone_0) && 220 215 (container_check(ipc_phone_0->task->container, task->container))) 221 (void)ipc_phone_connect(&task->phones[0], ipc_phone_0);216 ipc_phone_connect(&task->phones[0], ipc_phone_0); 222 217 223 218 btree_create(&task->futexes);
Note:
See TracChangeset
for help on using the changeset viewer.