refactor: one more step towards arch-agnostic design
[lunaix-os.git] / lunaix-os / arch / i386 / includes / sys / ioapic.h
1 #ifndef __LUNAIX_IOAPIC_H
2 #define __LUNAIX_IOAPIC_H
3
4 #include <hal/intc.h>
5
6 void
7 ioapic_init();
8
9 void
10 ioapic_irq_remap(struct intc_context*,
11                  int irq,
12                  int iv,
13                  cpu_t dest,
14                  u32_t flags);
15
16 #endif /* __LUNAIX_IOAPIC_H */