Changes in kernel/generic/include/ipc/ipc.h [fd1210a:2c0e5d2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/ipc.h
rfd1210a r2c0e5d2 51 51 /** This is answer to a call */ 52 52 #define IPC_CALL_ANSWERED (1 << 0) 53 /** This call will not be freed on error */ 54 #define IPC_CALL_STATIC_ALLOC (1 << 1) 53 55 /** Answer will not be passed to userspace, will be discarded */ 54 #define IPC_CALL_DISCARD_ANSWER (1 << 1)56 #define IPC_CALL_DISCARD_ANSWER (1 << 2) 55 57 /** Call was forwarded */ 56 #define IPC_CALL_FORWARDED (1 << 2)58 #define IPC_CALL_FORWARDED (1 << 3) 57 59 /** Identify connect_me_to answer */ 58 #define IPC_CALL_CONN_ME_TO (1 << 3)60 #define IPC_CALL_CONN_ME_TO (1 << 4) 59 61 /** Interrupt notification */ 60 #define IPC_CALL_NOTIF (1 << 4)62 #define IPC_CALL_NOTIF (1 << 5) 61 63 62 64 /* … … 265 267 waitq_t wq; 266 268 267 /** Linkage for the list of task's synchronous answerboxes. */268 link_t sync_box_link;269 270 269 /** Phones connected to this answerbox. */ 271 270 link_t connected_phones; … … 317 316 } call_t; 318 317 319 320 extern answerbox_t *ipc_phone_0;321 322 323 318 extern void ipc_init(void); 324 325 extern call_t * ipc_call_alloc(int); 326 extern void ipc_call_free(call_t *); 327 319 extern call_t * ipc_wait_for_call(answerbox_t *, uint32_t, int); 320 extern void ipc_answer(answerbox_t *, call_t *); 328 321 extern int ipc_call(phone_t *, call_t *); 329 322 extern int ipc_call_sync(phone_t *, call_t *); 330 extern call_t * ipc_wait_for_call(answerbox_t *, uint32_t, int);331 extern int ipc_forward(call_t *, phone_t *, answerbox_t *, int);332 extern void ipc_answer(answerbox_t *, call_t *);333 334 323 extern void ipc_phone_init(phone_t *); 335 324 extern void ipc_phone_connect(phone_t *, answerbox_t *); 325 extern void ipc_call_free(call_t *); 326 extern call_t * ipc_call_alloc(int); 327 extern void ipc_answerbox_init(answerbox_t *, struct task *); 328 extern void ipc_call_static_init(call_t *); 329 extern void task_print_list(void); 330 extern int ipc_forward(call_t *, phone_t *, answerbox_t *, int); 331 extern void ipc_cleanup(void); 336 332 extern int ipc_phone_hangup(phone_t *); 337 338 extern void ipc_answerbox_init(answerbox_t *, struct task *);339 340 extern void ipc_cleanup(void);341 333 extern void ipc_backsend_err(phone_t *, call_t *, unative_t); 334 extern void ipc_print_task(task_id_t); 342 335 extern void ipc_answerbox_slam_phones(answerbox_t *, bool); 343 336 extern void ipc_cleanup_call_list(link_t *); 344 337 345 extern void ipc_print_task(task_id_t);338 extern answerbox_t *ipc_phone_0; 346 339 347 340 #endif
Note:
See TracChangeset
for help on using the changeset viewer.