mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
apic: fix i/o apic override gsi
This commit is contained in:
@@ -177,7 +177,7 @@ void arch_ioapic_setirq(uint8_t irq, uint8_t vector, uint8_t proc, bool masked)
|
|||||||
|
|
||||||
polarity = override->flags & 2 ? 1 : 0; // active low
|
polarity = override->flags & 2 ? 1 : 0; // active low
|
||||||
trigger = override->flags & 8 ? 1 : 0; // level triggered
|
trigger = override->flags & 8 ? 1 : 0; // level triggered
|
||||||
irq = override->irq;
|
irq = override->gsi;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user