Changeset 7c7aae16 in mainline for generic/include/ipc/ipc.h


Ignore:
Timestamp:
2006-03-19T19:42:00Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ad64a2d
Parents:
9f22213
Message:

Reduced unnecessary IPC system calls.
Allow everything to be sync & async, everything is handled using messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/ipc/ipc.h

    r9f22213 r7c7aae16  
    4040#define IPC_CALL_ANSWERED       (1<<0) /**< This is answer to a call */
    4141#define IPC_CALL_STATIC_ALLOC   (1<<1) /**< This call will not be freed on error */
    42 #define IPC_CALL_DISPATCHED     (1<<2) /**< Call is in dispatch queue */
    43 #define IPC_CALL_DISCARD_ANSWER (1<<3) /**< Answer will not be passed to
     42#define IPC_CALL_DISCARD_ANSWER (1<<2) /**< Answer will not be passed to
    4443                                        * userspace, will be discarded */
    45 #define IPC_CALL_FORWARDED      (1<<4) /* Call was forwarded */
     44#define IPC_CALL_FORWARDED      (1<<3) /* Call was forwarded */
     45#define IPC_CALL_CONN_ME_TO     (1<<4) /* Identify connect_me_to */
    4646
    4747/* Flags for ipc_wait_for_call */
     
    183183        answerbox_t *callerbox;
    184184
    185         ipc_data_t data;
     185        __native private; /**< Private data to internal IPC */
     186
     187        ipc_data_t data;  /**< Data passed from/to userspace */
    186188}call_t;
    187189
     
    199201extern void task_print_list(void);
    200202extern int ipc_forward(call_t *call, phone_t *newphone, answerbox_t *oldbox);
    201 
    202 extern answerbox_t *ipc_phone_0;
    203203extern void ipc_cleanup(task_t *task);
    204204extern int ipc_phone_hangup(phone_t *phone);
     205extern void ipc_backsend_err(phone_t *phone, call_t *call, __native err);
     206
     207extern answerbox_t *ipc_phone_0;
    205208
    206209#endif
Note: See TracChangeset for help on using the changeset viewer.