Changes in uspace/lib/c/include/ipc/ipc.h [10477601:64d2b10] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/ipc.h
r10477601 r64d2b10 53 53 * possible, the fast version is used. 54 54 */ 55 56 55 #define ipc_call_sync_0_0(phoneid, method) \ 57 56 ipc_call_sync_fast((phoneid), (method), 0, 0, 0, 0, 0, 0, 0, 0) … … 183 182 sysarg_t *); 184 183 185 extern ipc_callid_t ipc_wait_cycle(ipc_call_t *, sysarg_t, unsigned int); 184 extern ipc_callid_t ipc_wait_cycle(ipc_call_t *, uint32_t, int); 185 extern ipc_callid_t ipc_wait_for_call_timeout(ipc_call_t *, uint32_t); 186 186 extern void ipc_poke(void); 187 187 188 #define ipc_wait_for_call(data) \ 189 ipc_wait_for_call_timeout(data, SYNCH_NO_TIMEOUT); 190 191 extern ipc_callid_t ipc_wait_for_call_timeout(ipc_call_t *, sysarg_t); 188 static inline ipc_callid_t ipc_wait_for_call(ipc_call_t *data) 189 { 190 return ipc_wait_for_call_timeout(data, SYNCH_NO_TIMEOUT); 191 } 192 192 193 extern ipc_callid_t ipc_trywait_for_call(ipc_call_t *); 193 194 … … 198 199 * to m. 199 200 */ 200 201 201 #define ipc_answer_0(callid, retval) \ 202 202 ipc_answer_fast((callid), (retval), 0, 0, 0, 0) … … 223 223 * to m. 224 224 */ 225 226 225 #define ipc_call_async_0(phoneid, method, private, callback, can_preempt) \ 227 226 ipc_call_async_fast((phoneid), (method), 0, 0, 0, 0, (private), \ … … 249 248 250 249 extern void ipc_call_async_fast(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 251 sysarg_t, void *, ipc_async_callback_t, bool);250 sysarg_t, void *, ipc_async_callback_t, int); 252 251 extern void ipc_call_async_slow(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 253 sysarg_t, sysarg_t, void *, ipc_async_callback_t, bool); 254 255 extern int ipc_connect_to_me(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t *, 256 sysarg_t *); 257 extern int ipc_connect_me_to(int, sysarg_t, sysarg_t, sysarg_t); 258 extern int ipc_connect_me_to_blocking(int, sysarg_t, sysarg_t, sysarg_t); 259 252 sysarg_t, sysarg_t, void *, ipc_async_callback_t, int); 253 254 extern int ipc_connect_to_me(int, int, int, int, sysarg_t *, sysarg_t *); 255 extern int ipc_connect_me_to(int, int, int, int); 256 extern int ipc_connect_me_to_blocking(int, int, int, int); 260 257 extern int ipc_hangup(int); 261 262 extern int ipc_forward_fast(ipc_callid_t, int, sysarg_t, sysarg_t, sysarg_t, 263 unsigned int); 264 extern int ipc_forward_slow(ipc_callid_t, int, sysarg_t, sysarg_t, sysarg_t, 265 sysarg_t, sysarg_t, sysarg_t, unsigned int); 258 extern int ipc_forward_fast(ipc_callid_t, int, int, sysarg_t, sysarg_t, int); 259 extern int ipc_forward_slow(ipc_callid_t, int, int, sysarg_t, sysarg_t, 260 sysarg_t, sysarg_t, sysarg_t, int); 266 261 267 262 /* 268 263 * User-friendly wrappers for ipc_share_in_start(). 269 264 */ 270 271 265 #define ipc_share_in_start_0_0(phoneid, dst, size) \ 272 266 ipc_share_in_start((phoneid), (dst), (size), 0, NULL) … … 278 272 ipc_share_in_start((phoneid), (dst), (size), (arg), (flags)) 279 273 280 extern int ipc_share_in_start(int, void *, size_t, sysarg_t, unsignedint *);281 extern int ipc_share_in_finalize(ipc_callid_t, void *, unsigned int);282 extern int ipc_share_out_start(int, void *, unsignedint);274 extern int ipc_share_in_start(int, void *, size_t, sysarg_t, int *); 275 extern int ipc_share_in_finalize(ipc_callid_t, void *, int ); 276 extern int ipc_share_out_start(int, void *, int); 283 277 extern int ipc_share_out_finalize(ipc_callid_t, void *); 284 278 extern int ipc_data_read_start(int, void *, size_t);
Note:
See TracChangeset
for help on using the changeset viewer.