aboutsummaryrefslogtreecommitdiffstats
path: root/include/hw/intc/i8259.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/intc/i8259.h')
-rw-r--r--include/hw/intc/i8259.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/hw/intc/i8259.h b/include/hw/intc/i8259.h
new file mode 100644
index 000000000..e2b1e8c59
--- /dev/null
+++ b/include/hw/intc/i8259.h
@@ -0,0 +1,12 @@
+#ifndef HW_I8259_H
+#define HW_I8259_H
+
+/* i8259.c */
+
+extern DeviceState *isa_pic;
+qemu_irq *i8259_init(ISABus *bus, qemu_irq parent_irq);
+qemu_irq *kvm_i8259_init(ISABus *bus);
+int pic_get_output(DeviceState *d);
+int pic_read_irq(DeviceState *d);
+
+#endif