Changeset 9097c16a in mainline for uspace/srv/hid/console/console.c


Ignore:
Timestamp:
2011-02-04T13:14:14Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9e7cdf8
Parents:
11797d5 (diff), ff244e6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged development

File:
1 edited

Legend:

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

    r11797d5 r9097c16a  
    727727        /* NB: The callback connection is slotted for removal */
    728728        sysarg_t phonehash;
     729        sysarg_t taskhash;
    729730        int rc = async_req_3_5(phone, IPC_M_CONNECT_TO_ME, SERVICE_CONSOLE,
    730             0, 0, NULL, NULL, NULL, NULL, &phonehash);
     731            0, 0, NULL, NULL, NULL, &taskhash, &phonehash);
    731732        if (rc != EOK) {
    732733                printf(NAME ": Failed to create callback from input device\n");
     
    734735        }
    735736       
    736         async_new_connection(phonehash, 0, NULL, keyboard_events);
     737        async_new_connection(taskhash, phonehash, 0, NULL, keyboard_events);
    737738
    738739        printf(NAME ": we got a hit (new keyboard \"%s\").\n", path);
     
    784785        /* NB: The callback connection is slotted for removal */
    785786        sysarg_t phonehash;
     787        sysarg_t taskhash;
    786788        int rc = async_req_3_5(phone, IPC_M_CONNECT_TO_ME, SERVICE_CONSOLE,
    787             0, 0, NULL, NULL, NULL, NULL, &phonehash);
     789            0, 0, NULL, NULL, NULL, &taskhash, &phonehash);
    788790        if (rc != EOK) {
    789791                printf(NAME ": Failed to create callback from input device\n");
     
    791793        }
    792794
    793         async_new_connection(phonehash, 0, NULL, keyboard_events);
     795        async_new_connection(taskhash, phonehash, 0, NULL, keyboard_events);
    794796
    795797        printf(NAME ": we got a hit (new keyboard \"/dev/%s\").\n",
     
    862864        }
    863865       
     866        sysarg_t taskhash;
    864867        sysarg_t phonehash;
    865         if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) {
     868        if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &taskhash,
     869            &phonehash) != 0) {
    866870                printf(NAME ": Failed to create callback from mouse device\n");
    867871                mouse_phone = -1;
     
    869873        }
    870874       
    871         async_new_connection(phonehash, 0, NULL, mouse_events);
     875        async_new_connection(taskhash, phonehash, 0, NULL, mouse_events);
    872876skip_mouse:
    873877       
Note: See TracChangeset for help on using the changeset viewer.