aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2013-09-23 17:55:56 -0400
committerChristoffer Dall <christoffer.dall@linaro.org>2013-12-21 13:01:22 -0500
commitce01e4e8874d410738f4b4733b26642d6611a331 (patch)
treef58e80efb4fc588858f4c16e48dec45659cb5048 /include
parent7330672befe6269e575f79b924a7068b26c144b4 (diff)
KVM: arm-vgic: Set base addr through device API
Support setting the distributor and cpu interface base addresses in the VM physical address space through the KVM_{SET,GET}_DEVICE_ATTR API in addition to the ARM specific API. This has the added benefit of being able to share more code in user space and do things in a uniform manner. Also deprecate the older API at the same time, but backwards compatibility will be maintained. Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/kvm/arm_vgic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index 7e2d15837b02..be85127bfed3 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -144,7 +144,7 @@ struct kvm_run;
144struct kvm_exit_mmio; 144struct kvm_exit_mmio;
145 145
146#ifdef CONFIG_KVM_ARM_VGIC 146#ifdef CONFIG_KVM_ARM_VGIC
147int kvm_vgic_set_addr(struct kvm *kvm, unsigned long type, u64 addr); 147int kvm_vgic_addr(struct kvm *kvm, unsigned long type, u64 *addr, bool write);
148int kvm_vgic_hyp_init(void); 148int kvm_vgic_hyp_init(void);
149int kvm_vgic_init(struct kvm *kvm); 149int kvm_vgic_init(struct kvm *kvm);
150int kvm_vgic_create(struct kvm *kvm); 150int kvm_vgic_create(struct kvm *kvm);