loader: Add new load_ramdisk_as()
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Mar 2018 10:45:35 +0000 (10:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Mar 2018 11:03:45 +0000 (11:03 +0000)
commit97df5feee3fe8b0e4e1a2cd3105ec476eb84cf42
tree19b96c2643c9a1f8932c551c097224866efb7388
parent768055980b5f4a65d1bc2b6a7c1ece98adf7e262
loader: Add new load_ramdisk_as()

Add a function load_ramdisk_as() which behaves like the existing
load_ramdisk() but allows the caller to specify the AddressSpace
to use. This matches the pattern we have already for various
other loader functions.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180220180325.29818-2-peter.maydell@linaro.org
hw/core/loader.c
include/hw/loader.h