arm/arm64: KVM: refactor vgic_handle_mmio() function
authorAndre Przywara <andre.przywara@arm.com>
Mon, 2 Jun 2014 20:44:37 +0000 (22:44 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 20 Jan 2015 17:25:25 +0000 (18:25 +0100)
commit96415257a1bdf5c84bdf4991cf65eaf2265812c9
tree593df4d953b5ad0b054e0e41809bc5cd8c5c5195
parent59892136c40d6735e627dcea6a056380dfd6721d
arm/arm64: KVM: refactor vgic_handle_mmio() function

Currently we only need to deal with one MMIO region for the GIC
emulation (the GICv2 distributor), but we soon need to extend this.
Refactor the existing code to allow easier addition of different
ranges without code duplication.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c
This page took 0.03821 seconds and 5 git commands to generate.