Subversion Repositories HelenOS

Rev

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

Rev 2109 Rev 2218
Line 119... Line 119...
119
     *  except the link member. When both the IRQ
119
     *  except the link member. When both the IRQ
120
     *  hash table lock and this lock are to be acquired,
120
     *  hash table lock and this lock are to be acquired,
121
     *  this lock must not be taken first.
121
     *  this lock must not be taken first.
122
     */
122
     */
123
    SPINLOCK_DECLARE(lock);
123
    SPINLOCK_DECLARE(lock);
-
 
124
   
-
 
125
    /** Send EOI before processing the interrupt.
-
 
126
     *  This is essential for timer interrupt which
-
 
127
     *  has to be acknowledged before doing preemption
-
 
128
     *  to make sure another timer interrupt will
-
 
129
     *  be eventually generated.
-
 
130
     */
-
 
131
    bool preack;
124
 
132
 
125
    /** Unique device number. -1 if not yet assigned. */
133
    /** Unique device number. -1 if not yet assigned. */
126
    devno_t devno;
134
    devno_t devno;
127
 
135
 
128
    /** Actual IRQ number. -1 if not yet assigned. */
136
    /** Actual IRQ number. -1 if not yet assigned. */
129
    inr_t inr;
137
    inr_t inr;
130
    /** Trigger level of the IRQ.*/
138
    /** Trigger level of the IRQ. */
131
    irq_trigger_t trigger;
139
    irq_trigger_t trigger;
132
    /** Claim ownership of the IRQ. */
140
    /** Claim ownership of the IRQ. */
133
    irq_ownership_t (* claim)(void);
141
    irq_ownership_t (* claim)(void);
134
    /** Handler for this IRQ and device. */
142
    /** Handler for this IRQ and device. */
135
    irq_handler_t handler;
143
    irq_handler_t handler;