Changeset f5837524 in mainline for kernel/generic/src/ipc/sysipc.c
- Timestamp:
- 2018-10-29T17:15:02Z (6 years ago)
- Children:
- eec201d
- Parents:
- 184f2f8a
- git-author:
- Jakub Jermar <jakub@…> (2018-10-28 12:42:35)
- git-committer:
- Jakub Jermar <jakub@…> (2018-10-29 17:15:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/sysipc.c
r184f2f8a rf5837524 202 202 kobject_put(phone->kobject); 203 203 phone->state = IPC_PHONE_SLAMMED; 204 phone->label = 0; 204 205 irq_spinlock_unlock(&phone->callee->lock, true); 205 206 } … … 386 387 387 388 /* Set the user-defined label */ 388 call->data. label = label;389 call->data.answer_label = label; 389 390 390 391 errno_t res = request_preprocess(call, kobj->phone); … … 430 431 431 432 /* Set the user-defined label */ 432 call->data. label = label;433 call->data.answer_label = label; 433 434 434 435 errno_t res = request_preprocess(call, kobj->phone); … … 504 505 if (!method_is_immutable(IPC_GET_IMETHOD(call->data))) { 505 506 if (method_is_system(IPC_GET_IMETHOD(call->data))) { 506 if (IPC_GET_IMETHOD(call->data) == IPC_M_CONNECT_TO_ME) 507 phone_dealloc((cap_phone_handle_t) 508 IPC_GET_ARG5(call->data)); 507 if (IPC_GET_IMETHOD(call->data) == 508 IPC_M_CONNECT_TO_ME) { 509 kobject_put((kobject_t *) call->priv); 510 call->priv = 0; 511 cap_free(TASK, 512 (cap_handle_t) IPC_GET_ARG5(call->data)); 513 } 509 514 510 515 IPC_SET_ARG1(call->data, imethod); … … 771 776 call->data.flags = call->flags; 772 777 if (call->flags & IPC_CALL_NOTIF) { 773 /* Set in_phone_hashto the interrupt counter */774 call->data. phone = (void *) call->priv;778 /* Set the request_label to the interrupt counter */ 779 call->data.request_label = (sysarg_t) call->priv; 775 780 776 781 call->data.cap_handle = CAP_NIL;
Note:
See TracChangeset
for help on using the changeset viewer.