mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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
This commit is contained in:
parent
93afe073df
commit
78cb12a92c
5 changed files with 53 additions and 21 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue