mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
acpi: ged: add x86 device variant.
Set AcpiDeviceIfClass->madt_cpu, otherwise identical to TYPE_ACPI_GED. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-id: 20200915120909.20838-6-kraxel@redhat.com
This commit is contained in:
parent
14404dd2d1
commit
2025e97dc5
3 changed files with 41 additions and 0 deletions
|
@ -71,6 +71,10 @@ typedef struct AcpiGedState AcpiGedState;
|
|||
DECLARE_INSTANCE_CHECKER(AcpiGedState, ACPI_GED,
|
||||
TYPE_ACPI_GED)
|
||||
|
||||
#define TYPE_ACPI_GED_X86 "acpi-ged-x86"
|
||||
#define ACPI_GED_X86(obj) \
|
||||
OBJECT_CHECK(AcpiGedX86State, (obj), TYPE_ACPI_GED_X86)
|
||||
|
||||
#define ACPI_GED_EVT_SEL_OFFSET 0x0
|
||||
#define ACPI_GED_EVT_SEL_LEN 0x4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue