qemu/hw/core
Peter Maydell 5edb1b3fa9 hw/core/split-irq: Device that splits IRQ lines
In some board or SoC models it is necessary to split a qemu_irq line
so that one input can feed multiple outputs.  We currently have
qemu_irq_split() for this, but that has several deficiencies:
 * it can only handle splitting a line into two
 * it unavoidably leaks memory, so it can't be used
   in a device that can be deleted

Implement a qdev device that encapsulates splitting of IRQs, with a
configurable number of outputs.  (This is in some ways the inverse of
the TYPE_OR_IRQ device.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180220180325.29818-13-peter.maydell@linaro.org
2018-03-02 11:03:45 +00:00
..
Makefile.objs hw/core/split-irq: Device that splits IRQ lines 2018-03-02 11:03:45 +00:00
bus.c
empty_slot.c
fw-path-provider.c
generic-loader.c
hotplug.c
irq.c
loader-fit.c
loader.c loader: Add new load_ramdisk_as() 2018-03-02 11:03:45 +00:00
machine.c machine: Polish -machine xxx,help 2018-02-10 10:06:20 +03:00
nmi.c
null-machine.c
or-irq.c
platform-bus.c
ptimer.c
qdev-fw.c
qdev-properties-system.c
qdev-properties.c
qdev.c qdev: Add new qdev_init_gpio_in_named_with_opaque() 2018-03-02 11:03:45 +00:00
register.c hw: register: Run post_write hook on reset 2018-03-01 11:05:43 +00:00
reset.c
split-irq.c hw/core/split-irq: Device that splits IRQ lines 2018-03-02 11:03:45 +00:00
stream.c
sysbus.c
uboot_image.h