Subversion Repositories HelenOS

Rev

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

Rev 3343 Rev 3397
Line 680... Line 680...
680
int ipc_share_in_start(int phoneid, void *dst, size_t size, ipcarg_t arg,
680
int ipc_share_in_start(int phoneid, void *dst, size_t size, ipcarg_t arg,
681
    int *flags)
681
    int *flags)
682
{
682
{
683
    int res;
683
    int res;
684
    sysarg_t tmp_flags;
684
    sysarg_t tmp_flags;
685
    res = ipc_call_sync_3_2(phoneid, IPC_M_SHARE_IN, (ipcarg_t) dst,
685
    res = async_req_3_2(phoneid, IPC_M_SHARE_IN, (ipcarg_t) dst,
686
        (ipcarg_t) size, arg, NULL, &tmp_flags);
686
        (ipcarg_t) size, arg, NULL, &tmp_flags);
687
    if (flags)
687
    if (flags)
688
        *flags = tmp_flags;
688
        *flags = tmp_flags;
689
    return res;
689
    return res;
690
}
690
}
Line 740... Line 740...
740
 *
740
 *
741
 * @return      Zero on success or a negative error code from errno.h.
741
 * @return      Zero on success or a negative error code from errno.h.
742
 */
742
 */
743
int ipc_share_out_start(int phoneid, void *src, int flags)
743
int ipc_share_out_start(int phoneid, void *src, int flags)
744
{
744
{
745
    return ipc_call_sync_3_0(phoneid, IPC_M_SHARE_OUT, (ipcarg_t) src, 0,
745
    return async_req_3_0(phoneid, IPC_M_SHARE_OUT, (ipcarg_t) src, 0,
746
        (ipcarg_t) flags);
746
        (ipcarg_t) flags);
747
}
747
}
748
 
748
 
749
/** Wrapper for receiving the IPC_M_SHARE_OUT calls.
749
/** Wrapper for receiving the IPC_M_SHARE_OUT calls.
750
 *
750
 *