qemu/hw/mips
Paul Burton 7f81dbb9a0 hw/mips_malta: Fix YAMON API print routine
The print routine provided as part of the in-built bootloader had a bug
in that it attempted to use a jump instruction as part of a loop, but
the target has its upper bits zeroed leading to control flow
transferring to 0xb0000814 rather than the intended 0xbfc00814. Fix this
by using a branch instruction instead, which seems more fit for purpose.

A simple way to test this is to build a Linux kernel with EVA enabled &
attempt to boot it in QEMU. It will attempt to print a message
indicating the configuration mismatch but QEMU would previously
incorrectly jump & wind up printing a continuous stream of the letter E.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
2016-07-28 11:24:00 +01:00
..
addr.c mips: Clean up includes 2016-01-23 14:30:04 +00:00
cps.c hw/mips/cps: create GIC block inside CPS 2016-07-12 09:10:13 +01:00
cputimer.c mips: use MIPSCPU instead of CPUMIPSState 2016-05-19 16:42:27 +02:00
gt64xxx_pci.c hw/mips: fix PCI bus initialization 2016-07-20 19:30:26 +03:00
Makefile.objs hw/mips: implement generic MIPS Coherent Processing System container 2016-03-30 09:13:58 +01:00
mips_fulong2e.c mips: use MIPSCPU instead of CPUMIPSState 2016-05-19 16:42:27 +02:00
mips_int.c mips: use MIPSCPU instead of CPUMIPSState 2016-05-19 16:42:27 +02:00
mips_jazz.c mips: use MIPSCPU instead of CPUMIPSState 2016-05-19 16:42:27 +02:00
mips_malta.c hw/mips_malta: Fix YAMON API print routine 2016-07-28 11:24:00 +01:00
mips_mipssim.c mips: use MIPSCPU instead of CPUMIPSState 2016-05-19 16:42:27 +02:00
mips_r4k.c mips: use MIPSCPU instead of CPUMIPSState 2016-05-19 16:42:27 +02:00