Subversion Repositories HelenOS

Rev

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

Rev 2522 Rev 2531
Line 72... Line 72...
72
extern ipcarg_t ipc_answer_fast(ipc_callid_t callid, ipcarg_t retval,
72
extern ipcarg_t ipc_answer_fast(ipc_callid_t callid, ipcarg_t retval,
73
    ipcarg_t arg1, ipcarg_t arg2);
73
    ipcarg_t arg1, ipcarg_t arg2);
74
extern ipcarg_t ipc_answer(ipc_callid_t callid, ipc_call_t *call);
74
extern ipcarg_t ipc_answer(ipc_callid_t callid, ipc_call_t *call);
75
 
75
 
76
#define ipc_call_async(phoneid, method, arg1, private, callback, can_preempt) \
76
#define ipc_call_async(phoneid, method, arg1, private, callback, can_preempt) \
77
    (ipc_call_async_2(phoneid, method, arg1, 0, private, callback, \
77
    (ipc_call_async_2(phoneid, method, arg1, 0, private, callback, can_preempt))
78
        can_preempt))
-
 
79
extern void ipc_call_async_2(int phoneid, ipcarg_t method, ipcarg_t arg1,
78
extern void ipc_call_async_2(int phoneid, ipcarg_t method, ipcarg_t arg1,
80
    ipcarg_t arg2, void *private, ipc_async_callback_t callback,
79
    ipcarg_t arg2, void *private, ipc_async_callback_t callback,
81
    int can_preempt);
80
    int can_preempt);
82
extern void ipc_call_async_3(int phoneid, ipcarg_t method, ipcarg_t arg1,
81
extern void ipc_call_async_3(int phoneid, ipcarg_t method, ipcarg_t arg1,
83
    ipcarg_t arg2, ipcarg_t arg3, void *private, ipc_async_callback_t callback,
82
    ipcarg_t arg2, ipcarg_t arg3, void *private, ipc_async_callback_t callback,
Line 88... Line 87...
88
extern int ipc_hangup(int phoneid);
87
extern int ipc_hangup(int phoneid);
89
extern int ipc_register_irq(int inr, int devno, int method, irq_code_t *code);
88
extern int ipc_register_irq(int inr, int devno, int method, irq_code_t *code);
90
extern int ipc_unregister_irq(int inr, int devno);
89
extern int ipc_unregister_irq(int inr, int devno);
91
extern int ipc_forward_fast(ipc_callid_t callid, int phoneid, int method,
90
extern int ipc_forward_fast(ipc_callid_t callid, int phoneid, int method,
92
    ipcarg_t arg1);
91
    ipcarg_t arg1);
93
 
-
 
-
 
92
extern int ipc_data_send(int phoneid, void *src, size_t size);
94
extern int ipc_data_send_accept(ipc_callid_t *callid, ipc_call_t *call,
93
extern int ipc_data_receive(ipc_callid_t *callid, ipc_call_t *call, void **dst,
95
    void **dst, size_t *size);
94
    size_t *size);
96
extern ipcarg_t ipc_data_send_answer(ipc_callid_t callid, ipc_call_t *call,
95
extern ipcarg_t ipc_data_deliver(ipc_callid_t callid, ipc_call_t *call,
97
    void *dst, size_t size);
96
    void *dst, size_t size);
98
 
97
 
99
#endif
98
#endif
100
 
99
 
101
/** @}
100
/** @}