6 typedef struct PICCommonState PICCommonState
;
8 extern PICCommonState
*isa_pic
;
13 * Create a i8259 device on an ISA @bus,
14 * connect its output to @parent_irq_in,
15 * return an (allocated) array of 16 input IRQs.
17 qemu_irq
*i8259_init(ISABus
*bus
, qemu_irq parent_irq_in
);
18 qemu_irq
*kvm_i8259_init(ISABus
*bus
);
19 int pic_get_output(PICCommonState
*s
);
20 int pic_read_irq(PICCommonState
*s
);