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

set_irq_route

Function set_irq_route 

Source
pub fn set_irq_route(irq: u8, vector: u8, dest: u8) -> KernelResult<()>
Expand description

Route an external IRQ through the I/O APIC to a specific interrupt vector and destination CPU.

  • irq: I/O APIC input pin (0-23 typically).
  • vector: IDT vector number.
  • dest: Destination Local APIC ID.