On 11/11/21 15:11, Jamie Iles wrote: > Various loader functions return an int which limits images to 2GB which > is fine for things like a BIOS/kernel image, but if we want to be able > to load memory images or large ramdisks then any file over 2GB would > silently fail to load. > > Cc: Luc Michel <lmic...@kalray.eu> > Signed-off-by: Jamie Iles <ja...@nuviainc.com> > --- > hw/arm/armv7m.c | 2 +- > hw/arm/boot.c | 8 ++-- > hw/core/generic-loader.c | 2 +- > hw/core/loader.c | 81 +++++++++++++++++++++------------------- > hw/i386/x86.c | 2 +- > hw/riscv/boot.c | 5 ++- > include/hw/loader.h | 55 +++++++++++++-------------- > 7 files changed, 80 insertions(+), 75 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>