mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
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>
78 lines
916 B
Text
78 lines
916 B
Text
config HEATHROW_PIC
|
|
bool
|
|
|
|
config I8259
|
|
bool
|
|
select ISA_BUS
|
|
|
|
config PL190
|
|
bool
|
|
|
|
config IOAPIC
|
|
bool
|
|
select I8259
|
|
|
|
config ARM_GIC
|
|
bool
|
|
select MSI_NONBROKEN
|
|
|
|
config OPENPIC
|
|
bool
|
|
select MSI_NONBROKEN
|
|
|
|
config APIC
|
|
bool
|
|
select MSI_NONBROKEN
|
|
select I8259
|
|
|
|
config ARM_GIC_KVM
|
|
bool
|
|
default y
|
|
depends on ARM_GIC && KVM
|
|
|
|
config OPENPIC_KVM
|
|
bool
|
|
default y
|
|
depends on OPENPIC && KVM
|
|
|
|
config XICS
|
|
bool
|
|
depends on POWERNV || PSERIES
|
|
|
|
config XICS_SPAPR
|
|
bool
|
|
select XICS
|
|
|
|
config XICS_KVM
|
|
bool
|
|
default y
|
|
depends on XICS && KVM
|
|
|
|
config ALLWINNER_A10_PIC
|
|
bool
|
|
|
|
config S390_FLIC
|
|
bool
|
|
|
|
config S390_FLIC_KVM
|
|
bool
|
|
default y
|
|
depends on S390_FLIC && KVM
|
|
|
|
config OMPIC
|
|
bool
|
|
|
|
config PPC_UIC
|
|
bool
|
|
|
|
config RX_ICU
|
|
bool
|
|
|
|
config LOONGSON_LIOINTC
|
|
bool
|
|
|
|
config SIFIVE_CLINT
|
|
bool
|
|
|
|
config SIFIVE_PLIC
|
|
bool
|