Changeset beb83c1 in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2018-10-31T06:03:38Z (5 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r167616c rbeb83c1  
    339339{
    340340        /* Accept connection */
    341         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     341        async_accept_0(icall);
    342342
    343343        while (true) {
     
    419419                ret = (*fun->ops->open)(fun);
    420420
    421         async_answer_5(icall, ret, 0, 0, 0, 0, async_get_label());
    422421        if (ret != EOK) {
     422                async_answer_0(icall, ret);
    423423                fun_del_ref(fun);
    424424                return;
    425425        }
     426
     427        async_accept_0(icall);
    426428
    427429        while (true) {
Note: See TracChangeset for help on using the changeset viewer.