mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
9ab1cf6558
commit
d780d056f8
31 changed files with 35 additions and 6 deletions
|
@ -39,6 +39,7 @@
|
|||
#include "hw/sysbus.h"
|
||||
#include "hw/boards.h"
|
||||
#include "audio/audio.h"
|
||||
#include "target/arm/cpu-qom.h"
|
||||
|
||||
/* Enhanced Audio Controller (CODEC only) */
|
||||
struct omap_eac_s {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue