Subversion Repositories HelenOS

Rev

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

Rev 1787 Rev 1877
Line 30... Line 30...
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef __IPC_H__
35
#ifndef KERN_IPC_H_
36
#define __IPC_H__
36
#define KERN_IPC_H_
37
 
37
 
38
/* Length of data being transfered with IPC call */
38
/* Length of data being transfered with IPC call */
39
/* - the uspace may not be able to utilize full length */
39
/* - the uspace may not be able to utilize full length */
40
#define IPC_CALL_LEN    4
40
#define IPC_CALL_LEN    4
41
 
41
 
Line 187... Line 187...
187
 
187
 
188
typedef enum {
188
typedef enum {
189
    IPC_PHONE_FREE = 0,     /**< Phone is free and can be allocated */
189
    IPC_PHONE_FREE = 0,     /**< Phone is free and can be allocated */
190
    IPC_PHONE_CONNECTING,   /**< Phone is connecting somewhere */
190
    IPC_PHONE_CONNECTING,   /**< Phone is connecting somewhere */
191
    IPC_PHONE_CONNECTED,    /**< Phone is connected */
191
    IPC_PHONE_CONNECTED,    /**< Phone is connected */
192
    IPC_PHONE_HUNGUP,  /**< Phone is hung up, waiting for answers to come */
192
    IPC_PHONE_HUNGUP,   /**< Phone is hung up, waiting for answers to come */
193
    IPC_PHONE_SLAMMED       /**< Phone was hungup from server */
193
    IPC_PHONE_SLAMMED       /**< Phone was hungup from server */
194
} ipc_phone_state_t;
194
} ipc_phone_state_t;
195
 
195
 
196
/** Structure identifying phone (in TASK structure) */
196
/** Structure identifying phone (in TASK structure) */
197
struct phone_s {
197
struct phone_s {
Line 241... Line 241...
241
 
241
 
242
#endif
242
#endif
243
 
243
 
244
#endif
244
#endif
245
 
245
 
246
 /** @}
246
/** @}
247
 */
247
 */
248
 
-