1#include "qemu/osdep.h" 2#include "qom/object.h" 3#include "qemu-common.h" 4 5static const TypeInfo fdt_qom_aliases [] = { 6 { .name = "arm.cortex-a9-twd-timer", .parent = "arm_mptimer" }, 7 { .name = "xlnx.ps7-slcr", .parent = "xilinx,zynq_slcr" }, 8 { .name = "xlnx.zynq-slcr", .parent = "xilinx,zynq_slcr" }, 9 { .name = "arm.cortex-a9-gic", .parent = "arm_gic" }, 10 { .name = "arm.gic", .parent = "arm_gic" }, 11 { .name = "arm.cortex-a9-scu", .parent = "a9-scu" }, 12#ifdef TARGET_AARCH64 13 { .name = "xilinx.cxtsgen", .parent = "arm.generic-timer" }, 14#endif 15}; 16 17static void fdt_generic_register_types(void) 18{ 19 int i; 20 21 for (i = 0; i < ARRAY_SIZE(fdt_qom_aliases); ++i) { 22 type_register_static(&fdt_qom_aliases[i]); 23 } 24} 25 26type_init(fdt_generic_register_types) 27