hw/arm/mps2-tz: Add IRQ infrastructure to support SSE-200
commit4a30dc1c236888ffab1f5e30a5c76b35df917ab9
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 1 Feb 2019 14:55:43 +0000 (1 14:55 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 1 Feb 2019 14:55:43 +0000 (1 14:55 +0000)
tree12c81c42f8f4477f615150ab4d1ca2b6f41f3b4e
parent0829d24e6646e23507917859eea96f163eb62637
hw/arm/mps2-tz: Add IRQ infrastructure to support SSE-200

In preparation for adding support for the AN521 MPS2 image, we need
to handle wiring up the MPS2 device interrupt lines to both CPUs in
the SSE-200, rather than just the one that the IoTKit has.

Abstract out a "connect to the IoTKit interrupt line" function
and make it connect to a splitter which feeds both sets of inputs
for the SSE-200 case.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190121185118.18550-23-peter.maydell@linaro.org
hw/arm/mps2-tz.c