Changes between Version 4 and Version 5 of IPC


Ignore:
Timestamp:
2009-10-11T20:19:49Z (15 years ago)
Author:
Jakub Jermář
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • IPC

    v4 v5  
    211211size_t pa_len;
    212212...
    213         rc = ipc_data_write_start(vfs_phone, pa, pa_len);
     213        rc = async_data_write_start(vfs_phone, pa, pa_len);
    214214        if (rc != EOK) {
    215215                /* an error or the recipient denied the bid */
     
    226226size_t len;
    227227...
    228         if (!ipc_data_write_receive(&callid, &len)) {
     228        if (!async_data_write_receive(&callid, &len)) {
    229229                /* protocol error - the sender is not sending data */
    230230        }
     
    241241char *path;
    242242...
    243         (void) ipc_data_write_finalize(callid, path, len);
     243        (void) async_data_write_finalize(callid, path, len);
    244244}}}
    245245
     
    261261ipcarg_t rc;
    262262...
    263         rc = ipc_data_read_start(vfs_phone, buf, nbyte);
     263        rc = async_data_read_start(vfs_phone, buf, nbyte);
    264264        if (rc != EOK) {
    265265                /* handle error */
     
    275275size_t len;
    276276...
    277         if (!ipc_data_read_receive(&callid, &len)) {
     277        if (!async_data_read_receive(&callid, &len)) {
    278278                /* protocol error - the recipient is not accepting data */
    279279        }
     
    285285
    286286{{{
    287         (void) ipc_data_read_finalize(callid, dentry->data + pos, bytes);
     287        (void) async_data_read_finalize(callid, dentry->data + pos, bytes);
    288288}}}
    289289
     
    313313        void *com_area;
    314314...
    315         rc = ipc_share_out_start(dev_phone, com_area,
     315        rc = async_share_out_start(dev_phone, com_area,
    316316            AS_AREA_READ | AS_AREA_WRITE);
    317317        if (rc != EOK) {
     
    329329        int flags;
    330330...
    331         if (!ipc_share_out_receive(&callid, &maxblock_size, &flags)) {
     331        if (!async_share_out_receive(&callid, &maxblock_size, &flags)) {
    332332                /* handle error */
    333333        }
     
    339339        void *fs_va;
    340340        ...
    341         (void) ipc_share_out_finalize(callid, fs_va);
     341        (void) async_share_out_finalize(callid, fs_va);
    342342}}}
    343343
     
    357357        int rc;
    358358...
    359         rc = ipc_share_in_start_0_0(vfs_phone, reg->plb_ro, PLB_SIZE);
     359        rc = async_share_in_start_0_0(vfs_phone, reg->plb_ro, PLB_SIZE);
    360360        if (rc != EOK) {
    361361                /* handle error */
     
    372372        size_t size;
    373373...
    374         if (!ipc_share_in_receive(&callid, &size)) {
     374        if (!async_share_in_receive(&callid, &size)) {
    375375                /* handle error */
    376376        }
     
    382382...
    383383        uint8_t *plb;
    384         (void) ipc_share_in_finalize(callid, plb, AS_AREA_READ | AS_AREA_CACHEABLE);
     384        (void) async_share_in_finalize(callid, plb, AS_AREA_READ | AS_AREA_CACHEABLE);
    385385}}}
    386386