summary refs log tree commit diff stats
path: root/hw/core/null-machine.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:10 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:57 +0000
commite9201598f42803253e67574022f13bb9b2e82dcb (patch)
tree8d0f4a6bd371e833e50a07ec6d21d7700ab2da6f /hw/core/null-machine.c
parent8182d3d1f1868a982c7c1a76ee0bfcc8decfeb01 (diff)
downloadfocaccia-qemu-e9201598f42803253e67574022f13bb9b2e82dcb.tar.gz
focaccia-qemu-e9201598f42803253e67574022f13bb9b2e82dcb.zip
arm/xlnx-versal-virt: 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>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200219160953.13771-37-imammedo@redhat.com>
Diffstat (limited to 'hw/core/null-machine.c')
0 files changed, 0 insertions, 0 deletions