KVM: ARM: vgic: introduce vgic_ops and LR manipulation primitives
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 3 Jun 2013 14:55:02 +0000 (15:55 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:57:31 +0000 (04:57 -0700)
commit8d5c6b06a5d5f8ebcf40558e566781d572920740
treefa9d9631b9336ae2f1c4c061c2bfd6d2b2615f45
parenteede821dbfd58df89edb072da64e006321eaef58
KVM: ARM: vgic: introduce vgic_ops and LR manipulation primitives

In order to split the various register manipulation from the main vgic
code, introduce a vgic_ops structure, and start by abstracting the
LR manipulation code with a couple of accessors.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic.c