summaryrefslogtreecommitdiffstats
path: root/include/hw/arm
diff options
context:
space:
mode:
authorPeter Delevoryas2022-06-30 09:21:13 +0200
committerCédric Le Goater2022-06-30 09:21:13 +0200
commit4dd9d55416695b651d8146e057acff8954bc203d (patch)
treee13c11e2dab438c8f7b240a9b53042d45e9fe24a /include/hw/arm
parentaspeed: Set CPU memory property explicitly (diff)
downloadqemu-4dd9d55416695b651d8146e057acff8954bc203d.tar.gz
qemu-4dd9d55416695b651d8146e057acff8954bc203d.tar.xz
qemu-4dd9d55416695b651d8146e057acff8954bc203d.zip
aspeed: Add memory property to Aspeed SoC
Multi-SoC machines can use this property to specify a memory container for each SoC. Single SoC machines will just specify get_system_memory(). Signed-off-by: Peter Delevoryas <pdel@fb.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20220624003701.1363500-3-pdel@fb.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw/arm')
-rw-r--r--include/hw/arm/aspeed_soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/aspeed_soc.h b/include/hw/arm/aspeed_soc.h
index e8a104823d..c8e903b821 100644
--- a/include/hw/arm/aspeed_soc.h
+++ b/include/hw/arm/aspeed_soc.h
@@ -49,6 +49,7 @@ struct AspeedSoCState {
ARMCPU cpu[ASPEED_CPUS_NUM];
A15MPPrivState a7mpcore;
ARMv7MState armv7m;
+ MemoryRegion *memory;
MemoryRegion *dram_mr;
MemoryRegion dram_container;
MemoryRegion sram;