diff options
author | Christoffer Dall | 2013-09-23 14:55:56 -0700 |
---|---|---|
committer | Christoffer Dall | 2013-12-21 10:01:31 -0800 |
commit | 1006e8cb22e861260688917ca4cfe6cde8ad69eb (patch) | |
tree | 1d10860aaf8d3a865f3e4c196d0aa8e8999d4d1b /kernel | |
parent | 0307e1770fdeff2732cf7a35d0f7f49db67c6621 (diff) |
KVM: arm-vgic: Make vgic mmio functions more generic
Rename the vgic_ranges array to vgic_dist_ranges to be more specific and
to prepare for handling CPU interface register access as well (for
save/restore of VGIC state).
Pass offset from distributor or interface MMIO base to
find_matching_range function instead of the physical address of the
access in the VM memory map. This allows other callers unaware of the
VM specifics, but with generic VGIC knowledge to reuse the function.
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions