Changeset e50cd7f in mainline for uspace/lib/c/generic/async.c
- Timestamp:
- 2011-04-17T19:17:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63517c2, cfbbe1d3
- Parents:
- ef354b6 (diff), 8595577b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
ref354b6 re50cd7f 1586 1586 * @param dst Address of the beginning of the destination buffer. 1587 1587 * @param size Size of the destination buffer. 1588 * @param flags Flags to control the data transfer. 1588 1589 * 1589 1590 * @return Zero on success or a negative error code from errno.h. 1590 1591 * 1591 1592 */ 1592 int async_data_read_start(int phoneid, void *dst, size_t size) 1593 { 1594 return async_req_2_0(phoneid, IPC_M_DATA_READ, (sysarg_t) dst, 1595 (sysarg_t) size); 1593 int 1594 async_data_read_start_generic(int phoneid, void *dst, size_t size, int flags) 1595 { 1596 return async_req_3_0(phoneid, IPC_M_DATA_READ, (sysarg_t) dst, 1597 (sysarg_t) size, (sysarg_t) flags); 1596 1598 } 1597 1599 … … 1683 1685 * @param src Address of the beginning of the source buffer. 1684 1686 * @param size Size of the source buffer. 1687 * @param flags Flags to control the data transfer. 1685 1688 * 1686 1689 * @return Zero on success or a negative error code from errno.h. 1687 1690 * 1688 1691 */ 1689 int async_data_write_start(int phoneid, const void *src, size_t size) 1690 { 1691 return async_req_2_0(phoneid, IPC_M_DATA_WRITE, (sysarg_t) src, 1692 (sysarg_t) size); 1692 int 1693 async_data_write_start_generic(int phoneid, const void *src, size_t size, 1694 int flags) 1695 { 1696 return async_req_3_0(phoneid, IPC_M_DATA_WRITE, (sysarg_t) src, 1697 (sysarg_t) size, (sysarg_t) flags); 1693 1698 } 1694 1699
Note:
See TracChangeset
for help on using the changeset viewer.