Changeset 03a8a8e in mainline for kernel/generic/src/proc/task.c


Ignore:
Timestamp:
2012-09-15T18:19:04Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e9fe33b
Parents:
c97b086
Message:

Link each phone to its containing task.

This makes it possible to set the call's sender reliably using just the
info stored in the phone used to make the call.

File:
1 edited

Legend:

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

    rc97b086 r03a8a8e  
    161161        size_t i;
    162162        for (i = 0; i < IPC_MAX_PHONES; i++)
    163                 ipc_phone_init(&task->phones[i]);
     163                ipc_phone_init(&task->phones[i], task);
    164164
    165165        spinlock_initialize(&task->active_calls_lock, "active_calls_lock");
Note: See TracChangeset for help on using the changeset viewer.