Subversion Repositories HelenOS

Rev

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

Rev 2676 Rev 2677
Line 260... Line 260...
260
extern int ipc_unregister_irq(int inr, int devno);
260
extern int ipc_unregister_irq(int inr, int devno);
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
/*
-
 
266
 * User-friendly wrappers for ipc_share_in_send().
-
 
267
 */
-
 
268
#define ipc_share_in_send_0_0(phoneid, dst, size) \
-
 
269
    ipc_share_in_send((phoneid), (dst), (size), 0, NULL)
-
 
270
#define ipc_share_in_send_0_1(phoneid, dst, size, flags) \
-
 
271
    ipc_share_in_send((phoneid), (dst), (size), 0, (flags))
-
 
272
#define ipc_share_in_send_1_0(phoneid, dst, size, arg) \
-
 
273
    ipc_share_in_send((phoneid), (dst), (size), (arg), NULL)
-
 
274
#define ipc_share_in_send_1_1(phoneid, dst, size, arg, flags) \
-
 
275
    ipc_share_in_send((phoneid), (dst), (size), (arg), (flags))
-
 
276
 
-
 
277
extern int ipc_share_in_send(int phoneid, void *dst, size_t size, ipcarg_t arg,
-
 
278
    int *flags);
-
 
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);
-
 
281
extern int ipc_share_out_send(int phoneid, void *src, 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);
265
extern int ipc_data_read_send(int phoneid, void *dst, size_t size);
284
extern int ipc_data_read_send(int phoneid, void *dst, size_t size);
266
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);
267
extern int ipc_data_read_deliver(ipc_callid_t callid, void *src, size_t size);
286
extern int ipc_data_read_deliver(ipc_callid_t callid, void *src, size_t size);
268
extern int ipc_data_write_send(int phoneid, void *src, size_t size);
287
extern int ipc_data_write_send(int phoneid, void *src, size_t size);
269
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);