Changes in uspace/lib/c/include/ipc/ipc.h [dcc150cb:1c635d6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/ipc.h
rdcc150cb r1c635d6 89 89 */ 90 90 91 #define ipc_call_async_0(phoneid, method, private, callback ) \91 #define ipc_call_async_0(phoneid, method, private, callback, can_preempt) \ 92 92 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) \ 95 96 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) \ 98 100 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) \ 101 104 ipc_call_async_fast((phoneid), (method), (arg1), (arg2), (arg3), 0, \ 102 (private), (callback) )105 (private), (callback), (can_preempt)) 103 106 #define ipc_call_async_4(phoneid, method, arg1, arg2, arg3, arg4, private, \ 104 callback ) \107 callback, can_preempt) \ 105 108 ipc_call_async_fast((phoneid), (method), (arg1), (arg2), (arg3), \ 106 (arg4), (private), (callback) )109 (arg4), (private), (callback), (can_preempt)) 107 110 #define ipc_call_async_5(phoneid, method, arg1, arg2, arg3, arg4, arg5, \ 108 private, callback ) \111 private, callback, can_preempt) \ 109 112 ipc_call_async_slow((phoneid), (method), (arg1), (arg2), (arg3), \ 110 (arg4), (arg5), (private), (callback) )113 (arg4), (arg5), (private), (callback), (can_preempt)) 111 114 112 115 extern 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); 114 117 extern 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); 116 119 117 120 extern int ipc_hangup(int);
Note:
See TracChangeset
for help on using the changeset viewer.