2019-12-12 19:15:43 +03:00
|
|
|
#ifndef HW_I8259_H
|
|
|
|
#define HW_I8259_H
|
|
|
|
|
|
|
|
/* i8259.c */
|
|
|
|
|
2023-01-09 20:23:22 +03:00
|
|
|
extern PICCommonState *isa_pic;
|
2019-12-12 19:15:43 +03:00
|
|
|
qemu_irq *i8259_init(ISABus *bus, qemu_irq parent_irq);
|
|
|
|
qemu_irq *kvm_i8259_init(ISABus *bus);
|
2023-01-09 20:23:22 +03:00
|
|
|
int pic_get_output(PICCommonState *s);
|
|
|
|
int pic_read_irq(PICCommonState *s);
|
2019-12-12 19:15:43 +03:00
|
|
|
|
|
|
|
#endif
|