Peter Maydell 34d0831f38 ppc: Convert PPC UIC to a QOM device
Currently the PPC UIC ("Universal Interrupt Controller") is implemented
as a non-QOM device in ppc4xx_devs.c. Convert it to a proper QOM device
in hw/intc.

The ppcuic_init() function is retained for the moment with its current
interface; in subsequent commits this will be tidied up to avoid the
allocation of an irq array.

This conversion adds VMState support.

It leaves the LOG_UIC() macro as-is to maximise the extent to which
this is simply code-movement rather than a rewrite (in new code it
would be better to use tracepoints).

The default property values for dcr-base and use-vectors are set to
match those use by most of our boards with a UIC.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20201212001537.24520-3-peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2021-01-06 11:09:59 +11:00
..
2020-08-21 06:30:32 -04:00
2020-12-10 12:15:18 -05:00
2020-12-10 12:15:18 -05:00
2021-01-01 22:57:15 +00:00
2021-01-01 22:57:15 +00:00
2020-12-10 12:15:07 -05:00
2020-12-10 12:15:18 -05:00
2021-01-06 11:09:59 +11:00
2020-12-10 12:15:18 -05:00
2020-12-10 12:15:08 -05:00
2021-01-01 22:57:15 +00:00
2020-08-21 06:30:25 -04:00
2021-01-01 22:57:15 +00:00
2021-01-01 22:57:15 +00:00
2020-08-27 14:04:55 -04:00
2021-01-06 11:09:59 +11:00
2021-01-01 22:57:15 +00:00
2021-01-01 22:57:15 +00:00
2020-12-10 12:15:06 -05:00
2021-01-01 22:57:15 +00:00
2021-01-01 22:57:15 +00:00
2020-08-21 06:30:25 -04:00
2020-12-10 12:15:06 -05:00
2020-12-10 12:15:08 -05:00
2020-12-10 12:15:18 -05:00
2020-12-10 12:15:18 -05:00
2020-08-21 06:30:33 -04:00
2021-01-01 22:57:15 +00:00
2021-01-01 22:57:15 +00:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:33 -04:00