Subversion Repositories HelenOS

Rev

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

Rev 2089 Rev 2106
Line 89... Line 89...
89
 *
89
 *
90
 * Primarily, this structure is encapsulated in the irq_t structure.
90
 * Primarily, this structure is encapsulated in the irq_t structure.
91
 * It is protected by irq_t::lock.
91
 * It is protected by irq_t::lock.
92
 */
92
 */
93
typedef struct {
93
typedef struct {
94
    bool notify;            /**< When false, notifications are not sent. */
94
    /** When false, notifications are not sent. */
-
 
95
    bool notify;
95
    answerbox_t *answerbox;     /**< Answerbox for notifications. */
96
    /** Answerbox for notifications. */
-
 
97
    answerbox_t *answerbox;
96
    unative_t method;       /**< Method to be used for the notification. */
98
    /** Method to be used for the notification. */
-
 
99
    unative_t method;
97
    irq_code_t *code;       /**< Top-half pseudocode. */
100
    /** Top-half pseudocode. */
-
 
101
    irq_code_t *code;
98
    count_t counter;        /**< Counter. */
102
    /** Counter. */
99
    link_t link;            /**< Link between IRQs that are notifying the
103
    count_t counter;
-
 
104
    /**
100
                         same answerbox. The list is protected by
105
     * Link between IRQs that are notifying the same answerbox. The list is
101
                         the answerbox irq_lock. */
106
     * protected by the answerbox irq_lock.
-
 
107
     */
-
 
108
    link_t link;
102
} ipc_notif_cfg_t;
109
} ipc_notif_cfg_t;
103
 
110
 
104
/** Structure representing one device IRQ.
111
/** Structure representing one device IRQ.
105
 *
112
 *
106
 * If one device has multiple interrupts, there will
113
 * If one device has multiple interrupts, there will be multiple irq_t
107
 * be multiple irq_t instantions with the same
114
 * instantions with the same devno.
108
 * devno.
-
 
109
 */
115
 */
110
typedef struct irq {
116
typedef struct irq {
111
    /** Hash table link. */
117
    /** Hash table link. */
112
    link_t link;
118
    link_t link;
113
 
119