diff options
| author | Marc Zyngier <marc.zyngier@arm.com> | 2013-06-04 05:29:39 -0400 |
|---|---|---|
| committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-07-11 07:57:31 -0400 |
| commit | 69bb2c9fbc11d9d4358fbb798db15c9092eb4d8c (patch) | |
| tree | ca465df2f2ae90a961d315652aa6028a20bdabcb /include/kvm | |
| parent | 8d5c6b06a5d5f8ebcf40558e566781d572920740 (diff) | |
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 17bbe51b79a1..38864f5e47bc 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h | |||
| @@ -84,6 +84,8 @@ struct vgic_lr { | |||
| 84 | struct vgic_ops { | 84 | struct vgic_ops { |
| 85 | struct vgic_lr (*get_lr)(const struct kvm_vcpu *, int); | 85 | struct vgic_lr (*get_lr)(const struct kvm_vcpu *, int); |
| 86 | void (*set_lr)(struct kvm_vcpu *, int, struct vgic_lr); | 86 | void (*set_lr)(struct kvm_vcpu *, int, struct vgic_lr); |
| 87 | void (*sync_lr_elrsr)(struct kvm_vcpu *, int, struct vgic_lr); | ||
| 88 | u64 (*get_elrsr)(const struct kvm_vcpu *vcpu); | ||
| 87 | }; | 89 | }; |
| 88 | 90 | ||
| 89 | struct vgic_dist { | 91 | struct vgic_dist { |
