1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "hw/acpi/acpi_dev_interface.h" #include "qemu/module.h" static void register_types(void) { static const TypeInfo acpi_dev_if_info = { .name = TYPE_ACPI_DEVICE_IF, .parent = TYPE_INTERFACE, .class_size = sizeof(AcpiDeviceIfClass), }; type_register_static(&acpi_dev_if_info); } type_init(register_types)