diff options
author | Peter Maydell | 2020-12-12 01:15:31 +0100 |
---|---|---|
committer | David Gibson | 2021-01-06 01:09:59 +0100 |
commit | 34d0831f38fd8ca253fc77d66f54976e440f0131 (patch) | |
tree | 50e61cfcb45f24b283d505bc2f5bef62e0b6c358 /MAINTAINERS | |
parent | hw/ppc/ppc4xx_devs: Make code style fixes to UIC code (diff) | |
download | qemu-34d0831f38fd8ca253fc77d66f54976e440f0131.tar.gz qemu-34d0831f38fd8ca253fc77d66f54976e440f0131.tar.xz qemu-34d0831f38fd8ca253fc77d66f54976e440f0131.zip |
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>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 42fedf91e7..edd11ab9c4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1680,6 +1680,8 @@ F: hw/ppc/ppc4*.c F: hw/i2c/ppc4xx_i2c.c F: include/hw/ppc/ppc4xx.h F: include/hw/i2c/ppc4xx_i2c.h +F: hw/intc/ppc-uic.c +F: include/hw/intc/ppc-uic.h Character devices M: Marc-André Lureau <marcandre.lureau@redhat.com> |