mac_oldworld: Allow loading binary ROM image
commit464c73e8eb0f52b5644768c095e553cf97cb041b
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 17 Oct 2020 15:47:29 +0000 (17 17:47 +0200)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Mon, 19 Oct 2020 07:11:07 +0000 (19 08:11 +0100)
tree9ff5093133c5ffb761f5f6aba6f0a9a690cc1696
parent3e7e134d827790c3714cae1d5b8aff8612000116
mac_oldworld: Allow loading binary ROM image

The beige G3 Power Macintosh has a 4MB firmware ROM. Fix the size of
the rom region and fall back to loading a binary image with -bios if
loading ELF image failed. This allows testing emulation with a ROM
image from real hardware as well as using an ELF OpenBIOS image.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20201017155139.5A36A746331@zero.eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/ppc/mac_oldworld.c