This patchset makes the Arm code for loading kernels, initrds, etc etc honour the CPU's address space rather than loading everything via the system address space. This makes a difference when the image is being loaded to memory or via an alias memory region which is implemented by an SoC container object (and which therefore doesn't appear in the system address space).
I needed this in particular for M profile, but I'd written all the boot.c changes before I remembered that M profile doesn't use that code at all :-) thanks -- PMM Peter Maydell (3): loader: Add new load_ramdisk_as() hw/arm/boot: Honour CPU's address space for image loads hw/arm/armv7m: Honour CPU's address space for image loads include/hw/loader.h | 12 +++++- hw/arm/armv7m.c | 17 ++++++-- hw/arm/boot.c | 119 +++++++++++++++++++++++++++++++++------------------- hw/core/loader.c | 8 +++- 4 files changed, 108 insertions(+), 48 deletions(-) -- 2.16.1