Changeset 215e375 in mainline for uspace/srv/console


Ignore:
Timestamp:
2007-12-31T17:23:20Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f57f8ea
Parents:
27d293a
Message:

The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. Rename the send,
receive and deliver wrappers to names ending with 'start', 'receive' and
'finalize', respectively. This should make it clearer for dummies.

Location:
uspace/srv/console
Files:
2 edited

Legend:

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

    r27d293a r215e375  
    538538            PROTO_READ | PROTO_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, 0, 0);
    539539        if (!interbuffer) {
    540                 if (ipc_share_out_send(fb_info.phone, interbuffer,
     540                if (ipc_share_out_start(fb_info.phone, interbuffer,
    541541                    AS_AREA_READ) != EOK) {
    542542                        munmap(interbuffer,
  • uspace/srv/console/gcons.c

    r27d293a r215e375  
    326326        if (rc)
    327327                goto exit;
    328         rc = ipc_share_out_send(fbphone, shm, PROTO_READ);
     328        rc = ipc_share_out_start(fbphone, shm, PROTO_READ);
    329329        if (rc)
    330330                goto drop;
     
    387387        if (rc)
    388388                goto exit;
    389         rc = ipc_share_out_send(fbphone, shm, PROTO_READ);
     389        rc = ipc_share_out_start(fbphone, shm, PROTO_READ);
    390390        if (rc)
    391391                goto drop;
Note: See TracChangeset for help on using the changeset viewer.