Rev 1061 | Rev 1091 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1061 | Rev 1089 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | #include <kernel/ipc/ipc.h> |
32 | #include <kernel/ipc/ipc.h> |
33 | #include <libc.h> |
33 | #include <libc.h> |
34 | #include <types.h> |
34 | #include <types.h> |
35 | 35 | ||
36 | typedef sysarg_t ipcarg_t; |
36 | typedef sysarg_t ipcarg_t; |
- | 37 | typedef struct { |
|
37 | typedef sysarg_t ipc_data_t[IPC_CALL_LEN]; |
38 | sysarg_t args[IPC_CALL_LEN]; |
- | 39 | sysarg_t phoneid; |
|
- | 40 | } ipc_data_t ; |
|
38 | typedef struct { |
41 | typedef struct { |
39 | unsigned long long taskid; |
42 | unsigned long long taskid; |
40 | ipc_data_t data; |
43 | ipc_data_t data; |
41 | }ipc_call_t; |
44 | }ipc_call_t; |
42 | typedef sysarg_t ipc_callid_t; |
45 | typedef sysarg_t ipc_callid_t; |
Line 63... | Line 66... | ||
63 | ipcarg_t arg2, void *private, |
66 | ipcarg_t arg2, void *private, |
64 | ipc_async_callback_t callback); |
67 | ipc_async_callback_t callback); |
65 | int ipc_connect_to_me(int phoneid, int arg1, int arg2, |
68 | int ipc_connect_to_me(int phoneid, int arg1, int arg2, |
66 | unsigned long long *taskid); |
69 | unsigned long long *taskid); |
67 | int ipc_connect_me_to(int phoneid, int arg1, int arg2); |
70 | int ipc_connect_me_to(int phoneid, int arg1, int arg2); |
- | 71 | int ipc_hangup(int phoneid); |
|
68 | 72 | ||
69 | #endif |
73 | #endif |