Changeset 124c061 in mainline for uspace/srv/hid


Ignore:
Timestamp:
2011-01-23T23:47:58Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11bb813
Parents:
fdb9982c
Message:

ipc_connect_to_me() now takes one extra argument to store the client task hash.

Location:
uspace/srv/hid
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/adb_mouse/adb_dev.c

    rfdb9982c r124c061  
    6969        /* NB: The callback connection is slotted for removal */
    7070        sysarg_t phonehash;
    71         if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {
     71        if (ipc_connect_to_me(dev_phone, 0, 0, 0, NULL, &phonehash) != 0) {
    7272                printf(NAME ": Failed to create callback from device\n");
    7373                return false;
  • uspace/srv/hid/char_mouse/chardev.c

    rfdb9982c r124c061  
    7171        /* NB: The callback connection is slotted for removal */
    7272        sysarg_t phonehash;
    73         if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {
     73        if (ipc_connect_to_me(dev_phone, 0, 0, 0, NULL, &phonehash) != 0) {
    7474                printf(NAME ": Failed to create callback from device\n");
    7575                return false;
  • uspace/srv/hid/console/console.c

    rfdb9982c r124c061  
    727727        /* NB: The callback connection is slotted for removal */
    728728        sysarg_t phonehash;
    729         if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) {
     729        if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, NULL,
     730            &phonehash) != 0) {
    730731                printf(NAME ": Failed to create callback from input device\n");
    731732                return false;
     
    749750        }
    750751       
    751         if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) {
     752        if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, NULL,
     753            &phonehash) != 0) {
    752754                printf(NAME ": Failed to create callback from mouse device\n");
    753755                mouse_phone = -1;
  • uspace/srv/hid/fb/main.c

    rfdb9982c r124c061  
    114114                return -1;
    115115       
    116         sysarg_t phonead;
    117         if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, &phonead) != 0)
     116        if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, NULL, NULL) != 0)
    118117                return -1;
    119118       
  • uspace/srv/hid/kbd/port/adb.c

    rfdb9982c r124c061  
    7272        /* NB: The callback connection is slotted for removal */
    7373        sysarg_t phonehash;
    74         if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {
     74        if (ipc_connect_to_me(dev_phone, 0, 0, 0, NULL, &phonehash) != 0) {
    7575                printf(NAME ": Failed to create callback from device\n");
    7676                return false;
  • uspace/srv/hid/kbd/port/chardev.c

    rfdb9982c r124c061  
    9292        /* NB: The callback connection is slotted for removal */
    9393        sysarg_t phonehash;
    94         if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {
     94        if (ipc_connect_to_me(dev_phone, 0, 0, 0, NULL, &phonehash) != 0) {
    9595                printf(NAME ": Failed to create callback from device\n");
    9696                return -1;
Note: See TracChangeset for help on using the changeset viewer.