diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-09-25 14:02:32 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-09-25 15:13:24 +0100 |
commit | b6e6c65151efb72063a9dd62fbd5baa744d4ab30 (patch) | |
tree | 6216c93c977a70dbc3174c579fa50ce990b753c7 /hw/intc/gic_internal.h | |
parent | 48314d831679373edb13712ff4a1abcb1937a0bd (diff) | |
download | qemu-b6e6c65151efb72063a9dd62fbd5baa744d4ab30.zip qemu-b6e6c65151efb72063a9dd62fbd5baa744d4ab30.tar.gz qemu-b6e6c65151efb72063a9dd62fbd5baa744d4ab30.tar.bz2 |
hw/intc/arm_gic: Drop GIC_BASE_IRQ macro
The GIC_BASE_IRQ macro is a leftover from when we shared code
between the GICv2 and the v7M NVIC. Since the NVIC is now
split off, GIC_BASE_IRQ is always 0, and we can just delete it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Message-id: 20180824161819.11085-1-peter.maydell@linaro.org
Diffstat (limited to 'hw/intc/gic_internal.h')
-rw-r--r-- | hw/intc/gic_internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/intc/gic_internal.h b/hw/intc/gic_internal.h index 45c2af0..8d29b40 100644 --- a/hw/intc/gic_internal.h +++ b/hw/intc/gic_internal.h @@ -26,8 +26,6 @@ #define ALL_CPU_MASK ((unsigned)(((1 << GIC_NCPU) - 1))) -#define GIC_BASE_IRQ 0 - #define GIC_DIST_SET_ENABLED(irq, cm) (s->irq_state[irq].enabled |= (cm)) #define GIC_DIST_CLEAR_ENABLED(irq, cm) (s->irq_state[irq].enabled &= ~(cm)) #define GIC_DIST_TEST_ENABLED(irq, cm) ((s->irq_state[irq].enabled & (cm)) != 0) |