diff options
Diffstat (limited to 'include/hw/intc/arm_gic_common.h')
-rw-r--r-- | include/hw/intc/arm_gic_common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/hw/intc/arm_gic_common.h b/include/hw/intc/arm_gic_common.h index f6887ed92..7bd1fc01a 100644 --- a/include/hw/intc/arm_gic_common.h +++ b/include/hw/intc/arm_gic_common.h @@ -42,6 +42,7 @@ typedef struct gic_irq_state { uint8_t level; bool model; /* 0 = N:N, 1 = 1:N */ bool edge_trigger; /* true: edge-triggered, false: level-triggered */ + bool group; /* true: group1, false: group0 */ } gic_irq_state; typedef struct GICState { @@ -50,7 +51,10 @@ typedef struct GICState { /*< public >*/ qemu_irq parent_irq[GIC_NCPU]; - bool enabled; + qemu_irq parent_fiq[GIC_NCPU]; + bool enabled_grp0; + bool enabled_grp1; + bool enabled_fiq; bool cpu_enabled[GIC_NCPU]; gic_irq_state irq_state[GIC_MAXIRQ]; |