Peter Maydell ed31504097 elf_ops.h: Use address_space_write() to write memory
Currently the load_elf function in elf_ops.h uses
cpu_physical_memory_write() to write the ELF file to
memory if it is not handling it as a ROM blob. This
means we ignore the AddressSpace that the function
is passed to define where it should be loaded.
Use address_space_write() instead.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20181122172653.3413-4-peter.maydell@linaro.org
2018-12-14 13:30:49 +00:00
..
2018-11-27 15:35:15 +01:00
2018-12-04 11:06:15 +00:00
2018-12-12 10:01:13 +01:00
2018-10-12 11:32:18 +02:00
2018-12-11 15:45:22 -02:00
2018-10-29 15:47:32 +01:00