Changeset 12ab886 in mainline for kernel/generic/src/ipc/ipc.c
- Timestamp:
- 2008-04-05T11:06:10Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1383356
- Parents:
- 776f2e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r776f2e6 r12ab886 118 118 * 119 119 * @param box Answerbox structure to be initialized. 120 */ 121 void ipc_answerbox_init(answerbox_t *box) 120 * @param task Task to which the answerbox belongs. 121 */ 122 void ipc_answerbox_init(answerbox_t *box, task_t *task) 122 123 { 123 124 spinlock_initialize(&box->lock, "ipc_box_lock"); … … 130 131 list_initialize(&box->irq_notifs); 131 132 list_initialize(&box->irq_head); 132 box->task = TASK;133 box->task = task; 133 134 } 134 135 … … 173 174 answerbox_t sync_box; 174 175 175 ipc_answerbox_init(&sync_box );176 ipc_answerbox_init(&sync_box, TASK); 176 177 177 178 /* We will receive data in a special box. */
Note:
See TracChangeset
for help on using the changeset viewer.