Trait kernel::pci::PciInterruptConfigurator
source · pub trait PciInterruptConfigurator {
// Required method
fn configure_interrupt(
&self,
function: PciAddress,
msi: &mut MsiCapability
) -> Arc<Event>;
}
Required Methods§
sourcefn configure_interrupt(
&self,
function: PciAddress,
msi: &mut MsiCapability
) -> Arc<Event>
fn configure_interrupt( &self, function: PciAddress, msi: &mut MsiCapability ) -> Arc<Event>
Create an Event
that is signalled when an interrupt arrives from the specified PCI
device. Doing this with the required granularity necessitates the use of MSIs, so this only
supports platforms and PCI devices with MSI support.
This must also configure the given MSI capability to correctly dispatch an interrupt to the correct platform-specific destination.