aboutsummaryrefslogtreecommitdiff
path: root/tests/test-rcu-simpleq.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:18 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:58 +0000
commit6047c08fd71434976a087ac7d6a7a90156960b99 (patch)
tree905ec445de32c1e08e2deb9f394c9013366e78e9 /tests/test-rcu-simpleq.c
parentbd457782b3b0a313f3991038eb55bc44369c72c6 (diff)
lm32/lm32_boards: 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. PS: while at it add check for user supplied RAM size and error out if it mismatches board expected value. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200219160953.13771-45-imammedo@redhat.com>
Diffstat (limited to 'tests/test-rcu-simpleq.c')
0 files changed, 0 insertions, 0 deletions