Subversion Repositories HelenOS

Rev

Rev 2677 | Rev 2814 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2677 Rev 2678
Line 261... Line 261...
261
extern int ipc_forward_fast(ipc_callid_t callid, int phoneid, int method,
261
extern int ipc_forward_fast(ipc_callid_t callid, int phoneid, int method,
262
    ipcarg_t arg1, ipcarg_t arg2, int mode);
262
    ipcarg_t arg1, ipcarg_t arg2, int mode);
263
 
263
 
264
 
264
 
265
/*
265
/*
266
 * User-friendly wrappers for ipc_share_in_send().
266
 * User-friendly wrappers for ipc_share_in_start().
267
 */
267
 */
268
#define ipc_share_in_send_0_0(phoneid, dst, size) \
268
#define ipc_share_in_start_0_0(phoneid, dst, size) \
269
    ipc_share_in_send((phoneid), (dst), (size), 0, NULL)
269
    ipc_share_in_start((phoneid), (dst), (size), 0, NULL)
270
#define ipc_share_in_send_0_1(phoneid, dst, size, flags) \
270
#define ipc_share_in_start_0_1(phoneid, dst, size, flags) \
271
    ipc_share_in_send((phoneid), (dst), (size), 0, (flags))
271
    ipc_share_in_start((phoneid), (dst), (size), 0, (flags))
272
#define ipc_share_in_send_1_0(phoneid, dst, size, arg) \
272
#define ipc_share_in_start_1_0(phoneid, dst, size, arg) \
273
    ipc_share_in_send((phoneid), (dst), (size), (arg), NULL)
273
    ipc_share_in_start((phoneid), (dst), (size), (arg), NULL)
274
#define ipc_share_in_send_1_1(phoneid, dst, size, arg, flags) \
274
#define ipc_share_in_start_1_1(phoneid, dst, size, arg, flags) \
275
    ipc_share_in_send((phoneid), (dst), (size), (arg), (flags))
275
    ipc_share_in_start((phoneid), (dst), (size), (arg), (flags))
276
 
276
 
277
extern int ipc_share_in_send(int phoneid, void *dst, size_t size, ipcarg_t arg,
277
extern int ipc_share_in_start(int phoneid, void *dst, size_t size, ipcarg_t arg,
278
    int *flags);
278
    int *flags);
279
extern int ipc_share_in_receive(ipc_callid_t *callid, size_t *size);
279
extern int ipc_share_in_receive(ipc_callid_t *callid, size_t *size);
280
extern int ipc_share_in_deliver(ipc_callid_t callid, void *src, int flags);
280
extern int ipc_share_in_finalize(ipc_callid_t callid, void *src, int flags);
281
extern int ipc_share_out_send(int phoneid, void *src, int flags);
281
extern int ipc_share_out_start(int phoneid, void *src, int flags);
282
extern int ipc_share_out_receive(ipc_callid_t *callid, size_t *size, int *flags);
282
extern int ipc_share_out_receive(ipc_callid_t *callid, size_t *size, int *flags);
283
extern int ipc_share_out_deliver(ipc_callid_t callid, void *dst);
283
extern int ipc_share_out_finalize(ipc_callid_t callid, void *dst);
284
extern int ipc_data_read_send(int phoneid, void *dst, size_t size);
284
extern int ipc_data_read_start(int phoneid, void *dst, size_t size);
285
extern int ipc_data_read_receive(ipc_callid_t *callid, size_t *size);
285
extern int ipc_data_read_receive(ipc_callid_t *callid, size_t *size);
286
extern int ipc_data_read_deliver(ipc_callid_t callid, void *src, size_t size);
286
extern int ipc_data_read_finalize(ipc_callid_t callid, void *src, size_t size);
287
extern int ipc_data_write_send(int phoneid, void *src, size_t size);
287
extern int ipc_data_write_start(int phoneid, void *src, size_t size);
288
extern int ipc_data_write_receive(ipc_callid_t *callid, size_t *size);
288
extern int ipc_data_write_receive(ipc_callid_t *callid, size_t *size);
289
extern int ipc_data_write_deliver(ipc_callid_t callid, void *dst, size_t size);
289
extern int ipc_data_write_finalize(ipc_callid_t callid, void *dst, size_t size);
290
 
290
 
291
#endif
291
#endif
292
 
292
 
293
/** @}
293
/** @}
294
 */
294
 */