OSDN Git Service

loader: Add AddressSpace loading support to targphys
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)
commit93ffc7c766429350d788ae0a978ea54171d652bd
tree6a54d635d3970dd166c2970be66711ef7b7f6994
parent5e774eb3bd264c76484906f4bd0fb38e00b8090e
loader: Add AddressSpace loading support to targphys

Add a new function load_image_targphys_as() that allows the caller
to specify an AddressSpace to use when loading a targphys. The
original load_image_targphys() 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: 87de45de7acf02cbe6bae9d6c4d6fb8f3aba4f61.1474331683.git.alistair.francis@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/core/loader.c
include/hw/loader.h