diff options
Diffstat (limited to 'hw/sh_intc.h')
-rw-r--r-- | hw/sh_intc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/sh_intc.h b/hw/sh_intc.h index d22a4a2a4c..4362dcf102 100644 --- a/hw/sh_intc.h +++ b/hw/sh_intc.h @@ -1,6 +1,9 @@ #ifndef __SH_INTC_H__ #define __SH_INTC_H__ +#include "qemu-common.h" +#include "irq.h" + typedef unsigned char intc_enum; struct intc_vect { @@ -43,13 +46,13 @@ struct intc_source { }; struct intc_desc { + qemu_irq *irqs; struct intc_source *sources; int nr_sources; struct intc_mask_reg *mask_regs; int nr_mask_regs; struct intc_prio_reg *prio_regs; int nr_prio_regs; - int iomemtype; int pending; /* number of interrupt sources that has pending set */ }; |