Changeset 90c35436 in mainline


Ignore:
Timestamp:
2007-12-02T21:08:03Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
38c706cc
Parents:
b61d47d
Message:

Update comments wrt the previous commit.
Minor formatting fixes.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/sysipc.c

    rb61d47d r90c35436  
    538538 * @param method        New method to use for the forwarded call.
    539539 * @param arg1          New value of the first argument for the forwarded call.
     540 * @param arg2          New value of the second argument for the forwarded call.
    540541 * @param mode          Flags that specify mode of the forward operation.
    541542 *
    542543 * @return              Return 0 on succes, otherwise return an error code.
    543544 *
    544  * In case the original method is a system method, ARG1 and ARG2 are overwritten
    545  * in the forwarded message with the new method and the new arg1, respectively.
    546  * Otherwise the METHOD and ARG1 are rewritten with the new method and arg1,
    547  * respectively. Also note there is a set of immutable methods, for which the
    548  * new method and argument is not set and these values are ignored.
     545 * In case the original method is a system method, ARG1, ARG2 and ARG3 are
     546 * overwritten in the forwarded message with the new method and the new arg1 and
     547 * arg2, respectively. Otherwise the METHOD, ARG1 and ARG2 are rewritten with
     548 * the new method, arg1 and arg2, respectively. Also note there is a set of
     549 * immutable methods, for which the new method and argument is not set and
     550 * these values are ignored.
    549551 *
    550552 * Warning:     When implementing support for changing additional payload
    551  *              arguments, make sure that ARG3 is not rewritten for certain
     553 *              arguments, make sure that ARG5 is not rewritten for certain
    552554 *              system IPC
    553555 */
  • uspace/lib/libc/generic/ipc.c

    rb61d47d r90c35436  
    598598
    599599        res = ipc_call_sync_3_5(phoneid, IPC_M_CONNECT_ME_TO, arg1, arg2, arg3,
    600                 NULL, NULL, NULL, NULL, &newphid);
     600            NULL, NULL, NULL, NULL, &newphid);
    601601        if (res)
    602602                return res;
     
    653653 * @return              Zero on success or an error code.
    654654 *
    655  * For non-system methods, the old method and arg1 are rewritten by the new
    656  * values. For system methods, the new method, arg1 and arg2 are written
     655 * For non-system methods, the old method, arg1 and arg2 are rewritten by the
     656 * new values. For system methods, the new method, arg1 and arg2 are written
    657657 * to the old arg1, arg2 and arg3, respectivelly. Calls with immutable
    658658 * methods are forwarded verbatim.
     
    662662{
    663663        return __SYSCALL6(SYS_IPC_FORWARD_FAST, callid, phoneid, method, arg1,
    664                 arg2, mode);
     664            arg2, mode);
    665665}
    666666
Note: See TracChangeset for help on using the changeset viewer.