]> Git Repo - qemu.git/commit - target/mips/kvm.c
mips/kvm: Fix Big endian 32-bit register access
authorJames Hogan <[email protected]>
Fri, 24 Apr 2015 10:26:52 +0000 (11:26 +0100)
committerPaolo Bonzini <[email protected]>
Thu, 16 Jul 2015 18:00:20 +0000 (20:00 +0200)
commitf8b3e48b2d269551cd40f94770dc20da2f402325
tree9fdc95c0696679b5a26213e884de6c4751d51a8b
parent2d5ee9e7a7dd495d233cf9613a865f63f88e3375
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 <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Leon Alrae <[email protected]>
Cc: Aurelien Jarno <[email protected]>
Cc: [email protected]
Cc: [email protected]
Message-Id: <1429871214[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
target-mips/kvm.c
This page took 0.02572 seconds and 4 git commands to generate.