Ignore:
Timestamp:
2015-08-23T12:50:23Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9ef495f
Parents:
0dd16778
Message:

unify interface API

  • introduce new interfaces
  • unify location service clients to always expect service ID as the second argument
  • remove obsolete methods that take explicit exchange management arguments (first phase)
  • use interfaces in device drivers, devman, location service, logger, inet
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/compositor/compositor.c

    r0dd16778 rf9b2cb4c  
    896896        ipc_call_t call;
    897897        ipc_callid_t callid;
    898         service_id_t service_id = (service_id_t) IPC_GET_ARG1(*icall);
     898        service_id_t service_id = (service_id_t) IPC_GET_ARG2(*icall);
    899899
    900900        /* Allocate resources for new window and register it to the location service. */
     
    11751175        async_sess_t *sess;
    11761176
    1177         sess = loc_service_connect(EXCHANGE_SERIALIZE, sid, 0);
     1177        sess = loc_service_connect(sid, INTERFACE_DDF, 0);
    11781178        if (sess == NULL) {
    11791179                printf("%s: Unable to connect to visualizer %s\n", NAME, svc);
     
    11821182
    11831183        async_exch_t *exch = async_exchange_begin(sess);
    1184         rc = async_connect_to_me(exch, sid, 0, 0, vsl_notifications, NULL);
     1184       
     1185        port_id_t port;
     1186        rc = async_create_callback_port(exch, INTERFACE_VISUALIZER_CB, 0, 0,
     1187            vsl_notifications, NULL, &port);
     1188       
    11851189        async_exchange_end(exch);
    11861190
     
    21452149        }
    21462150
    2147         sess = loc_service_connect(EXCHANGE_ATOMIC, dsid, 0);
     2151        sess = loc_service_connect(dsid, INTERFACE_INPUT, 0);
    21482152        if (sess == NULL) {
    21492153                printf("%s: Unable to connect to input service %s\n", NAME,
Note: See TracChangeset for help on using the changeset viewer.