Changeset d40a8ff in mainline for kernel/generic/src/ipc/sysipc.c


Ignore:
Timestamp:
2007-11-24T14:19:10Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9201f47
Parents:
0cc4313
Message:

Add mode argument to IPC forward.
This argument can be used to modify the way forward behaves.

File:
1 edited

Legend:

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

    r0cc4313 rd40a8ff  
    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 mode          Flags that specify mode of the forward operation.
    540541 *
    541542 * @return              Return 0 on succes, otherwise return an error code.
     
    547548 * new method and argument is not set and these values are ignored.
    548549 *
    549  * Warning: If implementing non-fast version, make sure that
    550  *          ARG3 is not rewritten for certain system IPC
     550 * Warning:     When implementing support for changing additional payload
     551 *              arguments, make sure that ARG3 is not rewritten for certain
     552 *              system IPC
    551553 */
    552554unative_t sys_ipc_forward_fast(unative_t callid, unative_t phoneid,
    553     unative_t method, unative_t arg1)
     555    unative_t method, unative_t arg1, int mode)
    554556{
    555557        call_t *call;
     
    592594        }
    593595
    594         return ipc_forward(call, phone, &TASK->answerbox);
     596        return ipc_forward(call, phone, &TASK->answerbox, mode);
    595597}
    596598
Note: See TracChangeset for help on using the changeset viewer.