2aaf0ec7ff
This even spares some casts in hot code paths along the way. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230109172347.1830-10-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
13 lines
265 B
C
13 lines
265 B
C
#ifndef HW_I8259_H
|
|
#define HW_I8259_H
|
|
|
|
/* i8259.c */
|
|
|
|
extern PICCommonState *isa_pic;
|
|
qemu_irq *i8259_init(ISABus *bus, qemu_irq parent_irq);
|
|
qemu_irq *kvm_i8259_init(ISABus *bus);
|
|
int pic_get_output(PICCommonState *s);
|
|
int pic_read_irq(PICCommonState *s);
|
|
|
|
#endif
|