Subversion Repositories HelenOS-historic

Rev

Rev 1364 | Rev 1461 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1364 Rev 1428
Line 40... Line 40...
40
#define IPC_CALL_ANSWERED       (1<<0) /**< This is answer to a call */
40
#define IPC_CALL_ANSWERED       (1<<0) /**< This is answer to a call */
41
#define IPC_CALL_STATIC_ALLOC   (1<<1) /**< This call will not be freed on error */
41
#define IPC_CALL_STATIC_ALLOC   (1<<1) /**< This call will not be freed on error */
42
#define IPC_CALL_DISCARD_ANSWER (1<<2) /**< Answer will not be passed to
42
#define IPC_CALL_DISCARD_ANSWER (1<<2) /**< Answer will not be passed to
43
                    * userspace, will be discarded */
43
                    * userspace, will be discarded */
44
#define IPC_CALL_FORWARDED      (1<<3) /* 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 */
45
#define IPC_CALL_CONN_ME_TO     (1<<4) /* Identify connect_me_to answer */
46
#define IPC_CALL_NOTIF          (1<<5) /* Interrupt notification */
46
#define IPC_CALL_NOTIF          (1<<5) /* Interrupt notification */
47
 
47
 
48
/* Flags of callid (the addresses are aligned at least to 4,
48
/* Flags of callid (the addresses are aligned at least to 4,
49
 * that is why we can use bottom 2 bits of the call address
49
 * that is why we can use bottom 2 bits of the call address
50
 */
50
 */
Line 117... Line 117...
117
 * is hung up
117
 * is hung up
118
 */
118
 */
119
#define IPC_M_PHONE_HUNGUP      3
119
#define IPC_M_PHONE_HUNGUP      3
120
/** Interrupt notification */
120
/** Interrupt notification */
121
#define IPC_M_INTERRUPT         4
121
#define IPC_M_INTERRUPT         4
-
 
122
 
122
/** Send as_area over IPC
123
/** Send as_area over IPC
123
 * - ARG2 - src base address
124
 * - ARG1 - src base address
124
 * - ARG3 - size of src as(filled automatically by kernel)
125
 * - ARG2 - size of src as(filled automatically by kernel)
-
 
126
 * - ARG3 - flags of the area being sent
125
 * - on answer ARG1 - dst base adress
127
 * - on answer ARG1 - dst base adress
126
 */
128
 */
127
#define IPC_M_AS_AREA_SEND      5
129
#define IPC_M_AS_AREA_SEND      5
128
 
130
 
-
 
131
/** Get as_area over IPC
-
 
132
 * - ARG1 - Where the area will be mapped
-
 
133
 * - ARG2 - Expected size of area
-
 
134
 * - ARG3 - Requested rights for the area
-
 
135
 * on answer - the server sets ARG1 as src as address of the as_area
-
 
136
 * to be shared
-
 
137
 *
-
 
138
 *
-
 
139
 */
-
 
140
#define IPC_M_AS_AREA_RECV      6
-
 
141
 
129
 
142
 
130
/* Well-known methods */
143
/* Well-known methods */
131
#define IPC_M_LAST_SYSTEM     511
144
#define IPC_M_LAST_SYSTEM     511
132
#define IPC_M_PING            512
145
#define IPC_M_PING            512
133
/* User methods */
146
/* User methods */