summaryrefslogtreecommitdiffstats
path: root/include/hw/arm
diff options
context:
space:
mode:
authorPeter Maydell2022-04-04 17:46:49 +0200
committerPeter Maydell2022-04-21 12:37:04 +0200
commit38c2b905d3beb27a056f7f53bcf7d9bce487e89d (patch)
tree766166b384f16a007aa9536f8b23d67b341e0179 /include/hw/arm
parenthw/arm/exynos4210: Put external GIC into state struct (diff)
downloadqemu-38c2b905d3beb27a056f7f53bcf7d9bce487e89d.tar.gz
qemu-38c2b905d3beb27a056f7f53bcf7d9bce487e89d.tar.xz
qemu-38c2b905d3beb27a056f7f53bcf7d9bce487e89d.zip
hw/arm/exynos4210: Drop ext_gic_irq[] from Exynos4210Irq struct
The only time we use the ext_gic_irq[] array in the Exynos4210Irq struct is during realize of the SoC -- we initialize it with the input IRQs of the external GIC device, and then connect those to outputs of other devices further on in realize (including in the exynos4210_init_board_irqs() function). Now that the ext_gic object is easily accessible as s->ext_gic we can make the connections directly from one device to the other without going via this array. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220404154658.565020-10-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/arm')
-rw-r--r--include/hw/arm/exynos4210.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/arm/exynos4210.h b/include/hw/arm/exynos4210.h
index f35ae90000..08f52c511f 100644
--- a/include/hw/arm/exynos4210.h
+++ b/include/hw/arm/exynos4210.h
@@ -83,7 +83,6 @@
typedef struct Exynos4210Irq {
qemu_irq int_combiner_irq[EXYNOS4210_MAX_INT_COMBINER_IN_IRQ];
qemu_irq ext_combiner_irq[EXYNOS4210_MAX_EXT_COMBINER_IN_IRQ];
- qemu_irq ext_gic_irq[EXYNOS4210_EXT_GIC_NIRQ];
} Exynos4210Irq;
struct Exynos4210State {