Changeset 241f1985 in mainline for uspace/lib/c/generic/taskman.c


Ignore:
Timestamp:
2019-08-31T10:45:17Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
102f641
Parents:
f92b315
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-08-23 22:04:34)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-31 10:45:17)
Message:

Correcting failure from previous merge

The commits from Michal Koutný from the branch system-daemon
where built on a old version of Helenos. Because of this
many types and API functions have changed. This commit
upgrades the merge code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/taskman.c

    rf92b315 r241f1985  
    103103        assert(exch);
    104104
    105         async_sess_t *sess = async_connect_me_to(EXCHANGE_ATOMIC,
    106             exch, TASKMAN_CONNECT_TO_NS, 0, 0);
     105        async_sess_t *sess = async_connect_me_to(exch, INTERFACE_NS,
     106                TASKMAN_CONNECT_TO_NS, 0);
    107107        async_exchange_end(exch);
    108108
     
    116116
    117117        async_exch_t *exch = async_exchange_begin(session_taskman);
    118         async_sess_t *sess = async_connect_me_to(EXCHANGE_SERIALIZE,
    119             exch, TASKMAN_CONNECT_TO_LOADER, 0, 0);
     118        async_sess_t *sess = async_connect_me_to(exch, INTERFACE_LOADER,
     119            TASKMAN_CONNECT_TO_LOADER, 0);
    120120        async_exchange_end(exch);
    121121
     
    136136 * @return EOK on success, otherwise propagated error code
    137137 */
    138 int taskman_intro_loader(void)
     138errno_t taskman_intro_loader(void)
    139139{
    140140        assert(session_taskman);
    141141
    142142        async_exch_t *exch = async_exchange_begin(session_taskman);
    143         int rc = async_connect_to_me(
    144             exch, TASKMAN_LOADER_CALLBACK, 0, 0, NULL, NULL);
     143        errno_t rc = async_connect_to_me(exch, INTERFACE_LOADER, TASKMAN_LOADER_CALLBACK, 0);
    145144        async_exchange_end(exch);
    146145
     
    152151 * @return EOK on success, otherwise propagated error code
    153152 */
    154 int taskman_intro_ns(void)
     153errno_t taskman_intro_ns(void)
    155154{
    156155        assert(session_taskman);
     
    159158        aid_t req = async_send_0(exch, TASKMAN_I_AM_NS, NULL);
    160159
    161         int rc = async_connect_to_me(exch, 0, 0, 0, NULL, NULL);
     160        errno_t rc = async_connect_to_me(exch, INTERFACE_NS, 0, 0);
    162161        taskman_exchange_end(exch);
    163162
     
    166165        }
    167166
    168         sysarg_t retval;
     167        errno_t retval;
    169168        async_wait_for(req, &retval);
    170169        return retval;
Note: See TracChangeset for help on using the changeset viewer.