| | ./arch/i386/kernel/i8259.c |
 | | The 8259A is a fragile beast, it pretty * much _has_ to be done exactly like this (mask it * first, _then_ send the EOI, and the order of EOI * to the two 8259s is important! |
 | | We do not want * to overdo spurious IRQ handling - it's usually a sign * of hardware problems, so we only do the checks we can * do without slowing down good hardware unnecesserily. |
 | | if (!(spurious_irq_mask & irqmask)) { printk("spurious 8259A interrupt: IRQ%d.\n", irq); spurious_irq_mask = irqmask; } irq_err_count++; /* * Theoretically we do not have to handle this IRQ, * but in Linux this does not cause problems and is * simpler for us. |
| www.verifysoft.com /2001/i8259.c.html (1185 words) |