1 /* 2 * ARM RealView Emulation Baseboard Interrupt Controller 3 * 4 * Copyright (c) 2006-2007 CodeSourcery. 5 * Written by Paul Brook 6 * 7 * This code is licensed under the GPL. 8 */ 9 10 #ifndef HW_INTC_REALVIEW_GIC_H 11 #define HW_INTC_REALVIEW_GIC_H 12 13 #include "hw/sysbus.h" 14 #include "hw/intc/arm_gic.h" 15 #include "qom/object.h" 16 17 #define TYPE_REALVIEW_GIC "realview_gic" 18 typedef struct RealViewGICState RealViewGICState; 19 DECLARE_INSTANCE_CHECKER(RealViewGICState, REALVIEW_GIC, 20 TYPE_REALVIEW_GIC) 21 22 struct RealViewGICState { 23 SysBusDevice parent_obj; 24 25 MemoryRegion container; 26 27 GICState gic; 28 }; 29 30 #endif 31