Rev 2107 | Rev 2131 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2107 | Rev 2117 | ||
---|---|---|---|
Line 138... | Line 138... | ||
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->inr = -1; |
141 | irq->inr = -1; |
142 | irq->devno = -1; |
142 | irq->devno = -1; |
143 | irq->trigger = 0; |
143 | irq->trigger = (irq_trigger_t) 0; |
144 | irq->claim = NULL; |
144 | irq->claim = NULL; |
145 | irq->handler = NULL; |
145 | irq->handler = NULL; |
146 | irq->arg = NULL; |
146 | irq->arg = NULL; |
147 | irq->notif_cfg.notify = false; |
147 | irq->notif_cfg.notify = false; |
148 | irq->notif_cfg.answerbox = NULL; |
148 | irq->notif_cfg.answerbox = NULL; |