Skip to main content

route_irq

Function route_irq 

Source
pub fn route_irq(gsi: u32, lapic_id: u32, vector: u8, trigger: u8, polarity: u8)
Expand description

Route a GSI to a specific LAPIC and vector.

gsi is the Global System Interrupt number. lapic_id is the destination LAPIC ID. vector is the interrupt vector (0x20+). trigger is the trigger mode (0=edge, 1=level). polarity is the polarity (0=active high, 1=active low).