mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
pc: acpi: q35: move _PIC() method into SSDT
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>
This commit is contained in:
parent
65aef4de5e
commit
e9fce79861
2 changed files with 8 additions and 10 deletions
|
@ -1696,6 +1696,14 @@ static void build_q35_pci0_int(Aml *table)
|
|||
Aml *sb_scope = aml_scope("_SB");
|
||||
Aml *pci0_scope = aml_scope("PCI0");
|
||||
|
||||
/* Zero => PIC mode, One => APIC Mode */
|
||||
aml_append(table, aml_name_decl("PICF", aml_int(0)));
|
||||
method = aml_method("_PIC", 1, AML_NOTSERIALIZED);
|
||||
{
|
||||
aml_append(method, aml_store(aml_arg(0), aml_name("PICF")));
|
||||
}
|
||||
aml_append(table, method);
|
||||
|
||||
aml_append(pci0_scope,
|
||||
aml_name_decl("PRTP", build_q35_routing_table("LNK")));
|
||||
aml_append(pci0_scope,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue