tweak copyright headers (these aren't mine... I just moved the code around)
[qemu/ar7.git] / include / hw / intc / bcm2835_ic.h
blob428139d80700375c0984e3fbaafd91adf8810037
1 /*
2 * Raspberry Pi emulation (c) 2012 Gregory Estrade
3 * This code is licensed under the GNU GPLv2 and later.
4 */
6 #ifndef BCM2835_IC_H
7 #define BCM2835_IC_H
9 #include "hw/sysbus.h"
11 #define TYPE_BCM2835_IC "bcm2835_ic"
12 #define BCM2835_IC(obj) OBJECT_CHECK(BCM2835IcState, (obj), TYPE_BCM2835_IC)
14 typedef struct BCM2835IcState {
15 SysBusDevice busdev;
16 MemoryRegion iomem;
18 uint32_t level[3];
19 uint32_t irq_enable[3];
20 int fiq_enable;
21 int fiq_select;
22 qemu_irq irq;
23 qemu_irq fiq;
24 } BCM2835IcState;
26 #endif