OSDN Git Service

loader: Add AddressSpace loading support to uImages
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)
commit5e774eb3bd264c76484906f4bd0fb38e00b8090e
treeb9b39903b1a227281c2be92020a5409742e466cb
parent70bb1d16f4e8576eb9370ae6be244312cd96df78
loader: Add AddressSpace loading support to uImages

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