OSDN Git Service

mips/kvm: Support unsigned KVM registers
authorJames Hogan <james.hogan@imgtec.com>
Wed, 3 Feb 2016 17:16:50 +0000 (17:16 +0000)
committerLeon Alrae <leon.alrae@imgtec.com>
Fri, 26 Feb 2016 08:59:17 +0000 (08:59 +0000)
commit0759487b56369a1f5d82528f9febd1aaa98bad26
tree93855de2c83ea7996b9c2a1c37ca7670933928d0
parent03cbfd7b5cdb00a7dfadf502b5acdeeefd69422c
mips/kvm: Support unsigned KVM registers

Add KVM register access functions for the uint32_t type. This is
required for FP and MSA control registers, which are represented as
unsigned 32-bit integers.

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>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
target-mips/kvm.c