Rev 2820 | Rev 3344 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2820 | Rev 3334 | ||
---|---|---|---|
Line 801... | Line 801... | ||
801 | * |
801 | * |
802 | * @return Zero on success or a negative error code from errno.h. |
802 | * @return Zero on success or a negative error code from errno.h. |
803 | */ |
803 | */ |
804 | int ipc_data_read_start(int phoneid, void *dst, size_t size) |
804 | int ipc_data_read_start(int phoneid, void *dst, size_t size) |
805 | { |
805 | { |
806 | return ipc_call_sync_2_0(phoneid, IPC_M_DATA_READ, (ipcarg_t) dst, |
806 | return async_req_2_0(phoneid, IPC_M_DATA_READ, (ipcarg_t) dst, |
807 | (ipcarg_t) size); |
807 | (ipcarg_t) size); |
808 | } |
808 | } |
809 | 809 | ||
810 | /** Wrapper for receiving the IPC_M_DATA_READ calls. |
810 | /** Wrapper for receiving the IPC_M_DATA_READ calls. |
811 | * |
811 | * |
Line 860... | Line 860... | ||
860 | * |
860 | * |
861 | * @return Zero on success or a negative error code from errno.h. |
861 | * @return Zero on success or a negative error code from errno.h. |
862 | */ |
862 | */ |
863 | int ipc_data_write_start(int phoneid, void *src, size_t size) |
863 | int ipc_data_write_start(int phoneid, void *src, size_t size) |
864 | { |
864 | { |
865 | return ipc_call_sync_2_0(phoneid, IPC_M_DATA_WRITE, (ipcarg_t) src, |
865 | return async_req_2_0(phoneid, IPC_M_DATA_WRITE, (ipcarg_t) src, |
866 | (ipcarg_t) size); |
866 | (ipcarg_t) size); |
867 | } |
867 | } |
868 | 868 | ||
869 | /** Wrapper for receiving the IPC_M_DATA_WRITE calls. |
869 | /** Wrapper for receiving the IPC_M_DATA_WRITE calls. |
870 | * |
870 | * |