hw/intc/arm_gicv3: Extract gicv3_set_gicv3state from arm_gicv3_cpuif.c
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 15 Nov 2021 22:36:18 +0000 (23:36 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 15 Dec 2021 10:11:34 +0000 (10:11 +0000)
commita1d742d88b7c4aef31c265ee931dfc51ec4be017
treeae002d7b8d91b51f7d7766671159c044fbcbd462
parentab08c3467605365b44fab1b66bb6254db86814f6
hw/intc/arm_gicv3: Extract gicv3_set_gicv3state from arm_gicv3_cpuif.c

gicv3_set_gicv3state() is used by arm_gicv3_common.c in
arm_gicv3_common_realize(). Since we want to restrict
arm_gicv3_cpuif.c to TCG, extract gicv3_set_gicv3state()
to a new file. Add this file to the meson 'specific'
source set, since it needs access to "cpu.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20211115223619.2599282-2-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gicv3_cpuif.c
hw/intc/arm_gicv3_cpuif_common.c [new file with mode: 0644]
hw/intc/meson.build