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
..
2018-02-21 07:24:50 -05:00
2016-10-04 13:28:07 +01:00
2018-03-02 11:03:45 +00:00
2018-02-02 08:19:25 +01:00
2018-02-09 13:52:15 +01:00
2018-02-22 15:12:51 +00:00
2018-03-02 11:03:45 +00:00
2017-12-18 17:07:02 +03:00
2017-01-27 18:07:59 +01:00
2017-12-18 17:07:02 +03:00
2017-01-24 23:26:52 +03:00
2017-02-28 17:10:00 +00:00
2018-03-01 11:05:45 +00:00
2018-01-18 21:52:38 +02:00
2018-02-09 13:50:17 +01:00
2017-06-23 11:51:50 +02:00
2018-02-09 14:39:09 +00:00
2016-05-18 15:04:27 +03:00
2017-04-26 12:41:55 +10:00
2017-12-21 09:30:32 +01:00
2016-10-04 10:00:25 +02:00
2017-02-16 14:06:56 +01:00
2018-01-19 11:18:51 -02:00
2017-10-27 16:04:28 +02:00
2018-03-02 11:03:45 +00:00
2018-01-11 13:25:38 +00:00
2018-02-09 05:05:11 +01:00
2018-02-19 13:03:24 +02:00
2018-02-09 05:05:11 +01:00
2018-01-24 19:19:51 +00:00
2018-02-16 12:14:26 +11:00
2018-02-26 12:55:26 +01:00
2018-01-26 07:58:34 +01:00
2018-02-22 15:12:52 +00:00
2017-01-27 18:07:59 +01:00
2018-02-09 13:52:16 +01:00
2018-01-09 21:48:20 +00:00
2017-12-13 17:59:26 +00:00
2018-03-02 10:45:34 +00:00
2016-07-12 16:19:16 +02:00
2017-12-18 17:07:02 +03:00
2018-02-09 10:40:30 +00:00
2017-07-14 12:04:41 +02:00
2018-03-01 18:26:17 +02:00
2017-09-04 15:21:54 +01:00
2017-12-05 19:13:45 +02:00
2018-02-09 05:05:11 +01:00
2018-01-19 11:18:51 -02:00
2017-01-27 18:07:59 +01:00
2018-02-08 21:06:41 +02:00
2017-04-24 12:32:12 +01:00
2017-09-04 15:21:53 +01:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2016-11-15 17:20:37 +02:00
2017-06-01 18:49:22 +02:00
2017-01-27 15:23:29 -08:00
2018-03-02 11:03:45 +00:00
2018-02-09 05:05:11 +01:00
2018-03-02 11:03:45 +00:00
2016-07-12 16:20:46 +02:00
2018-03-02 11:03:45 +00:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2017-07-11 17:44:27 +03:00
2018-03-02 11:03:45 +00:00
2018-02-06 11:08:26 -07:00
2018-03-01 11:05:43 +00:00
2018-02-09 05:05:11 +01:00
2016-07-12 16:20:46 +02:00
2016-09-27 17:03:34 -03:00
2018-01-26 07:15:08 +01:00