From de478dd99768b8b6bb67438254ca2c06db241cf7 Mon Sep 17 00:00:00 2001 From: sigsegv7 Date: Thu, 14 Sep 2023 03:38:52 -0400 Subject: kernel/amd64: Add I/O APIC pin mask/unmask logic Signed-off-by: sigsegv7 --- sys/include/arch/amd64/ioapic.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/include/arch/amd64/ioapic.h') diff --git a/sys/include/arch/amd64/ioapic.h b/sys/include/arch/amd64/ioapic.h index bd7eb20..1caee27 100644 --- a/sys/include/arch/amd64/ioapic.h +++ b/sys/include/arch/amd64/ioapic.h @@ -32,6 +32,10 @@ #include +void ioapic_irq_mask(uint8_t irq); +void ioapic_irq_unmask(uint8_t irq); +void ioapic_gsi_mask(uint8_t irq); +void ioapic_gsi_unmask(uint8_t irq); void ioapic_set_base(void *mmio_base); void ioapic_init(void); -- cgit v1.2.3