Changeset c33f39f in mainline for kernel/generic/include/ipc


Ignore:
Timestamp:
2012-09-04T21:12:43Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
983cabe8
Parents:
2541646
Message:

Do not establish callback connections after the answerbox enters cleanup.

Location:
kernel/generic/include/ipc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ipc/ipc.h

    r2541646 rc33f39f  
    7272typedef struct answerbox {
    7373        IRQ_SPINLOCK_DECLARE(lock);
     74
     75        /** Answerbox is active until it enters cleanup. */
     76        bool active;
    7477       
    7578        struct task *task;
     
    171174
    172175extern void ipc_phone_init(phone_t *);
    173 extern void ipc_phone_connect(phone_t *, answerbox_t *);
     176extern bool ipc_phone_connect(phone_t *, answerbox_t *);
    174177extern int ipc_phone_hangup(phone_t *);
    175178
  • kernel/generic/include/ipc/ipcrsc.h

    r2541646 rc33f39f  
    4242extern int phone_get(sysarg_t, phone_t **);
    4343extern int phone_alloc(task_t *);
    44 extern void phone_connect(int, answerbox_t *);
     44extern bool phone_connect(int, answerbox_t *);
    4545extern void phone_dealloc(int);
    4646
Note: See TracChangeset for help on using the changeset viewer.