Architectural Support: x86_64 (#37)
[lunaix-os.git] / lunaix-os / arch / x86 / includes / sys / ioapic.h
diff --git a/lunaix-os/arch/x86/includes/sys/ioapic.h b/lunaix-os/arch/x86/includes/sys/ioapic.h
new file mode 100644 (file)
index 0000000..46916d9
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef __LUNAIX_IOAPIC_H
+#define __LUNAIX_IOAPIC_H
+
+#include "sys/x86_isa.h"
+
+void
+ioapic_init();
+
+void
+ioapic_irq_remap(struct x86_intc*,
+                 int irq,
+                 int iv,
+                 cpu_t dest,
+                 u32_t flags);
+
+#endif /* __LUNAIX_IOAPIC_H */