diff options
| author | Peter Maydell | 2018-12-14 14:30:49 +0100 |
|---|---|---|
| committer | Peter Maydell | 2018-12-14 14:30:49 +0100 |
| commit | ed31504097cd038097a720efd82a69273c04cf61 (patch) | |
| tree | 52cd836b0763bcebc03858c51fe34f2709f1341a /scripts/modules | |
| parent | monitor: Use address_space_read() to read memory (diff) | |
| download | qemu-ed31504097cd038097a720efd82a69273c04cf61.tar.gz qemu-ed31504097cd038097a720efd82a69273c04cf61.tar.xz qemu-ed31504097cd038097a720efd82a69273c04cf61.zip | |
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
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions
