tests: acpi: update expected blobs
An intermediate blobs update to keep changes (last 2 patches) reviewable. Includes refactored PDSM that uses Package argument for custom parameters. ===== PDSM taking package as arguments Return (Local0) } - Method (PDSM, 6, Serialized) + Method (PDSM, 5, Serialized) { - If ((Arg0 == ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) + If ((Arg2 == Zero)) { - Local0 = AIDX (Arg4, Arg5) - If ((Arg2 == Zero)) - { - If ((Arg1 == 0x02)) + Local0 = Buffer (One) { - If (!((Local0 == Zero) | (Local0 == 0xFFFFFFFF))) - { - Return (Buffer (One) - { - 0x81 // . - }) - } + 0x00 // . } + Local1 = Zero + If ((Arg0 != ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) + { + Return (Local0) + } - Return (Buffer (One) - { - 0x00 // . - }) + If ((Arg1 < 0x02)) + { + Return (Local0) } - ElseIf ((Arg2 == 0x07)) + + Local2 = AIDX (DerefOf (Arg4 [Zero]), DerefOf (Arg4 [One] + )) + If (!((Local2 == Zero) | (Local2 == 0xFFFFFFFF))) { - Local1 = Package (0x02) - { - Zero, - "" - } - Local1 [Zero] = Local0 - Return (Local1) + Local1 |= One + Local1 |= (One << 0x07) } + + Local0 [Zero] = Local1 + Return (Local0) + } + + If ((Arg2 == 0x07)) + { + Local0 = Package (0x02) + { + Zero, + "" + } + Local2 = AIDX (DerefOf (Arg4 [Zero]), DerefOf (Arg4 [One] + )) + Local0 [Zero] = Local2 + Return (Local0) } } } ===== PCI slot using Package to pass arguments to _DSM Name (ASUN, Zero) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { - Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, ASUN)) + Local0 = Package (0x02) + { + BSEL, + ASUN + } + Return (PDSM (Arg0, Arg1, Arg2, Arg3, Local0)) } } ===== hotpluggable PCI slot using Package to pass arguments to _DSM Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { - Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN)) + Local0 = Package (0x02) + { + BSEL, + _SUN + } + Return (PDSM (Arg0, Arg1, Arg2, Arg3, Local0)) } } Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20220701133515.137890-8-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@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
467d099a29
commit
13508ea26a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,35 +1 @@
|
|||
/* List of comma-separated changed AML files to ignore */
|
||||
"tests/data/acpi/pc/DSDT",
|
||||
"tests/data/acpi/pc/DSDT.acpierst",
|
||||
"tests/data/acpi/pc/DSDT.acpihmat",
|
||||
"tests/data/acpi/pc/DSDT.bridge",
|
||||
"tests/data/acpi/pc/DSDT.cphp",
|
||||
"tests/data/acpi/pc/DSDT.dimmpxm",
|
||||
"tests/data/acpi/pc/DSDT.hpbridge",
|
||||
"tests/data/acpi/pc/DSDT.hpbrroot",
|
||||
"tests/data/acpi/pc/DSDT.ipmikcs",
|
||||
"tests/data/acpi/pc/DSDT.memhp",
|
||||
"tests/data/acpi/pc/DSDT.numamem",
|
||||
"tests/data/acpi/pc/DSDT.roothp",
|
||||
"tests/data/acpi/q35/DSDT",
|
||||
"tests/data/acpi/q35/DSDT.acpierst",
|
||||
"tests/data/acpi/q35/DSDT.acpihmat",
|
||||
"tests/data/acpi/q35/DSDT.applesmc",
|
||||
"tests/data/acpi/q35/DSDT.bridge",
|
||||
"tests/data/acpi/q35/DSDT.cphp",
|
||||
"tests/data/acpi/q35/DSDT.cxl",
|
||||
"tests/data/acpi/q35/DSDT.dimmpxm",
|
||||
"tests/data/acpi/q35/DSDT.ipmibt",
|
||||
"tests/data/acpi/q35/DSDT.ipmismbus",
|
||||
"tests/data/acpi/q35/DSDT.ivrs",
|
||||
"tests/data/acpi/q35/DSDT.memhp",
|
||||
"tests/data/acpi/q35/DSDT.mmio64",
|
||||
"tests/data/acpi/q35/DSDT.multi-bridge",
|
||||
"tests/data/acpi/q35/DSDT.numamem",
|
||||
"tests/data/acpi/q35/DSDT.pvpanic-isa",
|
||||
"tests/data/acpi/q35/DSDT.tis.tpm12",
|
||||
"tests/data/acpi/q35/DSDT.tis.tpm2",
|
||||
"tests/data/acpi/q35/DSDT.viot",
|
||||
"tests/data/acpi/q35/DSDT.xapic",
|
||||
"tests/data/acpi/q35/DSDT.nohpet",
|
||||
"tests/data/acpi/pc/DSDT.nohpet",
|
||||
|
|
Loading…
Reference in New Issue