Rev 2117 | Rev 3906 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2117 | Rev 2218 | ||
---|---|---|---|
Line 136... | Line 136... | ||
136 | */ |
136 | */ |
137 | void irq_initialize(irq_t *irq) |
137 | void irq_initialize(irq_t *irq) |
138 | { |
138 | { |
139 | link_initialize(&irq->link); |
139 | link_initialize(&irq->link); |
140 | spinlock_initialize(&irq->lock, "irq.lock"); |
140 | spinlock_initialize(&irq->lock, "irq.lock"); |
- | 141 | irq->preack = false; |
|
141 | irq->inr = -1; |
142 | irq->inr = -1; |
142 | irq->devno = -1; |
143 | irq->devno = -1; |
143 | irq->trigger = (irq_trigger_t) 0; |
144 | irq->trigger = (irq_trigger_t) 0; |
144 | irq->claim = NULL; |
145 | irq->claim = NULL; |
145 | irq->handler = NULL; |
146 | irq->handler = NULL; |