- Timestamp:
- 2011-08-19T14:06:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7a2f7ecd
- Parents:
- 2f2f1186 (diff), e2ab36f1 (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. - Location:
- kernel/generic
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/ipc.h
r2f2f1186 r9247c02c 40 40 #include <synch/mutex.h> 41 41 #include <synch/waitq.h> 42 #include <typedefs.h> 42 43 43 44 #define IPC_MAX_PHONES 32 … … 98 99 sysarg_t args[IPC_CALL_LEN]; 99 100 /** Task which made or forwarded the call with IPC_FF_ROUTE_FROM_ME. */ 100 struct task *task;101 task_id_t task_id; 101 102 /** Phone which made or last masqueraded this call. */ 102 103 phone_t *phone; -
kernel/generic/src/ipc/event.c
r2f2f1186 r9247c02c 161 161 IPC_SET_ARG5(call->data, a5); 162 162 163 call->data.task_id = TASK ? TASK->taskid : 0; 164 163 165 irq_spinlock_lock(&event->answerbox->irq_lock, true); 164 166 list_append(&call->link, &event->answerbox->irq_notifs); -
kernel/generic/src/ipc/ipc.c
r2f2f1186 r9247c02c 294 294 atomic_inc(&phone->active_calls); 295 295 call->data.phone = phone; 296 call->data.task = TASK;296 call->data.task_id = TASK->taskid; 297 297 } 298 298 … … 406 406 call->caller_phone = call->data.phone; 407 407 call->data.phone = newphone; 408 call->data.task = TASK;408 call->data.task_id = TASK->taskid; 409 409 } 410 410 -
kernel/generic/src/ipc/sysipc.c
r2f2f1186 r9247c02c 54 54 #include <mm/as.h> 55 55 #include <print.h> 56 #include <macros.h> 56 57 57 58 /** … … 375 376 IPC_GET_ARG2(*olddata), 376 377 IPC_GET_ARG3(*olddata), 377 (sysarg_t) olddata->task,378 (sysarg_t) TASK);378 LOWER32(olddata->task_id), 379 UPPER32(olddata->task_id)); 379 380 IPC_SET_RETVAL(answer->data, rc); 380 381 }
Note:
See TracChangeset
for help on using the changeset viewer.