Changeset 27d293a in mainline for uspace/srv/console


Ignore:
Timestamp:
2007-12-31T16:46:43Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
215e375
Parents:
3115355
Message:

Rename IPC_M_AS_AREA_SEND to IPC_M_SHARE_OUT. Rename IPC_M_AS_AREA_RECV to
IPC_M_SHARE_IN. Provide user-friendly wrappers for these methods so that even
dummies can get it right. Some applications using simpler protocols still use
these methods directly.

Location:
uspace/srv/console
Files:
2 edited

Legend:

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

    r3115355 r27d293a  
    538538            PROTO_READ | PROTO_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, 0, 0);
    539539        if (!interbuffer) {
    540                 if (async_req_3_0(fb_info.phone, IPC_M_AS_AREA_SEND,
    541                     (ipcarg_t) interbuffer, 0, AS_AREA_READ) != 0) {
     540                if (ipc_share_out_send(fb_info.phone, interbuffer,
     541                    AS_AREA_READ) != EOK) {
    542542                        munmap(interbuffer,
    543543                            sizeof(keyfield_t) * fb_info.cols * fb_info.rows);
  • uspace/srv/console/gcons.c

    r3115355 r27d293a  
    326326        if (rc)
    327327                goto exit;
    328         rc = async_req_3_0(fbphone, IPC_M_AS_AREA_SEND, (ipcarg_t) shm, 0,
    329             PROTO_READ);
     328        rc = ipc_share_out_send(fbphone, shm, PROTO_READ);
    330329        if (rc)
    331330                goto drop;
     
    388387        if (rc)
    389388                goto exit;
    390         rc = async_req_3_0(fbphone, IPC_M_AS_AREA_SEND, (ipcarg_t) shm, 0,
    391             PROTO_READ);
     389        rc = ipc_share_out_send(fbphone, shm, PROTO_READ);
    392390        if (rc)
    393391                goto drop;
Note: See TracChangeset for help on using the changeset viewer.