]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/mips: fix TLB loading for BE host with 32-bit guests
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 30 Jul 2015 21:39:34 +0000 (23:39 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 4 Aug 2015 17:30:20 +0000 (12:30 -0500)
commitf9c0ae272389b3581be13fe13986d7c509995be1
tree8f9a3b01a81ba82b6f3d5cb235019360fc10f0df
parentc8bd74d1d509df5dd1afc6b79413f148f2889692
tcg/mips: fix TLB loading for BE host with 32-bit guests

For 32-bit guest, we load a 32-bit address from the TLB, so there is no
need to compensate for the low or high part. This fixes 32-bit guests on
big-endian hosts.

Cc: qemu-stable@nongnu.org
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit e72c4fb81db52be881c9356f1c60e0a7817d2d32)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tcg/mips/tcg-target.c