hw/riscv/boot.c: use MachineState in riscv_load_kernel()
[qemu.git] / include / hw / intc / realview_gic.h
blobf37339dc0b190641aefdc4d5596485d19e3c0ffb
1 /*
2 * ARM RealView Emulation Baseboard Interrupt Controller
4 * Copyright (c) 2006-2007 CodeSourcery.
5 * Written by Paul Brook
7 * This code is licensed under the GPL.
8 */
10 #ifndef HW_INTC_REALVIEW_GIC_H
11 #define HW_INTC_REALVIEW_GIC_H
13 #include "hw/sysbus.h"
14 #include "hw/intc/arm_gic.h"
15 #include "qom/object.h"
17 #define TYPE_REALVIEW_GIC "realview_gic"
18 OBJECT_DECLARE_SIMPLE_TYPE(RealViewGICState, REALVIEW_GIC)
20 struct RealViewGICState {
21 SysBusDevice parent_obj;
23 MemoryRegion container;
25 GICState gic;
28 #endif