intr_handle - mathfur/minix GitHub Wiki
- kernel/i8259.cにて定義
- irq_actids[hook->irq]に対してhook->idをOR/ANDする
- hook->next->nextと順に進みながらhandlerを呼び出す
irq_hook_t *hook
typedef struct irq_hook {
struct irq_hook *next; /* next hook in chain */
int (*handler)(struct irq_hook *); /* interrupt handler */
int irq; /* IRQ vector number */
int id; /* id of this hook */
int proc_nr; /* NONE if not in use */
irq_id_t(==unsigned long) notify_id; /* id to return on interrupt */
irq_policy_t(==unsigned long) policy; /* bit mask for policy */
} irq_hook_t;