Changeset 8e80d3f in mainline


Ignore:
Timestamp:
2011-04-07T07:39:35Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3f56c90, b910455
Parents:
55132b8
Message:

Rename async_data_read/write_start_flexible() to async_data_read/write_start_generic().

Location:
uspace/lib/c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async.c

    r55132b8 r8e80d3f  
    15781578 */
    15791579int
    1580 async_data_read_start_flexible(int phoneid, void *dst, size_t size, int flags)
     1580async_data_read_start_generic(int phoneid, void *dst, size_t size, int flags)
    15811581{
    15821582        return async_req_3_0(phoneid, IPC_M_DATA_READ, (sysarg_t) dst,
     
    16771677 */
    16781678int
    1679 async_data_write_start_flexible(int phoneid, const void *src, size_t size,
     1679async_data_write_start_generic(int phoneid, const void *src, size_t size,
    16801680    int flags)
    16811681{
  • uspace/lib/c/generic/vfs/vfs.c

    r55132b8 r8e80d3f  
    378378       
    379379        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,
    381381            IPC_XF_RESTRICT);
    382382        if (rc != EOK) {
     
    408408       
    409409        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,
    411411            IPC_XF_RESTRICT);
    412412        if (rc != EOK) {
  • uspace/lib/c/include/async.h

    r55132b8 r8e80d3f  
    341341
    342342#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
     345extern int async_data_read_start_generic(int, void *, size_t, int);
    346346extern bool async_data_read_receive(ipc_callid_t *, size_t *);
    347347extern int async_data_read_finalize(ipc_callid_t, const void *, size_t);
     
    383383
    384384#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
     387extern int async_data_write_start_generic(int, const void *, size_t, int);
    388388extern bool async_data_write_receive(ipc_callid_t *, size_t *);
    389389extern int async_data_write_finalize(ipc_callid_t, void *, size_t);
Note: See TracChangeset for help on using the changeset viewer.