summaryrefslogtreecommitdiffstats
path: root/hw/arm/xlnx-versal-virt.c
diff options
context:
space:
mode:
authorIgor Mammedov2020-02-19 17:09:09 +0100
committerPatchew Importer2020-02-19 17:49:57 +0100
commit8182d3d1f1868a982c7c1a76ee0bfcc8decfeb01 (patch)
treea7d51327514dd25d00e778992222741040b40c87 /hw/arm/xlnx-versal-virt.c
parentarm/xilinx_zynq: drop RAM size fixup (diff)
downloadqemu-8182d3d1f1868a982c7c1a76ee0bfcc8decfeb01.tar.gz
qemu-8182d3d1f1868a982c7c1a76ee0bfcc8decfeb01.tar.xz
qemu-8182d3d1f1868a982c7c1a76ee0bfcc8decfeb01.zip
arm/xilinx_zynq: use memdev for RAM
memory_region_allocate_system_memory() API is going away, so replace it with memdev allocated MemoryRegion. The later is initialized by generic code, so board only needs to opt in to memdev scheme by providing MachineClass::default_ram_id and using MachineState::ram instead of manually initializing RAM memory region. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200219160953.13771-36-imammedo@redhat.com>
Diffstat (limited to 'hw/arm/xlnx-versal-virt.c')
0 files changed, 0 insertions, 0 deletions