Subversion Repositories HelenOS

Rev

Rev 3488 | Rev 4002 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3488 Rev 3819
Line 664... Line 664...
664
{
664
{
665
    return __SYSCALL6(SYS_IPC_FORWARD_FAST, callid, phoneid, method, arg1,
665
    return __SYSCALL6(SYS_IPC_FORWARD_FAST, callid, phoneid, method, arg1,
666
        arg2, mode);
666
        arg2, mode);
667
}
667
}
668
 
668
 
-
 
669
 
-
 
670
int ipc_forward_slow(ipc_callid_t callid, int phoneid, int method,
-
 
671
    ipcarg_t arg1, ipcarg_t arg2, ipcarg_t arg3, ipcarg_t arg4, ipcarg_t arg5,
-
 
672
    int mode)
-
 
673
{
-
 
674
    ipc_call_t data;
-
 
675
 
-
 
676
    IPC_SET_METHOD(data, method);
-
 
677
    IPC_SET_ARG1(data, arg1);
-
 
678
    IPC_SET_ARG2(data, arg2);
-
 
679
    IPC_SET_ARG3(data, arg3);
-
 
680
    IPC_SET_ARG4(data, arg4);
-
 
681
    IPC_SET_ARG5(data, arg5);
-
 
682
 
-
 
683
    return __SYSCALL3(SYS_IPC_FORWARD_SLOW, callid, (sysarg_t) &data, mode);
-
 
684
}
-
 
685
 
669
/** Wrapper for making IPC_M_SHARE_IN calls.
686
/** Wrapper for making IPC_M_SHARE_IN calls.
670
 *
687
 *
671
 * @param phoneid   Phone that will be used to contact the receiving side.
688
 * @param phoneid   Phone that will be used to contact the receiving side.
672
 * @param dst       Destination address space area base.
689
 * @param dst       Destination address space area base.
673
 * @param size      Size of the destination address space area.
690
 * @param size      Size of the destination address space area.