xref: /qemu/include/hw/intc/realview_gic.h (revision 20a4f14f6e6f543100bfdd93705cbdebb549d250)
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  
16  #define TYPE_REALVIEW_GIC "realview_gic"
17  #define REALVIEW_GIC(obj) \
18      OBJECT_CHECK(RealViewGICState, (obj), TYPE_REALVIEW_GIC)
19  
20  typedef struct RealViewGICState {
21      SysBusDevice parent_obj;
22  
23      MemoryRegion container;
24  
25      GICState gic;
26  } RealViewGICState;
27  
28  #endif
29