]> git.ipfire.org Git - thirdparty/qemu.git/commit
m68k/q800: use memdev for RAM
authorIgor Mammedov <imammedo@redhat.com>
Wed, 19 Feb 2020 16:09:21 +0000 (11:09 -0500)
committerPatchew Importer <importer@patchew.org>
Wed, 19 Feb 2020 16:49:58 +0000 (16:49 +0000)
commit8591a179af02667a7e98e70033e9f6944ab72de7
tree5ad4dd3f4b2584f443e0b353bf4e7fce078e9f68
parentc55f97a0e157cb3b159c3925703d9f2af910399b
m68k/q800: use memdev for RAM

Switch to using generic main RAM allocation. To do this set
MachineClass::default_ram_id to m68k_mac.ram and use
MachineState::ram instead of manually initializing
RAM memory region.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200219160953.13771-48-imammedo@redhat.com>
hw/m68k/q800.c