Changes in kernel/generic/src/ipc/ipc.c [7e752b2:228e490] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r7e752b2 r228e490 270 270 * 271 271 */ 272 void ipc_backsend_err(phone_t *phone, call_t *call, unative_t err)272 void ipc_backsend_err(phone_t *phone, call_t *call, sysarg_t err) 273 273 { 274 274 call->data.phone = phone; … … 367 367 368 368 call_t *call = ipc_call_alloc(0); 369 IPC_SET_ METHOD(call->data, IPC_M_PHONE_HUNGUP);369 IPC_SET_IMETHOD(call->data, IPC_M_PHONE_HUNGUP); 370 370 call->flags |= IPC_CALL_DISCARD_ANSWER; 371 371 _ipc_call(phone, box, call); … … 547 547 * disconnected. 548 548 */ 549 IPC_SET_ METHOD(call->data, IPC_M_PHONE_HUNGUP);549 IPC_SET_IMETHOD(call->data, IPC_M_PHONE_HUNGUP); 550 550 call->flags |= IPC_CALL_DISCARD_ANSWER; 551 551 _ipc_call(phone, box, call); … … 655 655 (call->flags & IPC_CALL_NOTIF)); 656 656 657 /*658 * Record the receipt of this call in the current task's counter659 * of active calls. IPC_M_PHONE_HUNGUP calls do not contribute660 * to this counter so do not record answers to them either.661 */662 if (!(call->flags & IPC_CALL_DISCARD_ANSWER))663 atomic_dec(&TASK->active_calls);664 665 657 ipc_call_free(call); 666 658 } … … 749 741 " A4:%" PRIun " A5:%" PRIun " Flags:%x\n", call, 750 742 call->sender->taskid, 751 IPC_GET_ METHOD(call->data), IPC_GET_ARG1(call->data),743 IPC_GET_IMETHOD(call->data), IPC_GET_ARG1(call->data), 752 744 IPC_GET_ARG2(call->data), IPC_GET_ARG3(call->data), 753 745 IPC_GET_ARG4(call->data), IPC_GET_ARG5(call->data), … … 765 757 " A4:%" PRIun " A5:%" PRIun " Flags:%x\n", call, 766 758 call->sender->taskid, 767 IPC_GET_ METHOD(call->data), IPC_GET_ARG1(call->data),759 IPC_GET_IMETHOD(call->data), IPC_GET_ARG1(call->data), 768 760 IPC_GET_ARG2(call->data), IPC_GET_ARG3(call->data), 769 761 IPC_GET_ARG4(call->data), IPC_GET_ARG5(call->data), … … 779 771 printf("Callid:%p M:%" PRIun " A1:%" PRIun " A2:%" PRIun 780 772 " A3:%" PRIun " A4:%" PRIun " A5:%" PRIun " Flags:%x\n", 781 call, IPC_GET_ METHOD(call->data), IPC_GET_ARG1(call->data),773 call, IPC_GET_IMETHOD(call->data), IPC_GET_ARG1(call->data), 782 774 IPC_GET_ARG2(call->data), IPC_GET_ARG3(call->data), 783 775 IPC_GET_ARG4(call->data), IPC_GET_ARG5(call->data),
Note:
See TracChangeset
for help on using the changeset viewer.