Changeset 03362fbd in mainline for kernel/generic/src/proc/task.c


Ignore:
Timestamp:
2013-02-09T23:14:45Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
22dfd38
Parents:
b5d2e57 (diff), 005b765 (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.
Message:

Merge mainline changes.

Conflict resulting from bool.h → stdbool.h move and ddf structs turning opaque.
Fails to boot to shell console.

File:
1 edited

Legend:

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

    rb5d2e57 r03362fbd  
    156156       
    157157        list_initialize(&task->threads);
    158         list_initialize(&task->sync_boxes);
    159158       
    160159        ipc_answerbox_init(&task->answerbox, task);
     
    162161        size_t i;
    163162        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);
    165167       
    166168#ifdef CONFIG_UDEBUG
     
    194196        task->ucycles = 0;
    195197        task->kcycles = 0;
    196        
     198
    197199        task->ipc_info.call_sent = 0;
    198200        task->ipc_info.call_received = 0;
     
    204206        event_task_init(task);
    205207       
     208        task->answerbox.active = true;
     209
    206210#ifdef CONFIG_UDEBUG
    207211        /* Init debugging stuff */
     
    209213       
    210214        /* Init kbox stuff */
     215        task->kb.box.active = true;
    211216        task->kb.finished = false;
    212217#endif
     
    214219        if ((ipc_phone_0) &&
    215220            (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);
    217222       
    218223        btree_create(&task->futexes);
Note: See TracChangeset for help on using the changeset viewer.