diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-06-04 10:29:39 +0100 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-07-11 04:57:31 -0700 |
commit | 69bb2c9fbc11d9d4358fbb798db15c9092eb4d8c (patch) | |
tree | ca465df2f2ae90a961d315652aa6028a20bdabcb /include/kvm | |
parent | 8d5c6b06a5d5f8ebcf40558e566781d572920740 (diff) | |
download | op-kernel-dev-69bb2c9fbc11d9d4358fbb798db15c9092eb4d8c.zip op-kernel-dev-69bb2c9fbc11d9d4358fbb798db15c9092eb4d8c.tar.gz |
KVM: ARM: vgic: abstract access to the ELRSR bitmap
Move the GICH_ELRSR access to its own functions, and add them to
the vgic_ops structure.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/kvm')
-rw-r--r-- | include/kvm/arm_vgic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index 17bbe51..38864f5e 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h @@ -84,6 +84,8 @@ struct vgic_lr { struct vgic_ops { struct vgic_lr (*get_lr)(const struct kvm_vcpu *, int); void (*set_lr)(struct kvm_vcpu *, int, struct vgic_lr); + void (*sync_lr_elrsr)(struct kvm_vcpu *, int, struct vgic_lr); + u64 (*get_elrsr)(const struct kvm_vcpu *vcpu); }; struct vgic_dist { |