Changeset bbb99f82 in mainline for kernel/genarch/src
- Timestamp:
- 2019-03-31T09:01:39Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68d8736
- Parents:
- a773b8b
- File:
-
- 1 edited
-
kernel/genarch/src/drivers/i8259/i8259.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/i8259/i8259.c
ra773b8b rbbb99f82 81 81 /* 82 82 * Register interrupt handler for the PIC spurious interrupt. 83 * 84 * XXX: This is currently broken. Both IRQ 7 and IRQ 15 can be spurious 85 * or can be actual interrupts. This needs to be detected when 86 * the interrupt happens by inspecting ISR. 83 87 */ 84 exc_register( VECTOR_PIC_SPUR, "pic_spurious", false,88 exc_register(irq0_int + 7, "pic_spurious", false, 85 89 (iroutine_t) pic_spurious); 86 87 /*88 * Set the enable/disable IRQs handlers.89 * Set the End-of-Interrupt handler.90 */91 enable_irqs_function = pic_enable_irqs;92 disable_irqs_function = pic_disable_irqs;93 eoi_function = pic_eoi;94 irqs_info = "i8259";95 90 96 91 pic_disable_irqs(0xffff); /* disable all irq's */
Note:
See TracChangeset
for help on using the changeset viewer.
