summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/interrupts/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/i386/interrupts/irq.h')
-rw-r--r--src/kernel/arch/i386/interrupts/irq.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/interrupts/irq.h b/src/kernel/arch/i386/interrupts/irq.h
new file mode 100644
index 0000000..73d4af2
--- /dev/null
+++ b/src/kernel/arch/i386/interrupts/irq.h
@@ -0,0 +1,8 @@
+#pragma once
+#include <stdbool.h>
+#include <stdint.h>
+
+void irq_init(void);
+void irq_eoi(uint8_t line);
+
+void irq_interrupt_flag(bool flag);