Subversion Repositories HelenOS

Rev

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

Rev 2808 Rev 2925
Line 768... Line 768...
768
    assert(callid);
768
    assert(callid);
769
    assert(size);
769
    assert(size);
770
    assert(flags);
770
    assert(flags);
771
 
771
 
772
    *callid = async_get_call(&data);
772
    *callid = async_get_call(&data);
773
    if (IPC_GET_METHOD(data) != IPC_M_DATA_WRITE)
773
    if (IPC_GET_METHOD(data) != IPC_M_SHARE_OUT)
774
        return 0;
774
        return 0;
775
    *size = (size_t) IPC_GET_ARG2(data);
775
    *size = (size_t) IPC_GET_ARG2(data);
776
    *flags = (int) IPC_GET_ARG3(data);
776
    *flags = (int) IPC_GET_ARG3(data);
777
    return 1;
777
    return 1;
778
}
778
}