Peter Maydell
f81804a52b
hw/core/or-irq: Support more than 16 inputs to an OR gate
...
For the IoTKit MPC support, we need to wire together the
interrupt outputs of 17 MPCs; this exceeds the current
value of MAX_OR_LINES. Increase MAX_OR_LINES to 32 (which
should be enough for anyone).
The tricky part is retaining the migration compatibility for
existing OR gates; we add a subsection which is only used
for larger OR gates, and define it such that we can freely
increase MAX_OR_LINES in future (or even move to a dynamically
allocated levels[] array without an upper size limit) without
breaking compatibility.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20180604152941.20374-10-peter.maydell@linaro.org
2018-06-15 15:23:34 +01:00
..
2018-05-04 18:52:58 +01:00
2016-10-04 13:28:07 +01:00
2018-06-15 15:23:34 +01:00
2018-02-02 08:19:25 +01:00
2018-03-02 13:45:50 -06:00
2018-04-26 13:57:00 +01: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
2018-06-01 14:15:10 +02:00
2018-06-01 14:15:10 +02:00
2017-02-28 17:10:00 +00:00
2018-06-08 13:15:32 +01:00
2018-06-11 22:19:57 +03:00
2018-06-08 13:36:31 -04:00
2018-05-15 11:31:33 +02:00
2018-06-08 13:15:32 +01:00
2016-05-18 15:04:27 +03:00
2017-04-26 12:41:55 +10:00
2018-04-26 13:57:00 +01:00
2013-04-08 18:13:10 +02:00
2016-10-04 10:00:25 +02:00
2017-02-16 14:06:56 +01:00
2018-06-11 22:19:57 +03:00
2017-10-27 16:04:28 +02:00
2018-06-12 10:44:36 +10:00
2018-06-08 13:15:32 +01:00
2018-02-09 05:05:11 +01:00
2018-05-23 03:14:40 +03:00
2018-02-09 05:05:11 +01:00
2018-06-12 09:33:52 +10:00
2018-06-12 10:44:36 +10:00
2018-05-06 10:39:38 +12:00
2018-05-14 17:10:02 +02:00
2018-04-09 16:36:39 +02:00
2018-06-08 13:15:34 +01:00
2018-06-01 14:15:10 +02: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
2018-06-05 08:23:16 -06:00
2018-06-04 10:15:16 +01:00
2017-09-04 15:21:54 +01:00
2018-05-31 12:04:55 -07:00
2018-02-09 05:05:11 +01:00
2018-05-07 10:00:02 -03:00
2017-01-27 18:07:59 +01:00
2018-06-04 05:46:15 +02:00
2018-06-01 14:15:10 +02:00
2018-03-07 08:30:28 +13: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-07 08:30:28 +13:00
2016-07-12 16:20:46 +02:00
2018-06-15 15:23:34 +01:00
2016-07-12 16:20:46 +02:00
2018-05-10 18:10:56 +01:00
2017-07-11 17:44:27 +03:00
2018-06-01 15:14:31 +02:00
2014-02-14 21:12:04 +01:00
2018-05-14 15:47:14 +08:00
2013-04-08 18:13:10 +02: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