]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/aspeed_ast2600.c
target/arm: Move ARM_CPU_IRQ/FIQ definitions to 'cpu-qom.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 18 Jan 2024 20:06:38 +0000 (21:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 26 Jan 2024 11:30:49 +0000 (11:30 +0000)
commitd780d056f8acdee73a1c34d95733851d58aecd60
tree989868f9bfb948b8347ebe4217efad7f598c5528
parent9ab1cf655867dafb132ccd17db360fa1d606981b
target/arm: Move ARM_CPU_IRQ/FIQ definitions to 'cpu-qom.h' header

The ARM_CPU_IRQ/FIQ definitions are used to index the GPIO
IRQ created calling qdev_init_gpio_in() in ARMCPU instance_init()
handler. To allow non-ARM code to raise interrupt on ARM cores,
move they to 'target/arm/cpu-qom.h' which is non-ARM specific and
can be included by any hw/ file.

File list to include the new header generated using:

  $ git grep -wEl 'ARM_CPU_(\w*IRQ|FIQ)'

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240118200643.29037-18-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
31 files changed:
hw/arm/allwinner-a10.c
hw/arm/allwinner-h3.c
hw/arm/allwinner-r40.c
hw/arm/armv7m.c
hw/arm/aspeed_ast2400.c
hw/arm/aspeed_ast2600.c
hw/arm/bcm2836.c
hw/arm/exynos4210.c
hw/arm/fsl-imx25.c
hw/arm/fsl-imx31.c
hw/arm/fsl-imx6.c
hw/arm/fsl-imx6ul.c
hw/arm/fsl-imx7.c
hw/arm/highbank.c
hw/arm/integratorcp.c
hw/arm/musicpal.c
hw/arm/npcm7xx.c
hw/arm/omap1.c
hw/arm/omap2.c
hw/arm/realview.c
hw/arm/sbsa-ref.c
hw/arm/strongarm.c
hw/arm/versatilepb.c
hw/arm/vexpress.c
hw/arm/virt.c
hw/arm/xilinx_zynq.c
hw/arm/xlnx-versal.c
hw/arm/xlnx-zynqmp.c
target/arm/cpu-qom.h
target/arm/cpu.c
target/arm/cpu.h