Changeset 2c0e5d2 in mainline for kernel/generic/include/ipc/ipc.h


Ignore:
Timestamp:
2009-05-19T21:47:00Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
27fd651
Parents:
0c2eee0
Message:

Add IPC_M_CONNECTION_CLONE and IPC_M_CONNECT_ME.

File:
1 edited

Legend:

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

    r0c2eee0 r2c0e5d2  
    112112 * These methods have special behaviour
    113113 */
     114/** Clone connection.
     115 *
     116 * The calling task clones one of its phones for the callee.
     117 *
     118 * - ARG1 - The caller sets ARG1 to the phone of the cloned connection.
     119 *        - The callee gets the new phone from ARG1.
     120 * - on answer, the callee acknowledges the new connection by sending EOK back
     121 *   or the kernel closes it
     122 */
     123#define IPC_M_CONNECTION_CLONE  1
     124/** Protocol for CONNECT - ME
     125 *
     126 * Through this call, the recipient learns about the new cloned connection.
     127 *
     128 * - ARG5 - the kernel sets ARG5 to contain the hash of the used phone
     129 * - on asnwer, the callee acknowledges the new connection by sending EOK back
     130 *   or the kernel closes it
     131 */
     132#define IPC_M_CONNECT_ME        2
    114133/** Protocol for CONNECT - TO - ME
    115134 *
     
    128147 *                       (on the receiving side) as ARG5 of the call.
    129148 */
    130 #define IPC_M_CONNECT_TO_ME     1
     149#define IPC_M_CONNECT_TO_ME     3       
    131150/** Protocol for CONNECT - ME - TO
    132151 *
     
    146165 *
    147166 */
    148 #define IPC_M_CONNECT_ME_TO     2
     167#define IPC_M_CONNECT_ME_TO     4       
    149168/** This message is sent to answerbox when the phone
    150169 * is hung up
    151170 */
    152 #define IPC_M_PHONE_HUNGUP      3
     171#define IPC_M_PHONE_HUNGUP      5
    153172
    154173/** Send as_area over IPC.
     
    160179 * - ARG1 - dst as_area base adress
    161180 */
    162 #define IPC_M_SHARE_OUT         4       
     181#define IPC_M_SHARE_OUT         6       
    163182
    164183/** Receive as_area over IPC.
     
    172191 * - ARG2 - flags that will be used for sharing
    173192 */
    174 #define IPC_M_SHARE_IN          5       
     193#define IPC_M_SHARE_IN          7       
    175194
    176195/** Send data to another address space over IPC.
     
    183202 * - ARG2 - final size of data to be copied
    184203 */
    185 #define IPC_M_DATA_WRITE        6
     204#define IPC_M_DATA_WRITE        8
    186205
    187206/** Receive data from another address space over IPC.
     
    194213 * - ARG2 - final size of data to be copied
    195214 */
    196 #define IPC_M_DATA_READ         7
     215#define IPC_M_DATA_READ         9
    197216
    198217/** Debug the recipient.
     
    200219 * - other arguments are specific to the debug method
    201220 */
    202 #define IPC_M_DEBUG_ALL         8
     221#define IPC_M_DEBUG_ALL         10
    203222
    204223/* Well-known methods */
Note: See TracChangeset for help on using the changeset viewer.