Subversion Repositories HelenOS

Rev

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

Rev 1923 Rev 1933
Line 172... Line 172...
172
 
172
 
173
    task_t *task;
173
    task_t *task;
174
 
174
 
175
    waitq_t wq;
175
    waitq_t wq;
176
 
176
 
177
    link_t connected_phones; /**< Phones connected to this answerbox */
177
    link_t connected_phones;    /**< Phones connected to this answerbox */
178
    link_t calls;            /**< Received calls */
178
    link_t calls;           /**< Received calls */
179
    link_t dispatched_calls; /* Should be hash table in the future */
179
    link_t dispatched_calls;    /* Should be hash table in the future */
180
 
180
 
181
    link_t answers;          /**< Answered calls */
181
    link_t answers;         /**< Answered calls */
182
 
182
 
183
    SPINLOCK_DECLARE(irq_lock);
183
    SPINLOCK_DECLARE(irq_lock);
184
    link_t irq_notifs;       /**< Notifications from IRQ handlers */
184
    link_t irq_notifs;          /**< Notifications from IRQ handlers */
-
 
185
    link_t irq_head;        /**< IRQs with notifications to this answerbox. */
185
};
186
};
186
 
187
 
187
typedef enum {
188
typedef enum {
188
    IPC_PHONE_FREE = 0,     /**< Phone is free and can be allocated */
189
    IPC_PHONE_FREE = 0,     /**< Phone is free and can be allocated */
189
    IPC_PHONE_CONNECTING,   /**< Phone is connecting somewhere */
190
    IPC_PHONE_CONNECTING,   /**< Phone is connecting somewhere */