Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-24 | Interrupts: Simplify IRQ disabling & enabling in IRQController(s) | Liav A | |
Instead of blindly setting masks, if we want to disable an IRQ and it's already masked, we just return. The same happens if we want to enable an IRQ and it's unmasked. | |||
2020-03-24 | Kernel: Abstract IRQ controller handling from Interrupt handlers | Liav A | |
Now we don't send raw numbers, but we let the IRQController object to figure out the correct IRQ number. This helps in a situation when we have 2 or more IOAPICs, so if IOAPIC 1 is assigned for IRQs 0-23 and IOAPIC 2 is assigned for IRQs 24-47, if an IRQHandler of IRQ 25 invokes disable() for example, it will call his responsible IRQController (IOAPIC 2), and the IRQController will subtract the IRQ number with his assigned offset, and the result is that the second redirection entry in IOAPIC 2 will be masked. | |||
2020-03-06 | Kernel: Shorten the model name of i8529 PIC class | Liav A | |
2020-02-24 | Kernel: Add the PIC class | Liav A | |
This class inherits from IRQController class, and represents the common Intel 8259 PIC chip. |