summaryrefslogtreecommitdiff
path: root/sys/include/arch
diff options
context:
space:
mode:
authorsigsegv7 <ian@vegaa.systems>2023-09-14 03:38:52 -0400
committersigsegv7 <ian@vegaa.systems>2023-09-14 03:38:52 -0400
commitde478dd99768b8b6bb67438254ca2c06db241cf7 (patch)
treee38348f0b94be792c05af8da54ea4eec4478e8b4 /sys/include/arch
parent6fa3db464e3bbe60232169195713902113900806 (diff)
kernel/amd64: Add I/O APIC pin mask/unmask logic
Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys/include/arch')
-rw-r--r--sys/include/arch/amd64/ioapic.h4
1 files changed, 4 insertions, 0 deletions
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 <sys/types.h>
+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);