⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

configure_msi

Function configure_msi 

Source
pub fn configure_msi(
    location: PciLocation,
    msi: &MsiCapability,
    vector: u8,
    dest_apic_id: u8,
)
Expand description

Configure MSI for a device to deliver a specific vector to a target APIC.

  • location: PCI device location.
  • msi: MSI capability previously discovered by parse_capabilities().
  • vector: IDT vector number to deliver.
  • dest_apic_id: Target Local APIC ID.