Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async/client.c

    r4805495 rfafb8e5  
    9595 */
    9696
    97 #define _LIBC_ASYNC_C_
     97#define LIBC_ASYNC_C_
    9898#include <ipc/ipc.h>
    9999#include <async.h>
    100100#include "../private/async.h"
    101101#include "../private/ns.h"
    102 #undef _LIBC_ASYNC_C_
     102#undef LIBC_ASYNC_C_
    103103
    104104#include <ipc/irq.h>
     
    216216        fibril_rmutex_lock(&message_mutex);
    217217
    218         msg->retval = IPC_GET_RETVAL(*data);
     218        msg->retval = ipc_get_retval(data);
    219219
    220220        /* Copy data inside lock, just in case the call was detached */
     
    486486
    487487        if (r1)
    488                 *r1 = IPC_GET_ARG1(result);
     488                *r1 = ipc_get_arg1(&result);
    489489
    490490        if (r2)
    491                 *r2 = IPC_GET_ARG2(result);
     491                *r2 = ipc_get_arg2(&result);
    492492
    493493        if (r3)
    494                 *r3 = IPC_GET_ARG3(result);
     494                *r3 = ipc_get_arg3(&result);
    495495
    496496        if (r4)
    497                 *r4 = IPC_GET_ARG4(result);
     497                *r4 = ipc_get_arg4(&result);
    498498
    499499        if (r5)
    500                 *r5 = IPC_GET_ARG5(result);
     500                *r5 = ipc_get_arg5(&result);
    501501
    502502        return rc;
     
    538538
    539539        if (r1)
    540                 *r1 = IPC_GET_ARG1(result);
     540                *r1 = ipc_get_arg1(&result);
    541541
    542542        if (r2)
    543                 *r2 = IPC_GET_ARG2(result);
     543                *r2 = ipc_get_arg2(&result);
    544544
    545545        if (r3)
    546                 *r3 = IPC_GET_ARG3(result);
     546                *r3 = ipc_get_arg3(&result);
    547547
    548548        if (r4)
    549                 *r4 = IPC_GET_ARG4(result);
     549                *r4 = ipc_get_arg4(&result);
    550550
    551551        if (r5)
    552                 *r5 = IPC_GET_ARG5(result);
     552                *r5 = ipc_get_arg5(&result);
    553553
    554554        return rc;
     
    805805                return rc;
    806806
    807         *out_phone = (cap_phone_handle_t) IPC_GET_ARG5(result);
     807        *out_phone = (cap_phone_handle_t) ipc_get_arg5(&result);
    808808        return EOK;
    809809}
     
    12601260{
    12611261        return async_req_5_0(exch, IPC_M_STATE_CHANGE_AUTHORIZE,
    1262             arg1, arg2, arg3, 0, CAP_HANDLE_RAW(other_exch->phone));
     1262            arg1, arg2, arg3, 0, cap_handle_raw(other_exch->phone));
    12631263}
    12641264
Note: See TracChangeset for help on using the changeset viewer.