linux-headers: add kvm header for mips
kvm header for MIPS was manually excluded from auto-updates. Update it now to 4.17-rc2. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
4337003647
commit
85e99cf80b
@ -1,3 +1,4 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||||
/*
|
/*
|
||||||
* This file is subject to the terms and conditions of the GNU General Public
|
* This file is subject to the terms and conditions of the GNU General Public
|
||||||
* License. See the file "COPYING" in the main directory of this archive
|
* License. See the file "COPYING" in the main directory of this archive
|
||||||
@ -19,6 +20,10 @@
|
|||||||
* Some parts derived from the x86 version of this file.
|
* Some parts derived from the x86 version of this file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __KVM_HAVE_READONLY_MEM
|
||||||
|
|
||||||
|
#define KVM_COALESCED_MMIO_PAGE_OFFSET 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* for KVM_GET_REGS and KVM_SET_REGS
|
* for KVM_GET_REGS and KVM_SET_REGS
|
||||||
*
|
*
|
||||||
@ -52,9 +57,14 @@ struct kvm_fpu {
|
|||||||
* Register set = 0: GP registers from kvm_regs (see definitions below).
|
* Register set = 0: GP registers from kvm_regs (see definitions below).
|
||||||
*
|
*
|
||||||
* Register set = 1: CP0 registers.
|
* Register set = 1: CP0 registers.
|
||||||
* bits[15..8] - Must be zero.
|
* bits[15..8] - COP0 register set.
|
||||||
* bits[7..3] - Register 'rd' index.
|
*
|
||||||
* bits[2..0] - Register 'sel' index.
|
* COP0 register set = 0: Main CP0 registers.
|
||||||
|
* bits[7..3] - Register 'rd' index.
|
||||||
|
* bits[2..0] - Register 'sel' index.
|
||||||
|
*
|
||||||
|
* COP0 register set = 1: MAARs.
|
||||||
|
* bits[7..0] - MAAR index.
|
||||||
*
|
*
|
||||||
* Register set = 2: KVM specific registers (see definitions below).
|
* Register set = 2: KVM specific registers (see definitions below).
|
||||||
*
|
*
|
||||||
@ -112,6 +122,15 @@ struct kvm_fpu {
|
|||||||
#define KVM_REG_MIPS_PC (KVM_REG_MIPS_GP | KVM_REG_SIZE_U64 | 34)
|
#define KVM_REG_MIPS_PC (KVM_REG_MIPS_GP | KVM_REG_SIZE_U64 | 34)
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* KVM_REG_MIPS_CP0 - Coprocessor 0 registers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define KVM_REG_MIPS_MAAR (KVM_REG_MIPS_CP0 | (1 << 8))
|
||||||
|
#define KVM_REG_MIPS_CP0_MAAR(n) (KVM_REG_MIPS_MAAR | \
|
||||||
|
KVM_REG_SIZE_U64 | (n))
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* KVM_REG_MIPS_KVM - KVM specific control registers.
|
* KVM_REG_MIPS_KVM - KVM specific control registers.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user