qemu-sparc update
-----BEGIN PGP SIGNATURE----- iQFSBAABCAA8FiEEzGIauY6CIA2RXMnEW8LFb64PMh8FAlqVq4AeHG1hcmsuY2F2 ZS1heWxhbmRAaWxhbmRlLmNvLnVrAAoJEFvCxW+uDzIfPxkIAL+CtUESibLtcyPW 9pQY+Ayn2L4GessAba82L8Jrm5cC+9ulqqLedBGFNpxkkiggMWrXWyrc+GBh293f Io/KT7YGvVC6tsrO3xl0kBtEH9/URO9re+8Bl24ebzNhw1NJmtf7WapKJwg1v5Bt C15Z4JoPKRaMGo6Wz5LU2NMMLqdorXlgWCeKGMWZq9akDSDBX8Ka76+FFgCa0eio 513H30OGQTYuKAMQsKfIWY4iUPLa6xGGV2B+z1Wuczb0kgQH8efuAQs+faB7Gtbm vZQkextmJFO22UHaf2LhxidEL9c7xEEyA5kkKIpHblL8pVFp/+Rv/5cph3Y6DL0b Klr22NA= =V/uk -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-signed' into staging qemu-sparc update # gpg: Signature made Tue 27 Feb 2018 19:03:28 GMT # gpg: using RSA key 5BC2C56FAE0F321F # gpg: Good signature from "Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>" # Primary key fingerprint: CC62 1AB9 8E82 200D 915C C9C4 5BC2 C56F AE0F 321F * remotes/mcayland/tags/qemu-sparc-signed: loader: don't perform overlapping address check for memory region ROM images Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
2963d78204
@ -1104,20 +1104,22 @@ int rom_check_and_register_reset(void)
|
||||
if (rom->fw_file) {
|
||||
continue;
|
||||
}
|
||||
if ((addr > rom->addr) && (as == rom->as)) {
|
||||
fprintf(stderr, "rom: requested regions overlap "
|
||||
"(rom %s. free=0x" TARGET_FMT_plx
|
||||
", addr=0x" TARGET_FMT_plx ")\n",
|
||||
rom->name, addr, rom->addr);
|
||||
return -1;
|
||||
if (!rom->mr) {
|
||||
if ((addr > rom->addr) && (as == rom->as)) {
|
||||
fprintf(stderr, "rom: requested regions overlap "
|
||||
"(rom %s. free=0x" TARGET_FMT_plx
|
||||
", addr=0x" TARGET_FMT_plx ")\n",
|
||||
rom->name, addr, rom->addr);
|
||||
return -1;
|
||||
}
|
||||
addr = rom->addr;
|
||||
addr += rom->romsize;
|
||||
as = rom->as;
|
||||
}
|
||||
addr = rom->addr;
|
||||
addr += rom->romsize;
|
||||
section = memory_region_find(rom->mr ? rom->mr : get_system_memory(),
|
||||
rom->addr, 1);
|
||||
rom->isrom = int128_nz(section.size) && memory_region_is_rom(section.mr);
|
||||
memory_region_unref(section.mr);
|
||||
as = rom->as;
|
||||
}
|
||||
qemu_register_reset(rom_reset, NULL);
|
||||
roms_loaded = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user