Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1363 → Rev 1364

/kernel/trunk/generic/include/ipc/sysipc.h
31,6 → 31,7
 
#include <ipc/ipc.h>
#include <ipc/irq.h>
#include <arch/types.h>
 
__native sys_ipc_call_sync_fast(__native phoneid, __native method,
__native arg1, ipc_data_t *data);
42,7 → 43,7
__native sys_ipc_answer_fast(__native callid, __native retval,
__native arg1, __native arg2);
__native sys_ipc_answer(__native callid, ipc_data_t *data);
__native sys_ipc_wait_for_call(ipc_data_t *calldata, __native flags);
__native sys_ipc_wait_for_call(ipc_data_t *calldata, __u32 usec, int nonblocking);
__native sys_ipc_forward_fast(__native callid, __native phoneid,
__native method, __native arg1);
__native sys_ipc_hangup(int phoneid);
/kernel/trunk/generic/include/ipc/ipc.h
45,9 → 45,6
#define IPC_CALL_CONN_ME_TO (1<<4) /* Identify connect_me_to */
#define IPC_CALL_NOTIF (1<<5) /* Interrupt notification */
 
/* Flags for ipc_wait_for_call */
#define IPC_WAIT_NONBLOCKING 1
 
/* Flags of callid (the addresses are aligned at least to 4,
* that is why we can use bottom 2 bits of the call address
*/
200,7 → 197,7
}call_t;
 
extern void ipc_init(void);
extern call_t * ipc_wait_for_call(answerbox_t *box, int flags);
extern call_t * ipc_wait_for_call(answerbox_t *box, __u32 usec, int nonblocking);
extern void ipc_answer(answerbox_t *box, call_t *request);
extern int ipc_call(phone_t *phone, call_t *call);
extern void ipc_call_sync(phone_t *phone, call_t *request);
216,7 → 213,6
extern int ipc_phone_hangup(phone_t *phone);
extern void ipc_backsend_err(phone_t *phone, call_t *call, __native err);
 
 
extern answerbox_t *ipc_phone_0;
 
#endif