aboutsummaryrefslogtreecommitdiffstats
path: root/include/kvm/arm_vgic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kvm/arm_vgic.h')
-rw-r--r--include/kvm/arm_vgic.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index 2228973ea8e4..ce2e14226dbf 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -102,6 +102,17 @@ struct vgic_ops {
102 void (*enable)(struct kvm_vcpu *vcpu); 102 void (*enable)(struct kvm_vcpu *vcpu);
103}; 103};
104 104
105struct vgic_params {
106 /* Physical address of vgic virtual cpu interface */
107 phys_addr_t vcpu_base;
108 /* Number of list registers */
109 u32 nr_lr;
110 /* Interrupt number */
111 unsigned int maint_irq;
112 /* Virtual control interface base address */
113 void __iomem *vctrl_base;
114};
115
105struct vgic_dist { 116struct vgic_dist {
106#ifdef CONFIG_KVM_ARM_VGIC 117#ifdef CONFIG_KVM_ARM_VGIC
107 spinlock_t lock; 118 spinlock_t lock;