monitor: Fix tracepoint crash on JSON syntax error
[qemu/armbru.git] / include / hw / intc / imx_gpcv2.h
blobed978b24bb8bc8505f7d03e141ef0cbe8679fa13
1 #ifndef IMX_GPCV2_H
2 #define IMX_GPCV2_H
4 #include "hw/sysbus.h"
6 enum IMXGPCv2Registers {
7 GPC_NUM = 0xE00 / sizeof(uint32_t),
8 };
10 typedef struct IMXGPCv2State {
11 /*< private >*/
12 SysBusDevice parent_obj;
14 /*< public >*/
15 MemoryRegion iomem;
16 uint32_t regs[GPC_NUM];
17 } IMXGPCv2State;
19 #define TYPE_IMX_GPCV2 "imx-gpcv2"
20 #define IMX_GPCV2(obj) OBJECT_CHECK(IMXGPCv2State, (obj), TYPE_IMX_GPCV2)
22 #endif /* IMX_GPCV2_H */