xref: /openbmc/qemu/include/hw/intc/realview_gic.h (revision ffe98631)
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 OBJECT_DECLARE_SIMPLE_TYPE(RealViewGICState, REALVIEW_GIC)
19 
20 struct RealViewGICState {
21     SysBusDevice parent_obj;
22 
23     MemoryRegion container;
24 
25     GICState gic;
26 };
27 
28 #endif
29