Changeset 03a8a8e in mainline for kernel/generic/include/ipc/ipc.h


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/include/ipc/ipc.h

    rc97b086 r03a8a8e  
    6565        mutex_t lock;
    6666        link_t link;
     67        struct task *caller;
    6768        struct answerbox *callee;
    6869        ipc_phone_state_t state;
     
    177178extern void _ipc_answer_free_call(call_t *, bool);
    178179
    179 extern void ipc_phone_init(phone_t *);
     180extern void ipc_phone_init(phone_t *, struct task *);
    180181extern bool ipc_phone_connect(phone_t *, answerbox_t *);
    181182extern int ipc_phone_hangup(phone_t *);
Note: See TracChangeset for help on using the changeset viewer.