Changeset b61d47d in mainline for uspace/lib/libc/generic/ipc.c
- Timestamp:
- 2007-12-02T20:00:14Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 90c35436
- Parents:
- 8df2eab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/ipc.c
r8df2eab rb61d47d 588 588 * @param arg1 User defined argument. 589 589 * @param arg2 User defined argument. 590 * @param arg3 User defined argument. 590 591 * 591 592 * @return New phone handle on success or a negative error code. 592 593 */ 593 int ipc_connect_me_to(int phoneid, int arg1, int arg2 )594 int ipc_connect_me_to(int phoneid, int arg1, int arg2, int arg3) 594 595 { 595 596 ipcarg_t newphid; 596 597 int res; 597 598 598 res = ipc_call_sync_ 2_3(phoneid, IPC_M_CONNECT_ME_TO, arg1, arg2, NULL,599 599 res = ipc_call_sync_3_5(phoneid, IPC_M_CONNECT_ME_TO, arg1, arg2, arg3, 600 NULL, NULL, NULL, NULL, &newphid); 600 601 if (res) 601 602 return res; … … 647 648 * @param method New method for the forwarded call. 648 649 * @param arg1 New value of the first argument for the forwarded call. 650 * @param arg2 New value of the second argument for the forwarded call. 649 651 * @param mode Flags specifying mode of the forward operation. 650 652 * … … 652 654 * 653 655 * For non-system methods, the old method and arg1 are rewritten by the new 654 * values. For system methods, the new method and arg1 are written to the old655 * arg1 and arg2, respectivelly. Calls with immutable methods are forwarded656 * verbatim.656 * values. For system methods, the new method, arg1 and arg2 are written 657 * to the old arg1, arg2 and arg3, respectivelly. Calls with immutable 658 * methods are forwarded verbatim. 657 659 */ 658 660 int ipc_forward_fast(ipc_callid_t callid, int phoneid, int method, 659 ipcarg_t arg1, i nt mode)660 { 661 return __SYSCALL 5(SYS_IPC_FORWARD_FAST, callid, phoneid, method, arg1,662 661 ipcarg_t arg1, ipcarg_t arg2, int mode) 662 { 663 return __SYSCALL6(SYS_IPC_FORWARD_FAST, callid, phoneid, method, arg1, 664 arg2, mode); 663 665 } 664 666
Note:
See TracChangeset
for help on using the changeset viewer.