Merge remote-tracking branch 'qemu-project/master'
[qemu/ar7.git] / include / hw / intc / imx_gpcv2.h
blob7bdee7e80a12dabc7458ac20e28ede910b54bfb5
1 #ifndef IMX_GPCV2_H
2 #define IMX_GPCV2_H
4 #include "hw/sysbus.h"
5 #include "qom/object.h"
7 enum IMXGPCv2Registers {
8 GPC_NUM = 0xE00 / sizeof(uint32_t),
9 };
11 struct IMXGPCv2State {
12 /*< private >*/
13 SysBusDevice parent_obj;
15 /*< public >*/
16 MemoryRegion iomem;
17 uint32_t regs[GPC_NUM];
20 #define TYPE_IMX_GPCV2 "imx-gpcv2"
21 OBJECT_DECLARE_SIMPLE_TYPE(IMXGPCv2State, IMX_GPCV2)
23 #endif /* IMX_GPCV2_H */