xen/arm: vpl011: Move vgic register access functions to vreg.h
authorBhupinder Thakur <bhupinder.thakur@linaro.org>
Thu, 22 Jun 2017 07:38:36 +0000 (13:08 +0530)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 23 Jun 2017 18:03:17 +0000 (11:03 -0700)
commitc6b6916279f17fef5708bb5a82d075df3f996db5
treec1435a2ed020bfad779d7d4358c6ec9231c8e8bb
parente47d920e07a520a43f3450033b1a21cc09a79b3e
xen/arm: vpl011: Move vgic register access functions to vreg.h

These functions are generic in nature and can be reused by other emulation
code in Xen. vGICv3 ITS and SBSA UART emulation code, would use these
functions to operate on their registers.

This patch moves the register access function definitions from vgic.h to
vreg.h.

Signed-off-by: Bhupinder Thakur <bhupinder.thakur@linaro.org>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/include/asm-arm/vgic.h
xen/include/asm-arm/vreg.h