Rev 3107 | Rev 3448 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3107 | Rev 3403 | ||
---|---|---|---|
Line 279... | Line 279... | ||
279 | /** Data passed from/to userspace. */ |
279 | /** Data passed from/to userspace. */ |
280 | ipc_data_t data; |
280 | ipc_data_t data; |
281 | 281 | ||
282 | /** Buffer for IPC_M_DATA_WRITE and IPC_M_DATA_READ. */ |
282 | /** Buffer for IPC_M_DATA_WRITE and IPC_M_DATA_READ. */ |
283 | uint8_t *buffer; |
283 | uint8_t *buffer; |
- | 284 | ||
- | 285 | /* |
|
- | 286 | * The forward operation can masquerade the caller phone. For those |
|
- | 287 | * cases, we must keep it aside so that the answer is processed |
|
- | 288 | * correctly. |
|
- | 289 | */ |
|
- | 290 | phone_t *caller_phone; |
|
284 | } call_t; |
291 | } call_t; |
285 | 292 | ||
286 | extern void ipc_init(void); |
293 | extern void ipc_init(void); |
287 | extern call_t * ipc_wait_for_call(answerbox_t *, uint32_t, int); |
294 | extern call_t * ipc_wait_for_call(answerbox_t *, uint32_t, int); |
288 | extern void ipc_answer(answerbox_t *, call_t *); |
295 | extern void ipc_answer(answerbox_t *, call_t *); |
289 | extern int ipc_call(phone_t *, call_t *); |
296 | extern int ipc_call(phone_t *, call_t *); |
290 | extern void ipc_call_sync(phone_t *, call_t *); |
297 | extern int ipc_call_sync(phone_t *, call_t *); |
291 | extern void ipc_phone_init(phone_t *); |
298 | extern void ipc_phone_init(phone_t *); |
292 | extern void ipc_phone_connect(phone_t *, answerbox_t *); |
299 | extern void ipc_phone_connect(phone_t *, answerbox_t *); |
293 | extern void ipc_call_free(call_t *); |
300 | extern void ipc_call_free(call_t *); |
294 | extern call_t * ipc_call_alloc(int); |
301 | extern call_t * ipc_call_alloc(int); |
295 | extern void ipc_answerbox_init(answerbox_t *, struct task *); |
302 | extern void ipc_answerbox_init(answerbox_t *, struct task *); |