]> Git Repo - qemu.git/commit
elf_ops.h: Use address_space_write() to write memory
authorPeter Maydell <[email protected]>
Fri, 14 Dec 2018 13:30:49 +0000 (13:30 +0000)
committerPeter Maydell <[email protected]>
Fri, 14 Dec 2018 13:30:49 +0000 (13:30 +0000)
commited31504097cd038097a720efd82a69273c04cf61
tree52cd836b0763bcebc03858c51fe34f2709f1341a
parent6f89ae5816e38cd93419d2c8e8465b6dea00abee
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 <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20181122172653[email protected]
include/hw/elf_ops.h
This page took 0.021086 seconds and 4 git commands to generate.