Changeset bbb99f82 in mainline
- Timestamp:
- 2019-03-31T09:01:39Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68d8736
- Parents:
- a773b8b
- Location:
- kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/amd64.c
ra773b8b rbbb99f82 123 123 (i8259_t *) I8259_PIC1_BASE, IRQ_PIC1, IVT_IRQBASE, 124 124 IVT_IRQBASE + 8); 125 126 /* 127 * Set the enable/disable IRQs handlers. 128 * Set the End-of-Interrupt handler. 129 */ 130 enable_irqs_function = pic_enable_irqs; 131 disable_irqs_function = pic_disable_irqs; 132 eoi_function = pic_eoi; 133 irqs_info = "i8259"; 125 134 } 126 135 } -
kernel/arch/ia32/src/ia32.c
ra773b8b rbbb99f82 112 112 (i8259_t *) I8259_PIC1_BASE, IRQ_PIC1, IVT_IRQBASE, 113 113 IVT_IRQBASE + 8); 114 115 /* 116 * Set the enable/disable IRQs handlers. 117 * Set the End-of-Interrupt handler. 118 */ 119 enable_irqs_function = pic_enable_irqs; 120 disable_irqs_function = pic_disable_irqs; 121 eoi_function = pic_eoi; 122 irqs_info = "i8259"; 114 123 } 115 124 } -
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.