target-ppc: Fix rlwimi, rlwinm, rlwnm again
[qemu.git] / include / hw / intc / arm_gicv3.h
blob4a6fd85e226a6be143cdf01eee9ab378f6270337
1 /*
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)
9 * any later version.
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 {
25 /*< private >*/
26 ARMGICv3CommonClass parent_class;
27 /*< public >*/
29 DeviceRealize parent_realize;
30 } ARMGICv3Class;
32 #endif