diff options
Diffstat (limited to 'arch/arm/include/uapi')
-rw-r--r-- | arch/arm/include/uapi/asm/kvm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/uapi/asm/kvm.h b/arch/arm/include/uapi/asm/kvm.h index 76a742769e2b..ef0c8785ba16 100644 --- a/arch/arm/include/uapi/asm/kvm.h +++ b/arch/arm/include/uapi/asm/kvm.h | |||
@@ -165,6 +165,12 @@ struct kvm_arch_memory_slot { | |||
165 | 165 | ||
166 | /* Device Control API: ARM VGIC */ | 166 | /* Device Control API: ARM VGIC */ |
167 | #define KVM_DEV_ARM_VGIC_GRP_ADDR 0 | 167 | #define KVM_DEV_ARM_VGIC_GRP_ADDR 0 |
168 | #define KVM_DEV_ARM_VGIC_GRP_DIST_REGS 1 | ||
169 | #define KVM_DEV_ARM_VGIC_GRP_CPU_REGS 2 | ||
170 | #define KVM_DEV_ARM_VGIC_CPUID_SHIFT 32 | ||
171 | #define KVM_DEV_ARM_VGIC_CPUID_MASK (0xffULL << KVM_DEV_ARM_VGIC_CPUID_SHIFT) | ||
172 | #define KVM_DEV_ARM_VGIC_OFFSET_SHIFT 0 | ||
173 | #define KVM_DEV_ARM_VGIC_OFFSET_MASK (0xffffffffULL << KVM_DEV_ARM_VGIC_OFFSET_SHIFT) | ||
168 | 174 | ||
169 | /* KVM_IRQ_LINE irq field index values */ | 175 | /* KVM_IRQ_LINE irq field index values */ |
170 | #define KVM_ARM_IRQ_TYPE_SHIFT 24 | 176 | #define KVM_ARM_IRQ_TYPE_SHIFT 24 |