Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/task.c

    r908bb96 rf97f1e51  
    156156       
    157157        list_initialize(&task->threads);
     158        list_initialize(&task->sync_boxes);
    158159       
    159160        ipc_answerbox_init(&task->answerbox, task);
     
    161162        size_t i;
    162163        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]);
    167165       
    168166#ifdef CONFIG_UDEBUG
     
    196194        task->ucycles = 0;
    197195        task->kcycles = 0;
    198 
     196       
    199197        task->ipc_info.call_sent = 0;
    200198        task->ipc_info.call_received = 0;
     
    206204        event_task_init(task);
    207205       
    208         task->answerbox.active = true;
    209 
    210206#ifdef CONFIG_UDEBUG
    211207        /* Init debugging stuff */
     
    213209       
    214210        /* Init kbox stuff */
    215         task->kb.box.active = true;
    216211        task->kb.finished = false;
    217212#endif
     
    219214        if ((ipc_phone_0) &&
    220215            (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);
    222217       
    223218        btree_create(&task->futexes);
Note: See TracChangeset for help on using the changeset viewer.