1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:57:34 +00:00

Kernel: Add MSI support to AHCI

Add MSI support to AHCI. Prefer MSI interrupts over pin-based
interrupts.
This commit is contained in:
Pankaj Raghav 2023-05-08 21:36:47 +02:00 committed by Jelle Raaijmakers
parent 8f62e62cfe
commit 6c7ee5344c
3 changed files with 6 additions and 5 deletions

View file

@ -23,7 +23,7 @@ void AHCIInterruptHandler::allocate_resources_and_initialize_ports()
}
UNMAP_AFTER_INIT AHCIInterruptHandler::AHCIInterruptHandler(AHCIController& controller, u8 irq, AHCI::MaskedBitField taken_ports)
: IRQHandler(irq)
: PCIIRQHandler(controller, irq)
, m_parent_controller(controller)
, m_taken_ports(taken_ports)
, m_pending_ports_interrupts(create_pending_ports_interrupts_bitfield())