Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/ipc.h

    rdcc150cb r1c635d6  
    8989 */
    9090
    91 #define ipc_call_async_0(phoneid, method, private, callback) \
     91#define ipc_call_async_0(phoneid, method, private, callback, can_preempt) \
    9292        ipc_call_async_fast((phoneid), (method), 0, 0, 0, 0, (private), \
    93             (callback))
    94 #define ipc_call_async_1(phoneid, method, arg1, private, callback) \
     93            (callback), (can_preempt))
     94#define ipc_call_async_1(phoneid, method, arg1, private, callback, \
     95    can_preempt) \
    9596        ipc_call_async_fast((phoneid), (method), (arg1), 0, 0, 0, (private), \
    96             (callback))
    97 #define ipc_call_async_2(phoneid, method, arg1, arg2, private, callback) \
     97            (callback), (can_preempt))
     98#define ipc_call_async_2(phoneid, method, arg1, arg2, private, callback, \
     99    can_preempt) \
    98100        ipc_call_async_fast((phoneid), (method), (arg1), (arg2), 0, 0, \
    99             (private), (callback))
    100 #define ipc_call_async_3(phoneid, method, arg1, arg2, arg3, private, callback) \
     101            (private), (callback), (can_preempt))
     102#define ipc_call_async_3(phoneid, method, arg1, arg2, arg3, private, callback, \
     103    can_preempt) \
    101104        ipc_call_async_fast((phoneid), (method), (arg1), (arg2), (arg3), 0, \
    102             (private), (callback))
     105            (private), (callback), (can_preempt))
    103106#define ipc_call_async_4(phoneid, method, arg1, arg2, arg3, arg4, private, \
    104     callback) \
     107    callback, can_preempt) \
    105108        ipc_call_async_fast((phoneid), (method), (arg1), (arg2), (arg3), \
    106             (arg4), (private), (callback))
     109            (arg4), (private), (callback), (can_preempt))
    107110#define ipc_call_async_5(phoneid, method, arg1, arg2, arg3, arg4, arg5, \
    108     private, callback) \
     111    private, callback, can_preempt) \
    109112        ipc_call_async_slow((phoneid), (method), (arg1), (arg2), (arg3), \
    110             (arg4), (arg5), (private), (callback))
     113            (arg4), (arg5), (private), (callback), (can_preempt))
    111114
    112115extern void ipc_call_async_fast(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t,
    113     sysarg_t, void *, ipc_async_callback_t);
     116    sysarg_t, void *, ipc_async_callback_t, bool);
    114117extern void ipc_call_async_slow(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t,
    115     sysarg_t, sysarg_t, void *, ipc_async_callback_t);
     118    sysarg_t, sysarg_t, void *, ipc_async_callback_t, bool);
    116119
    117120extern int ipc_hangup(int);
Note: See TracChangeset for help on using the changeset viewer.