Igor Mammedov a72f6805f3 arm/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 then map memory region provided by
  MachineState::ram_memdev

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: Andrew Jones <drjones@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200219160953.13771-34-imammedo@redhat.com>
2020-02-19 16:49:57 +00:00
..
2020-02-19 16:49:54 +00:00
2020-02-19 16:49:57 +00:00
2020-02-19 16:49:54 +00:00
2019-10-28 19:06:47 +01:00
2020-02-10 12:01:37 -08:00
2019-08-16 13:31:52 +02:00
2020-02-12 17:20:41 +01:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00