qemu-e2k/hw/mips
Paul Burton a427338b22 mips_malta: correct reading MIPS revision at 0x1fc00010
Rather than modifying the BIOS code at its original location, copy it
for the 0x1fc00000 region & modify the copy. This means the original
ROM code is correctly readable at 0x1e000010 whilst the MIPS revision
is readable at 0x1fc00010.

Additionally the code previously operated on target memory which would
later be overwritten by the BIOS image upon CPU reset if the -bios
argument was used to specify the BIOS image. This led to the written
MIPS revision being lost. Copying using rom_copy when -bios is used
fixes this issue.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2013-07-28 19:53:35 +02:00
..
addr.c
cputimer.c
gt64xxx_pci.c mips_malta: do not use isa_mmio 2013-07-25 08:12:27 -05:00
Makefile.objs hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
mips_fulong2e.c mips: degrade BIOS error to warning 2013-07-25 08:12:27 -05:00
mips_int.c
mips_jazz.c mips: degrade BIOS error to warning 2013-07-25 08:12:27 -05:00
mips_malta.c mips_malta: correct reading MIPS revision at 0x1fc00010 2013-07-28 19:53:35 +02:00
mips_mipssim.c mips: degrade BIOS error to warning 2013-07-25 08:12:27 -05:00
mips_r4k.c mips_r4k: do not use isa_mmio 2013-07-25 08:12:27 -05:00