Changeset f6bffee in mainline for uspace/lib/c/generic/async.c
- Timestamp:
- 2011-04-06T20:19:04Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 55132b8, b910455
- Parents:
- b946bf83
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
rb946bf83 rf6bffee 1572 1572 * @param dst Address of the beginning of the destination buffer. 1573 1573 * @param size Size of the destination buffer. 1574 * @param flags Flags to control the data transfer. 1574 1575 * 1575 1576 * @return Zero on success or a negative error code from errno.h. 1576 1577 * 1577 1578 */ 1578 int async_data_read_start(int phoneid, void *dst, size_t size) 1579 { 1580 return async_req_2_0(phoneid, IPC_M_DATA_READ, (sysarg_t) dst, 1581 (sysarg_t) size); 1579 int 1580 async_data_read_start_flexible(int phoneid, void *dst, size_t size, int flags) 1581 { 1582 return async_req_3_0(phoneid, IPC_M_DATA_READ, (sysarg_t) dst, 1583 (sysarg_t) size, (sysarg_t) flags); 1582 1584 } 1583 1585 … … 1669 1671 * @param src Address of the beginning of the source buffer. 1670 1672 * @param size Size of the source buffer. 1673 * @param flags Flags to control the data transfer. 1671 1674 * 1672 1675 * @return Zero on success or a negative error code from errno.h. 1673 1676 * 1674 1677 */ 1675 int async_data_write_start(int phoneid, const void *src, size_t size) 1676 { 1677 return async_req_2_0(phoneid, IPC_M_DATA_WRITE, (sysarg_t) src, 1678 (sysarg_t) size); 1678 int 1679 async_data_write_start_flexible(int phoneid, const void *src, size_t size, 1680 int flags) 1681 { 1682 return async_req_3_0(phoneid, IPC_M_DATA_WRITE, (sysarg_t) src, 1683 (sysarg_t) size, (sysarg_t) flags); 1679 1684 } 1680 1685
Note:
See TracChangeset
for help on using the changeset viewer.