]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
Multiboot support: Fix rom_copy
authorKevin Wolf <mail@kevin-wolf.de>
Sat, 19 Dec 2009 20:15:20 +0000 (21:15 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 19 Dec 2009 20:49:39 +0000 (21:49 +0100)
commit935effc2bbd2c441b755a8d280811a9763fdb98c
treeb880f6260343868f2af9b41fb0abc7dfc739bf2f
parent7631c97ec9648da7b3420a925e8d95e8bd3f444e
Multiboot support: Fix rom_copy

ROMs need to be loaded if they are anywhere in the requested area, not
only at the very beginning. This fixes Multiboot with ELF kernels that
have more than one program header.

Signed-off-by: Kevin Wolf <mail@kevin-wolf.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/loader.c