diff options
| author | Paul Burton | 2016-07-22 11:55:40 +0200 |
|---|---|---|
| committer | Leon Alrae | 2016-07-28 12:24:00 +0200 |
| commit | 7f81dbb9a0e89b5306c1337e0cd0e1cea8a03f6d (patch) | |
| tree | dec2a2d4cd1a42443ee3f84ce2c213f9102cfe7e /rules.mak | |
| parent | Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into st... (diff) | |
| download | qemu-7f81dbb9a0e89b5306c1337e0cd0e1cea8a03f6d.tar.gz qemu-7f81dbb9a0e89b5306c1337e0cd0e1cea8a03f6d.tar.xz qemu-7f81dbb9a0e89b5306c1337e0cd0e1cea8a03f6d.zip | |
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>
Diffstat (limited to 'rules.mak')
0 files changed, 0 insertions, 0 deletions
