]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/acpi-build.c
pc: acpi: introduce AcpiDeviceIfClass.madt_cpu hook
authorIgor Mammedov <imammedo@redhat.com>
Wed, 20 Apr 2016 09:28:57 +0000 (11:28 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 24 Jun 2016 02:21:16 +0000 (05:21 +0300)
commitac35f13ba8f80533b21016ced01aa55891952251
tree19e786a9fd727c601cab940122026f82dd561f3f
parent5e1b5d93887b52eede156f846b6c4c5c8bbcfcdb
pc: acpi: introduce AcpiDeviceIfClass.madt_cpu hook

Add madt_cpu callback to AcpiDeviceIfClass and use
it for generating LAPIC MADT entries for CPUs.

Later it will be used for generating x2APIC
entries in case of more than 255 CPUs and also
would be reused by ARM target when ACPI CPU hotplug
is introduced there.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/piix4.c
hw/i386/acpi-build.c
hw/isa/lpc_ich9.c
include/hw/acpi/acpi_dev_interface.h
include/hw/i386/pc.h
stubs/Makefile.objs
stubs/pc_madt_cpu_entry.c [new file with mode: 0644]