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/input/port/adb_mouse.c

    r0dd16778 rf9b2cb4c  
    8484                return rc;
    8585       
    86         dev_sess = loc_service_connect(EXCHANGE_ATOMIC, service_id, 0);
     86        dev_sess = loc_service_connect(service_id, INTERFACE_DDF, 0);
    8787        if (dev_sess == NULL) {
    8888                printf("%s: Failed to connect to device\n", NAME);
     
    9898       
    9999        /* NB: The callback connection is slotted for removal */
    100         rc = async_connect_to_me(exch, 0, 0, 0, mouse_port_events, NULL);
     100        port_id_t port;
     101        rc = async_create_callback_port(exch, INTERFACE_ADB_CB, 0, 0,
     102            mouse_port_events, NULL, &port);
     103       
    101104        async_exchange_end(exch);
    102105        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.