mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw/arm/exynos4210: Put combiners into state struct
Switch the creation of the combiner devices 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-18-peter.maydell@linaro.org
This commit is contained in:
parent
76621953c9
commit
cebef07df5
4 changed files with 72 additions and 39 deletions
|
@ -28,6 +28,7 @@
|
|||
#include "hw/sysbus.h"
|
||||
#include "hw/cpu/a9mpcore.h"
|
||||
#include "hw/intc/exynos4210_gic.h"
|
||||
#include "hw/intc/exynos4210_combiner.h"
|
||||
#include "hw/core/split-irq.h"
|
||||
#include "target/arm/cpu-qom.h"
|
||||
#include "qom/object.h"
|
||||
|
@ -105,6 +106,8 @@ struct Exynos4210State {
|
|||
qemu_or_irq cpu_irq_orgate[EXYNOS4210_NCPUS];
|
||||
A9MPPrivState a9mpcore;
|
||||
Exynos4210GicState ext_gic;
|
||||
Exynos4210CombinerState int_combiner;
|
||||
Exynos4210CombinerState ext_combiner;
|
||||
SplitIRQ splitter[EXYNOS4210_NUM_SPLITTERS];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue