Changeset f9b2cb4c in mainline for uspace/srv/hid/isdv4_tablet/main.c


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/isdv4_tablet/main.c

    r0dd16778 rf9b2cb4c  
    6969        async_sess_t *sess =
    7070            async_callback_receive(EXCHANGE_SERIALIZE);
     71       
    7172        fibril_mutex_lock(&client_mutex);
    72                 if (client_sess == NULL) {
    73                         client_sess = sess;
    74                 }
     73       
     74        if (client_sess == NULL)
     75                client_sess = sess;
     76       
    7577        fibril_mutex_unlock(&client_mutex);
    7678
     
    262264        printf(NAME ": Using serial port %s\n", serial_port_name);
    263265
    264         async_sess_t *sess = loc_service_connect(EXCHANGE_SERIALIZE, svc_id,
     266        async_sess_t *sess = loc_service_connect(svc_id, INTERFACE_DDF,
    265267            IPC_FLAG_BLOCKING);
    266268        if (!sess) {
Note: See TracChangeset for help on using the changeset viewer.