summaryrefslogtreecommitdiffstats
path: root/target-mips/mips-semi.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2015-04-24 11:26:52 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-07-16 20:00:20 +0200
commitf8b3e48b2d269551cd40f94770dc20da2f402325 (patch)
tree9fdc95c0696679b5a26213e884de6c4751d51a8b /target-mips/mips-semi.c
parent2d5ee9e7a7dd495d233cf9613a865f63f88e3375 (diff)
downloadhqemu-f8b3e48b2d269551cd40f94770dc20da2f402325.zip
hqemu-f8b3e48b2d269551cd40f94770dc20da2f402325.tar.gz
mips/kvm: Fix Big endian 32-bit register access
Fix access to 32-bit registers on big endian targets. The pointer passed to the kernel must be for the actual 32-bit value, not a temporary 64-bit value, otherwise on big endian systems the kernel will only interpret the upper half. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Leon Alrae <leon.alrae@imgtec.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Cc: kvm@vger.kernel.org Cc: qemu-stable@nongnu.org Message-Id: <1429871214-23514-2-git-send-email-james.hogan@imgtec.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-mips/mips-semi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud