mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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>
This commit is contained in:
parent
e37976d733
commit
4dd9d55416
5 changed files with 16 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue