diff options
| -rw-r--r-- | arch/mips/include/uapi/asm/kvm.h | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/arch/mips/include/uapi/asm/kvm.h b/arch/mips/include/uapi/asm/kvm.h index 85789eacbf18..0e8f5658c03e 100644 --- a/arch/mips/include/uapi/asm/kvm.h +++ b/arch/mips/include/uapi/asm/kvm.h | |||
| @@ -1,11 +1,12 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public | 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive | 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. | 4 | * for more details. |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. | 6 | * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. |
| 7 | * Authors: Sanjay Lal <sanjayl@kymasys.com> | 7 | * Copyright (C) 2013 Cavium, Inc. |
| 8 | */ | 8 | * Authors: Sanjay Lal <sanjayl@kymasys.com> |
| 9 | */ | ||
| 9 | 10 | ||
| 10 | #ifndef __LINUX_KVM_MIPS_H | 11 | #ifndef __LINUX_KVM_MIPS_H |
| 11 | #define __LINUX_KVM_MIPS_H | 12 | #define __LINUX_KVM_MIPS_H |
| @@ -31,8 +32,20 @@ struct kvm_regs { | |||
| 31 | struct kvm_sregs { | 32 | struct kvm_sregs { |
| 32 | }; | 33 | }; |
| 33 | 34 | ||
| 34 | /* for KVM_GET_FPU and KVM_SET_FPU */ | 35 | /* |
| 36 | * for KVM_GET_FPU and KVM_SET_FPU | ||
| 37 | * | ||
| 38 | * If Status[FR] is zero (32-bit FPU), the upper 32-bits of the FPRs | ||
| 39 | * are zero filled. | ||
| 40 | */ | ||
| 35 | struct kvm_fpu { | 41 | struct kvm_fpu { |
| 42 | __u64 fpr[32]; | ||
| 43 | __u32 fir; | ||
| 44 | __u32 fccr; | ||
| 45 | __u32 fexr; | ||
| 46 | __u32 fenr; | ||
| 47 | __u32 fcsr; | ||
| 48 | __u32 pad; | ||
| 36 | }; | 49 | }; |
| 37 | 50 | ||
| 38 | struct kvm_debug_exit_arch { | 51 | struct kvm_debug_exit_arch { |
