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
6 * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
7 * Authors: Sanjay Lal <sanjayl@kymasys.com>
10 #ifndef __LINUX_KVM_MIPS_H
11 #define __LINUX_KVM_MIPS_H
13 #include <linux/types.h>
17 #define N_MIPS_COPROC_REGS 32
18 #define N_MIPS_COPROC_SEL 8
20 /* for KVM_GET_REGS and KVM_SET_REGS */
27 __u32 cp0reg[N_MIPS_COPROC_REGS][N_MIPS_COPROC_SEL];
30 /* for KVM_GET_SREGS and KVM_SET_SREGS */
34 /* for KVM_GET_FPU and KVM_SET_FPU */
38 struct kvm_debug_exit_arch {
41 /* for KVM_SET_GUEST_DEBUG */
42 struct kvm_guest_debug_arch {
45 struct kvm_mips_interrupt {
51 /* definition of registers in kvm_run */
52 struct kvm_sync_regs {
55 #endif /* __LINUX_KVM_MIPS_H */