Changeset beb83c1 in mainline for uspace/srv/hid


Ignore:
Timestamp:
2018-10-31T06:03:38Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
208db5a
Parents:
167616c
git-author:
Jakub Jermar <jakub@…> (2018-10-31 00:41:46)
git-committer:
Jakub Jermar <jakub@…> (2018-10-31 06:03:38)
Message:

Add async_accept_0() for accepting connections

Location:
uspace/srv/hid
Files:
5 edited

Legend:

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

    r167616c rbeb83c1  
    918918        /* Allocate resources for new window and register it to the location service. */
    919919        if (service_id == winreg_id) {
    920                 async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     920                async_accept_0(icall);
    921921
    922922                async_get_call(&call);
     
    996996
    997997        if (win) {
    998                 async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     998                async_accept_0(icall);
    999999        } else {
    10001000                async_answer_0(icall, EINVAL);
  • uspace/srv/hid/input/input.c

    r167616c rbeb83c1  
    328328        }
    329329
    330         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     330        async_accept_0(icall);
    331331
    332332        while (true) {
  • uspace/srv/hid/isdv4_tablet/main.c

    r167616c rbeb83c1  
    6565static void mouse_connection(ipc_call_t *icall, void *arg)
    6666{
    67         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     67        async_accept_0(icall);
    6868
    6969        async_sess_t *sess =
  • uspace/srv/hid/output/output.c

    r167616c rbeb83c1  
    398398{
    399399        /* Accept the connection */
    400         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     400        async_accept_0(icall);
    401401
    402402        while (true) {
  • uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c

    r167616c rbeb83c1  
    372372static void s3c24xx_ts_connection(ipc_call_t *icall, void *arg)
    373373{
    374         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     374        async_accept_0(icall);
    375375
    376376        while (true) {
Note: See TracChangeset for help on using the changeset viewer.