#
fb5a1727 |
| 16-May-2011 |
Michael Lotz <mmlr@mlotz.ch> |
* Implement interrupt source overrides. We install a relay interrupt handler at the override entry to trigger the overriden vector so that we don't need to configure any additional redirections.
* Implement interrupt source overrides. We install a relay interrupt handler at the override entry to trigger the overriden vector so that we don't need to configure any additional redirections. * Also configures the polarity and trigger modes found in the override entry. * When disabling the legacy PIC, retrieve the enabled interrupts and re-enable then in the IO-APIC. This will for example make the ACPI SCI work that is installed prior to switching interrupt models. Through the transparent support for interrupt source overrides it'll also automatically relay from the old to the new vector.
This should make ACPI interrupts work and should support relocating the ISA PIT from irq 0 to a different global system interrupt (usually 2) so that it can still work when IO-APICs are in use.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41528 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
dc14d97b |
| 11-May-2011 |
Michael Lotz <mmlr@mlotz.ch> |
* Move the legacy PIC and the IO-APIC code into their own source file. No functional change intended. * Use an appropriately sized sLevelTriggeredInterrupts for each controller type. This also fi
* Move the legacy PIC and the IO-APIC code into their own source file. No functional change intended. * Use an appropriately sized sLevelTriggeredInterrupts for each controller type. This also fixes an out of bound access for IO-APICs with more than 32 entries and also returns the right mode in such cases.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41426 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|