Rev 2523 | Rev 2550 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2523 | Rev 2527 | ||
---|---|---|---|
Line 100... | Line 100... | ||
100 | * |
100 | * |
101 | * Calling process asks the callee to create a callback connection, |
101 | * Calling process asks the callee to create a callback connection, |
102 | * so that it can start initiating new messages. |
102 | * so that it can start initiating new messages. |
103 | * |
103 | * |
104 | * The protocol for negotiating is: |
104 | * The protocol for negotiating is: |
105 | * - sys_connect_to_me - sends a message IPC_M_CONNECTTOME |
105 | * - sys_connect_to_me - sends a message IPC_M_CONNECT_TO_ME |
106 | * - sys_wait_for_call - upon receipt tries to allocate new phone |
106 | * - sys_wait_for_call - upon receipt tries to allocate new phone |
107 | * - if it fails, responds with ELIMIT |
107 | * - if it fails, responds with ELIMIT |
108 | * - passes call to userspace. If userspace |
108 | * - passes call to userspace. If userspace |
109 | * responds with error, phone is deallocated and |
109 | * responds with error, phone is deallocated and |
110 | * error is sent back to caller. Otherwise |
110 | * error is sent back to caller. Otherwise |
111 | * the call is accepted and the response is sent back. |
111 | * the call is accepted and the response is sent back. |
112 | * - the allocated phoneid is passed to userspace |
112 | * - the allocated phoneid is passed to userspace |
113 | * (on the receiving sid) as ARG3 of the call. |
113 | * (on the receiving side) as ARG3 of the call. |
114 | * - the caller obtains taskid of the called thread |
114 | * - the caller obtains taskid of the called thread |
115 | */ |
115 | */ |
116 | #define IPC_M_CONNECT_TO_ME 1 |
116 | #define IPC_M_CONNECT_TO_ME 1 |
117 | /** Protocol for CONNECT - ME - TO |
117 | /** Protocol for CONNECT - ME - TO |
118 | * |
118 | * |