summaryrefslogtreecommitdiff
path: root/src/hardware/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/interrupts.c')
-rw-r--r--src/hardware/interrupts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hardware/interrupts.c b/src/hardware/interrupts.c
index bec0896..41433a5 100644
--- a/src/hardware/interrupts.c
+++ b/src/hardware/interrupts.c
@@ -109,6 +109,10 @@ void interrupts_init( interrupt_t *interrupt, uint16_t gdt_code_segment_selector
interrupts_register_interrupt_gate( interrupt, IRQ_BASE + 0x01, gdt_code_segment_selector,
&interrupts_handle_irq_0x01, KERNEL_RING, IDT_TYPE_INTERRUPT_GATE );
+ // IRQ 11 - PCI, at the moment the RTL8139
+ interrupts_register_interrupt_gate( interrupt, IRQ_BASE + 0x0B, gdt_code_segment_selector,
+ &interrupts_handle_irq_0x0B, KERNEL_RING, IDT_TYPE_INTERRUPT_GATE );
+
// IRQ 12 - PS/2 mouse
interrupts_register_interrupt_gate( interrupt, IRQ_BASE + 0x0C, gdt_code_segment_selector,
&interrupts_handle_irq_0x0C, KERNEL_RING, IDT_TYPE_INTERRUPT_GATE );