Changeset efdfebc in mainline for kernel/generic/src/proc/task.c
- Timestamp:
- 2012-11-06T21:03:44Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 338810f
- Parents:
- de73242 (diff), 94795812 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
rde73242 refdfebc 156 156 157 157 list_initialize(&task->threads); 158 list_initialize(&task->sync_boxes);159 158 160 159 ipc_answerbox_init(&task->answerbox, task); … … 162 161 size_t i; 163 162 for (i = 0; i < IPC_MAX_PHONES; i++) 164 ipc_phone_init(&task->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); 165 167 166 168 #ifdef CONFIG_UDEBUG … … 204 206 event_task_init(task); 205 207 208 task->answerbox.active = true; 209 206 210 #ifdef CONFIG_UDEBUG 207 211 /* Init debugging stuff */ … … 209 213 210 214 /* Init kbox stuff */ 215 task->kb.box.active = true; 211 216 task->kb.finished = false; 212 217 #endif … … 214 219 if ((ipc_phone_0) && 215 220 (container_check(ipc_phone_0->task->container, task->container))) 216 ipc_phone_connect(&task->phones[0], ipc_phone_0);221 (void) ipc_phone_connect(&task->phones[0], ipc_phone_0); 217 222 218 223 btree_create(&task->futexes);
Note:
See TracChangeset
for help on using the changeset viewer.