]> git.proxmox.com Git - mirror_qemu.git/commit
intc/arm_gic: Wire the vCPU interface
authorLuc Michel <luc.michel@greensocs.com>
Tue, 14 Aug 2018 16:17:20 +0000 (17:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Aug 2018 16:17:20 +0000 (17:17 +0100)
commit2c679ac734892e2a61ba3d1a7d5146f638882532
treeebce6c0d77216d018574e47de10f968005f0fcb2
parent7eb079ec510f72cc3d20f94bd78a02cca29c968c
intc/arm_gic: Wire the vCPU interface

Add the read/write functions to handle accesses to the vCPU interface.
Those accesses are forwarded to the real CPU interface, with the CPU id
being converted to the corresponding vCPU id (vCPU id = CPU id +
GIC_NCPU).

Signed-off-by: Luc Michel <luc.michel@greensocs.com>
Message-id: 20180727095421.386-15-luc.michel@greensocs.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gic.c