mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw/intc/arm_gicv3: Add external IRQ lines for NMI
Augment the GICv3's QOM device interface by adding one new set of sysbus IRQ line, to signal NMI to each CPU. Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20240407081733.3231820-11-ruanjinjie@huawei.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
167f2631df
commit
83f3207538
3 changed files with 10 additions and 0 deletions
|
@ -71,6 +71,8 @@ struct GICState {
|
|||
qemu_irq parent_fiq[GIC_NCPU];
|
||||
qemu_irq parent_virq[GIC_NCPU];
|
||||
qemu_irq parent_vfiq[GIC_NCPU];
|
||||
qemu_irq parent_nmi[GIC_NCPU];
|
||||
qemu_irq parent_vnmi[GIC_NCPU];
|
||||
qemu_irq maintenance_irq[GIC_NCPU];
|
||||
|
||||
/* GICD_CTLR; for a GIC with the security extensions the NS banked version
|
||||
|
|
|
@ -155,6 +155,8 @@ struct GICv3CPUState {
|
|||
qemu_irq parent_fiq;
|
||||
qemu_irq parent_virq;
|
||||
qemu_irq parent_vfiq;
|
||||
qemu_irq parent_nmi;
|
||||
qemu_irq parent_vnmi;
|
||||
|
||||
/* Redistributor */
|
||||
uint32_t level; /* Current IRQ level */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue