diff options
author | Peter Maydell | 2022-04-04 17:46:48 +0200 |
---|---|---|
committer | Peter Maydell | 2022-04-21 12:37:04 +0200 |
commit | 78cb12a92c5466b792224e1f4c3e061d233d383b (patch) | |
tree | 39dc5f38976b5944327363d7e5ef119f86c86dfa /include/hw/arm | |
parent | hw/arm/exynos4210: Move exynos4210_init_board_irqs() into exynos4210.c (diff) | |
download | qemu-78cb12a92c5466b792224e1f4c3e061d233d383b.tar.gz qemu-78cb12a92c5466b792224e1f4c3e061d233d383b.tar.xz qemu-78cb12a92c5466b792224e1f4c3e061d233d383b.zip |
hw/arm/exynos4210: Put external GIC into state struct
Switch the creation of the external GIC to the new-style "embedded in
state struct" approach, so we can easily refer to the object
elsewhere during realize.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220404154658.565020-9-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/arm')
-rw-r--r-- | include/hw/arm/exynos4210.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/exynos4210.h b/include/hw/arm/exynos4210.h index d83e96a091..f35ae90000 100644 --- a/include/hw/arm/exynos4210.h +++ b/include/hw/arm/exynos4210.h @@ -27,6 +27,7 @@ #include "hw/or-irq.h" #include "hw/sysbus.h" #include "hw/cpu/a9mpcore.h" +#include "hw/intc/exynos4210_gic.h" #include "target/arm/cpu-qom.h" #include "qom/object.h" @@ -103,6 +104,7 @@ struct Exynos4210State { qemu_or_irq pl330_irq_orgate[EXYNOS4210_NUM_DMA]; qemu_or_irq cpu_irq_orgate[EXYNOS4210_NCPUS]; A9MPPrivState a9mpcore; + Exynos4210GicState ext_gic; }; #define TYPE_EXYNOS4210_SOC "exynos4210" |