]> git.ipfire.org Git - thirdparty/qemu.git/commit
loader: Add AddressSpace loading support to ELFs
authorAlistair Francis <alistair.francis@xilinx.com>
Thu, 22 Sep 2016 17:13:08 +0000 (18:13 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Sep 2016 17:13:08 +0000 (18:13 +0100)
commit70bb1d16f4e8576eb9370ae6be244312cd96df78
treee442d9fa5e168c1866a2cbc44fe589603ca0e86c
parent3e76099aacb4dae0d37ebf95305369e03d1491e6
loader: Add AddressSpace loading support to ELFs

Add a new function load_elf_as() that allows the caller to specify an
AddressSpace to use when loading the ELF. The original load_elf()
function doesn't have any change in functionality.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 8b5cefecdf56fba4ccdff2db880f0b6b264cf16f.1474331683.git.alistair.francis@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/core/loader.c
include/hw/elf_ops.h
include/hw/loader.h