target/arm: Use TRANS_FEAT for RAX1
[qemu/ar7.git] / hw / i386 / generic_event_device_x86.c
blobe26fb02a2ef654050226bf5175a90ca480d42962
1 /*
2 * x86 variant of the generic event device for hw reduced acpi
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2 or later, as published by the Free Software Foundation.
7 */
9 #include "qemu/osdep.h"
10 #include "hw/acpi/generic_event_device.h"
11 #include "hw/i386/pc.h"
13 static void acpi_ged_x86_class_init(ObjectClass *class, void *data)
15 AcpiDeviceIfClass *adevc = ACPI_DEVICE_IF_CLASS(class);
17 adevc->madt_cpu = pc_madt_cpu_entry;
20 static const TypeInfo acpi_ged_x86_info = {
21 .name = TYPE_ACPI_GED_X86,
22 .parent = TYPE_ACPI_GED,
23 .class_init = acpi_ged_x86_class_init,
24 .interfaces = (InterfaceInfo[]) {
25 { TYPE_HOTPLUG_HANDLER },
26 { TYPE_ACPI_DEVICE_IF },
27 { }
31 static void acpi_ged_x86_register_types(void)
33 type_register_static(&acpi_ged_x86_info);
36 type_init(acpi_ged_x86_register_types)