2 * ARM Generic Interrupt Controller v3
4 * Copyright (c) 2015 Huawei.
5 * Copyright (c) 2016 Linaro Limited
6 * Written by Shlomo Pongratz, Peter Maydell
8 * This code is licensed under the GPL, version 2 or (at your option)
12 #ifndef HW_ARM_GICV3_H
13 #define HW_ARM_GICV3_H
15 #include "arm_gicv3_common.h"
17 #define TYPE_ARM_GICV3 "arm-gicv3"
18 #define ARM_GICV3(obj) OBJECT_CHECK(GICv3State, (obj), TYPE_ARM_GICV3)
19 #define ARM_GICV3_CLASS(klass) \
20 OBJECT_CLASS_CHECK(ARMGICv3Class, (klass), TYPE_ARM_GICV3)
21 #define ARM_GICV3_GET_CLASS(obj) \
22 OBJECT_GET_CLASS(ARMGICv3Class, (obj), TYPE_ARM_GICV3)
24 typedef struct ARMGICv3Class
{
26 ARMGICv3CommonClass parent_class
;
29 DeviceRealize parent_realize
;