diff options
Diffstat (limited to 'src/sys/include/arch/amd64/ioapic.h')
-rw-r--r-- | src/sys/include/arch/amd64/ioapic.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sys/include/arch/amd64/ioapic.h b/src/sys/include/arch/amd64/ioapic.h index 9cd8bd4..20b8058 100644 --- a/src/sys/include/arch/amd64/ioapic.h +++ b/src/sys/include/arch/amd64/ioapic.h @@ -48,4 +48,13 @@ void ioapic_init(void); */ void ioapic_gsi_mask(uint8_t gsi, uint8_t mask); +/* + * Route an IRQ number to a system interrupt vector + * via the internal redirection table + * + * @irq: Global system interrupt to route + * @vector: Vector this GSI should map to + */ +void ioapic_route_vec(uint8_t irq, uint8_t vector); + #endif /* !_MACHINE_IOAPIC_H_ */ |