Changeset 8e80d3f in mainline
- Timestamp:
- 2011-04-07T07:39:35Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3f56c90, b910455
- Parents:
- 55132b8
- Location:
- uspace/lib/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
r55132b8 r8e80d3f 1578 1578 */ 1579 1579 int 1580 async_data_read_start_ flexible(int phoneid, void *dst, size_t size, int flags)1580 async_data_read_start_generic(int phoneid, void *dst, size_t size, int flags) 1581 1581 { 1582 1582 return async_req_3_0(phoneid, IPC_M_DATA_READ, (sysarg_t) dst, … … 1677 1677 */ 1678 1678 int 1679 async_data_write_start_ flexible(int phoneid, const void *src, size_t size,1679 async_data_write_start_generic(int phoneid, const void *src, size_t size, 1680 1680 int flags) 1681 1681 { -
uspace/lib/c/generic/vfs/vfs.c
r55132b8 r8e80d3f 378 378 379 379 req = async_send_1(vfs_phone, VFS_IN_READ, fildes, &answer); 380 rc = async_data_read_start_ flexible(vfs_phone, (void *) buf, nbyte,380 rc = async_data_read_start_generic(vfs_phone, (void *) buf, nbyte, 381 381 IPC_XF_RESTRICT); 382 382 if (rc != EOK) { … … 408 408 409 409 req = async_send_1(vfs_phone, VFS_IN_WRITE, fildes, &answer); 410 rc = async_data_write_start_ flexible(vfs_phone, (void *) buf, nbyte,410 rc = async_data_write_start_generic(vfs_phone, (void *) buf, nbyte, 411 411 IPC_XF_RESTRICT); 412 412 if (rc != EOK) { -
uspace/lib/c/include/async.h
r55132b8 r8e80d3f 341 341 342 342 #define async_data_read_start(p, buf, len) \ 343 async_data_read_start_ flexible((p), (buf), (len), IPC_XF_NONE)344 345 extern int async_data_read_start_ flexible(int, void *, size_t, int);343 async_data_read_start_generic((p), (buf), (len), IPC_XF_NONE) 344 345 extern int async_data_read_start_generic(int, void *, size_t, int); 346 346 extern bool async_data_read_receive(ipc_callid_t *, size_t *); 347 347 extern int async_data_read_finalize(ipc_callid_t, const void *, size_t); … … 383 383 384 384 #define async_data_write_start(p, buf, len) \ 385 async_data_write_start_ flexible((p), (buf), (len), IPC_XF_NONE)386 387 extern int async_data_write_start_ flexible(int, const void *, size_t, int);385 async_data_write_start_generic((p), (buf), (len), IPC_XF_NONE) 386 387 extern int async_data_write_start_generic(int, const void *, size_t, int); 388 388 extern bool async_data_write_receive(ipc_callid_t *, size_t *); 389 389 extern int async_data_write_finalize(ipc_callid_t, void *, size_t);
Note:
See TracChangeset
for help on using the changeset viewer.