mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
pc: acpi: x2APIC support for MADT table and _MAT method
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
a3ae21ec3f
commit
e2c9593945
3 changed files with 76 additions and 23 deletions
|
@ -531,6 +531,11 @@ void build_cpus_aml(Aml *table, MachineState *machine, CPUHotplugFeatures opts,
|
|||
apic->flags = cpu_to_le32(1);
|
||||
break;
|
||||
}
|
||||
case ACPI_APIC_LOCAL_X2APIC: {
|
||||
AcpiMadtProcessorX2Apic *apic = (void *)madt_buf->data;
|
||||
apic->flags = cpu_to_le32(1);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
assert(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue