summaryrefslogtreecommitdiffstats
path: root/include/hw/misc/mps2-fpgaio.h
diff options
context:
space:
mode:
authorPeter Maydell2018-03-02 11:45:38 +0100
committerPeter Maydell2018-03-02 12:03:45 +0100
commit5edb1b3fa93217cf7adc50725a69ab0cefcea973 (patch)
tree0cce7bbddb09998b7162d7da5fcb6e2c31c7811d /include/hw/misc/mps2-fpgaio.h
parentqdev: Add new qdev_init_gpio_in_named_with_opaque() (diff)
downloadqemu-5edb1b3fa93217cf7adc50725a69ab0cefcea973.tar.gz
qemu-5edb1b3fa93217cf7adc50725a69ab0cefcea973.tar.xz
qemu-5edb1b3fa93217cf7adc50725a69ab0cefcea973.zip
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
Diffstat (limited to 'include/hw/misc/mps2-fpgaio.h')
0 files changed, 0 insertions, 0 deletions