Changeset 0da4e41 in mainline for uspace/srv/console


Ignore:
Timestamp:
2009-10-11T16:11:22Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba8f8cb
Parents:
bbb01b98
Message:

ipc_data_*() and ipc_share_*(), respectively, should be renamed to
async_data_*() and async_share_*(), respectively, because these functions are
using the async framework.

Location:
uspace/srv/console
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/console/console.c

    rbbb01b98 r0da4e41  
    429429        ipc_callid_t callid;
    430430        size_t size;
    431         if (!ipc_data_write_receive(&callid, &size)) {
     431        if (!async_data_write_receive(&callid, &size)) {
    432432                ipc_answer_0(callid, EINVAL);
    433433                ipc_answer_0(rid, EINVAL);
     
    442442        }
    443443       
    444         (void) ipc_data_write_finalize(callid, buf, size);
     444        (void) async_data_write_finalize(callid, buf, size);
    445445       
    446446        async_serialize_start();
     
    464464        ipc_callid_t callid;
    465465        size_t size;
    466         if (!ipc_data_read_receive(&callid, &size)) {
     466        if (!async_data_read_receive(&callid, &size)) {
    467467                ipc_answer_0(callid, EINVAL);
    468468                ipc_answer_0(rid, EINVAL);
     
    489489       
    490490        if (pos == size) {
    491                 (void) ipc_data_read_finalize(callid, buf, size);
     491                (void) async_data_read_finalize(callid, buf, size);
    492492                ipc_answer_1(rid, EOK, size);
    493493                free(buf);
     
    713713       
    714714        if (interbuffer) {
    715                 if (ipc_share_out_start(fb_info.phone, interbuffer,
     715                if (async_share_out_start(fb_info.phone, interbuffer,
    716716                    AS_AREA_READ) != EOK) {
    717717                        as_area_destroy(interbuffer);
  • uspace/srv/console/gcons.c

    rbbb01b98 r0da4e41  
    339339                goto exit;
    340340       
    341         rc = ipc_share_out_start(fbphone, shm, PROTO_READ);
     341        rc = async_share_out_start(fbphone, shm, PROTO_READ);
    342342        if (rc)
    343343                goto drop;
     
    409409                goto exit;
    410410       
    411         rc = ipc_share_out_start(fbphone, shm, PROTO_READ);
     411        rc = async_share_out_start(fbphone, shm, PROTO_READ);
    412412        if (rc)
    413413                goto drop;
Note: See TracChangeset for help on using the changeset viewer.