]> git.proxmox.com Git - mirror_qemu.git/blame - include/hw/intc/realview_gic.h
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / include / hw / intc / realview_gic.h
CommitLineData
ce31825d
AF
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"
db1015e9 15#include "qom/object.h"
ce31825d
AF
16
17#define TYPE_REALVIEW_GIC "realview_gic"
8063396b 18OBJECT_DECLARE_SIMPLE_TYPE(RealViewGICState, REALVIEW_GIC)
ce31825d 19
db1015e9 20struct RealViewGICState {
ce31825d
AF
21 SysBusDevice parent_obj;
22
23 MemoryRegion container;
24
25 GICState gic;
db1015e9 26};
ce31825d
AF
27
28#endif