4b1f88820f
Add support for testing the fields OEM ID and OEM TABLE ID in all ACPI tables for PC,Q35,MICROVM,AARCH64 Full diff of changed files disassembly: Table tests/data/acpi/virt/FACP diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/FACP, Mon Jan 18 23:55:00 2021 + * Disassembly of /tmp/aml-VQIIX0, Mon Jan 18 23:55:00 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 0000010C [008h 0008 1] Revision : 05 -[009h 0009 1] Checksum : BB +[009h 0009 1] Checksum : 55 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/APIC diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/APIC, Mon Jan 18 23:55:00 2021 + * Disassembly of /tmp/aml-BQIIX0, Mon Jan 18 23:55:00 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 000000A8 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : B3 +[009h 0009 1] Checksum : 50 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/GTDT diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/GTDT, Mon Jan 18 23:55:00 2021 + * Disassembly of /tmp/aml-QQIIX0, Mon Jan 18 23:55:00 2021 * * ACPI Data Table [GTDT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "GTDT" [Generic Timer Description Table] [004h 0004 4] Table Length : 00000060 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : D9 +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCGTDT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/MCFG diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/MCFG, Mon Jan 18 23:55:00 2021 + * Disassembly of /tmp/aml-OQIIX0, Mon Jan 18 23:55:00 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 4F +[009h 0009 1] Checksum : EC [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/SPCR diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/SPCR, Mon Jan 18 23:55:00 2021 + * Disassembly of /tmp/aml-EMIIX0, Mon Jan 18 23:55:00 2021 * * ACPI Data Table [SPCR] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SPCR" [Serial Port Console Redirection table] [004h 0004 4] Table Length : 00000050 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : 13 +[009h 0009 1] Checksum : CB [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSPCR" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/DSDT diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/virt/DSDT, Mon Jan 18 23:55:00 2021 + * Disassembly of /tmp/aml-RMIIX0, Mon Jan 18 23:55:00 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00001454 (5204) * Revision 0x02 - * Checksum 0x60 + * Checksum 0x0F * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC ", 0x00000001) { Scope (\_SB) { Table tests/data/acpi/virt/FACP.numamem diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/FACP.numamem, Mon Jan 18 23:55:27 2021 + * Disassembly of /tmp/aml-JROMX0, Mon Jan 18 23:55:27 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 0000010C [008h 0008 1] Revision : 05 -[009h 0009 1] Checksum : BB +[009h 0009 1] Checksum : 55 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/APIC.numamem diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/APIC.numamem, Mon Jan 18 23:55:27 2021 + * Disassembly of /tmp/aml-2ROMX0, Mon Jan 18 23:55:27 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 000000A8 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : B3 +[009h 0009 1] Checksum : 50 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/GTDT.numamem diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/GTDT.numamem, Mon Jan 18 23:55:27 2021 + * Disassembly of /tmp/aml-WROMX0, Mon Jan 18 23:55:27 2021 * * ACPI Data Table [GTDT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "GTDT" [Generic Timer Description Table] [004h 0004 4] Table Length : 00000060 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : D9 +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCGTDT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/MCFG.numamem diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/MCFG.numamem, Mon Jan 18 23:55:27 2021 + * Disassembly of /tmp/aml-YOOMX0, Mon Jan 18 23:55:27 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 4F +[009h 0009 1] Checksum : EC [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/SPCR.numamem diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/SPCR.numamem, Mon Jan 18 23:55:27 2021 + * Disassembly of /tmp/aml-TOOMX0, Mon Jan 18 23:55:27 2021 * * ACPI Data Table [SPCR] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SPCR" [Serial Port Console Redirection table] [004h 0004 4] Table Length : 00000050 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : 13 +[009h 0009 1] Checksum : CB [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSPCR" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/SRAT.numamem diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/SRAT.numamem, Mon Jan 18 23:55:27 2021 + * Disassembly of /tmp/aml-LPOMX0, Mon Jan 18 23:55:27 2021 * * ACPI Data Table [SRAT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SRAT" [System Resource Affinity Table] [004h 0004 4] Table Length : 0000006A [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : AB +[009h 0009 1] Checksum : 65 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSRAT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/DSDT.numamem diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/virt/DSDT.numamem, Mon Jan 18 23:55:27 2021 + * Disassembly of /tmp/aml-HPOMX0, Mon Jan 18 23:55:27 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00001454 (5204) * Revision 0x02 - * Checksum 0x60 + * Checksum 0x0F * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC ", 0x00000001) { Scope (\_SB) { Table tests/data/acpi/virt/FACP.memhp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/FACP.memhp, Mon Jan 18 23:55:41 2021 + * Disassembly of /tmp/aml-OERTX0, Mon Jan 18 23:55:41 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 0000010C [008h 0008 1] Revision : 05 -[009h 0009 1] Checksum : BB +[009h 0009 1] Checksum : 55 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/APIC.memhp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/APIC.memhp, Mon Jan 18 23:55:41 2021 + * Disassembly of /tmp/aml-FERTX0, Mon Jan 18 23:55:41 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 000000A8 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : B3 +[009h 0009 1] Checksum : 50 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/GTDT.memhp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/GTDT.memhp, Mon Jan 18 23:55:41 2021 + * Disassembly of /tmp/aml-BERTX0, Mon Jan 18 23:55:41 2021 * * ACPI Data Table [GTDT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "GTDT" [Generic Timer Description Table] [004h 0004 4] Table Length : 00000060 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : D9 +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCGTDT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/MCFG.memhp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/MCFG.memhp, Mon Jan 18 23:55:41 2021 + * Disassembly of /tmp/aml-8DRTX0, Mon Jan 18 23:55:41 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 4F +[009h 0009 1] Checksum : EC [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/SPCR.memhp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/SPCR.memhp, Mon Jan 18 23:55:41 2021 + * Disassembly of /tmp/aml-IN6NX0, Mon Jan 18 23:55:41 2021 * * ACPI Data Table [SPCR] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SPCR" [Serial Port Console Redirection table] [004h 0004 4] Table Length : 00000050 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : 13 +[009h 0009 1] Checksum : CB [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSPCR" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/SRAT.memhp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/SRAT.memhp, Mon Jan 18 23:55:41 2021 + * Disassembly of /tmp/aml-FN6NX0, Mon Jan 18 23:55:41 2021 * * ACPI Data Table [SRAT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SRAT" [System Resource Affinity Table] [004h 0004 4] Table Length : 000000E2 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : 5C +[009h 0009 1] Checksum : 16 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSRAT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/SLIT.memhp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/SLIT.memhp, Mon Jan 18 23:55:41 2021 + * Disassembly of /tmp/aml-CN6NX0, Mon Jan 18 23:55:41 2021 * * ACPI Data Table [SLIT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SLIT" [System Locality Information Table] [004h 0004 4] Table Length : 00000030 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 2C +[009h 0009 1] Checksum : E8 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSLIT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/SSDT.memhp diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/virt/SSDT.memhp, Mon Jan 18 23:55:41 2021 + * Disassembly of /tmp/aml-9M6NX0, Mon Jan 18 23:55:41 2021 * * Original Table Header: * Signature "SSDT" * Length 0x000002E0 (736) * Revision 0x01 - * Checksum 0x3F + * Checksum 0xFF * OEM ID "BOCHS " - * OEM Table ID "NVDIMM" + * OEM Table ID "NVDIMM " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "SSDT", 1, "BOCHS ", "NVDIMM", 0x00000001) +DefinitionBlock ("", "SSDT", 1, "BOCHS ", "NVDIMM ", 0x00000001) { Scope (\_SB) { Table tests/data/acpi/virt/NFIT.memhp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/NFIT.memhp, Mon Jan 18 23:55:41 2021 + * Disassembly of /tmp/aml-6M6NX0, Mon Jan 18 23:55:41 2021 * * ACPI Data Table [NFIT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "NFIT" [NVDIMM Firmware Interface Table] [004h 0004 4] Table Length : 000000E0 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : D1 +[009h 0009 1] Checksum : 82 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCNFIT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/DSDT.memhp diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/virt/DSDT.memhp, Mon Jan 18 23:55:41 2021 + * Disassembly of /tmp/aml-3M6NX0, Mon Jan 18 23:55:41 2021 * * Original Table Header: * Signature "DSDT" * Length 0x000019A5 (6565) * Revision 0x02 - * Checksum 0x90 + * Checksum 0x3F * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC ", 0x00000001) { External (_SB_.NVDR, UnknownObj) Table tests/data/acpi/virt/FACP.pxb diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/FACP, Mon Jan 18 23:55:52 2021 + * Disassembly of /tmp/aml-206LX0, Mon Jan 18 23:55:52 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 0000010C [008h 0008 1] Revision : 05 -[009h 0009 1] Checksum : BB +[009h 0009 1] Checksum : 55 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/APIC.pxb diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/APIC, Mon Jan 18 23:55:52 2021 + * Disassembly of /tmp/aml-E16LX0, Mon Jan 18 23:55:52 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 000000A8 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : B3 +[009h 0009 1] Checksum : 50 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/GTDT.pxb diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/GTDT, Mon Jan 18 23:55:52 2021 + * Disassembly of /tmp/aml-J16LX0, Mon Jan 18 23:55:52 2021 * * ACPI Data Table [GTDT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "GTDT" [Generic Timer Description Table] [004h 0004 4] Table Length : 00000060 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : D9 +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCGTDT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/MCFG.pxb diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/MCFG, Mon Jan 18 23:55:52 2021 + * Disassembly of /tmp/aml-N16LX0, Mon Jan 18 23:55:52 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 4F +[009h 0009 1] Checksum : EC [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/SPCR.pxb diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/virt/SPCR, Mon Jan 18 23:55:52 2021 + * Disassembly of /tmp/aml-B16LX0, Mon Jan 18 23:55:52 2021 * * ACPI Data Table [SPCR] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SPCR" [Serial Port Console Redirection table] [004h 0004 4] Table Length : 00000050 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : 13 +[009h 0009 1] Checksum : CB [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSPCR" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/virt/DSDT.pxb diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/virt/DSDT.pxb, Mon Jan 18 23:55:52 2021 + * Disassembly of /tmp/aml-G16LX0, Mon Jan 18 23:55:52 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00001E09 (7689) * Revision 0x02 - * Checksum 0x30 + * Checksum 0xDF * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC ", 0x00000001) { Scope (\_SB) { Table tests/data/acpi/pc/HPET diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/HPET, Mon Jan 18 23:58:53 2021 + * Disassembly of /tmp/aml-QNVAX0, Mon Jan 18 23:58:53 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/WAET diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/WAET, Mon Jan 18 23:58:53 2021 + * Disassembly of /tmp/aml-NNVAX0, Mon Jan 18 23:58:53 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/FACP.tis diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/FACP, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-MB7EX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 000000F4 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : 1F +[009h 0009 1] Checksum : B9 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/APIC.tis diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/APIC, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-3C7EX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000078 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : ED +[009h 0009 1] Checksum : 8A [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/HPET.tis diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/HPET, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-0C7EX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/TPM2.tis diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/TPM2.tis, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-ZC7EX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [TPM2] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "TPM2" [Trusted Platform Module hardware interface table] [004h 0004 4] Table Length : 0000004C [008h 0008 1] Revision : 04 -[009h 0009 1] Checksum : 72 +[009h 0009 1] Checksum : 15 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCTPM2" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/MCFG.tis diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/MCFG, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-XC7EX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : EF +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/WAET.tis diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/WAET, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-VC7EX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/DSDT.tis diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.tis, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-RC7EX0, Mon Jan 18 23:58:55 2021 * * Original Table Header: * Signature "DSDT" * Length 0x000020D7 (8407) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xC8 + * Checksum 0x77 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { Table tests/data/acpi/q35/FACP.bridge diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/FACP, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-3N7NX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 000000F4 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : 1F +[009h 0009 1] Checksum : B9 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/APIC.bridge diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/APIC, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-WN7NX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000078 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : ED +[009h 0009 1] Checksum : 8A [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/HPET.bridge diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/HPET, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-DI7NX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/MCFG.bridge diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/MCFG, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-BI7NX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : EF +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/WAET.bridge diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/WAET, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-9H7NX0, Mon Jan 18 23:58:55 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/DSDT.bridge diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.bridge, Mon Jan 18 23:58:55 2021 + * Disassembly of /tmp/aml-6H7NX0, Mon Jan 18 23:58:55 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00001E8B (7819) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x8F + * Checksum 0x3E * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { Table tests/data/acpi/q35/FACP.mmio64 diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/FACP, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-KW0GX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 000000F4 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : 1F +[009h 0009 1] Checksum : B9 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/APIC.mmio64 diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/APIC, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-HR0GX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000078 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : ED +[009h 0009 1] Checksum : 8A [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/HPET.mmio64 diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/HPET, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-LR0GX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/SRAT.mmio64 diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/SRAT.mmio64, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-OR0GX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [SRAT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SRAT" [System Resource Affinity Table] [004h 0004 4] Table Length : 000000E0 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 3B +[009h 0009 1] Checksum : F5 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSRAT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/MCFG.mmio64 diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/MCFG, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-TR0GX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : EF +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/WAET.mmio64 diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/WAET, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-ZR0GX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/DSDT.mmio64 diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.mmio64, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-7R0GX0, Mon Jan 18 23:58:56 2021 * * Original Table Header: * Signature "DSDT" * Length 0x000022E4 (8932) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x9D + * Checksum 0x4C * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { Table tests/data/acpi/q35/FACP.ipmibt diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/FACP, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-VVX8W0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 000000F4 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : 1F +[009h 0009 1] Checksum : B9 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/APIC.ipmibt diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/APIC, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-GUX8W0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000078 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : ED +[009h 0009 1] Checksum : 8A [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/HPET.ipmibt diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/HPET, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-LUX8W0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/MCFG.ipmibt diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/MCFG, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-QUX8W0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : EF +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/WAET.ipmibt diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/WAET, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-VUX8W0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/DSDT.ipmibt diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.ipmibt, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-3UX8W0, Mon Jan 18 23:58:56 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00001EC4 (7876) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x2A + * Checksum 0xD9 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { Table tests/data/acpi/q35/FACP.cphp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/FACP, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-2HJNX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 000000F4 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : 1F +[009h 0009 1] Checksum : B9 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/APIC.cphp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/APIC.cphp, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-ARJNX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 000000A0 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 7B +[009h 0009 1] Checksum : 18 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/HPET.cphp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/HPET, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-ERJNX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/SRAT.cphp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/SRAT.cphp, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-IRJNX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [SRAT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SRAT" [System Resource Affinity Table] [004h 0004 4] Table Length : 00000130 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 36 +[009h 0009 1] Checksum : F0 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSRAT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/SLIT.cphp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/SLIT.cphp, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-MRJNX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [SLIT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SLIT" [System Locality Information Table] [004h 0004 4] Table Length : 00000030 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 2C +[009h 0009 1] Checksum : E8 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSLIT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/MCFG.cphp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/MCFG, Mon Jan 18 23:58:56 2021 + * Disassembly of /tmp/aml-PRJNX0, Mon Jan 18 23:58:56 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : EF +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/WAET.cphp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/WAET, Mon Jan 18 23:58:57 2021 + * Disassembly of /tmp/aml-TRJNX0, Mon Jan 18 23:58:57 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/DSDT.cphp diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.cphp, Mon Jan 18 23:58:57 2021 + * Disassembly of /tmp/aml-2RJNX0, Mon Jan 18 23:58:57 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00002049 (8265) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x5A + * Checksum 0x09 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { Table tests/data/acpi/q35/HPET.memhp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/HPET, Mon Jan 18 23:58:57 2021 + * Disassembly of /tmp/aml-V1NBX0, Mon Jan 18 23:58:57 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/WAET.memhp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/WAET, Mon Jan 18 23:58:57 2021 + * Disassembly of /tmp/aml-B2NBX0, Mon Jan 18 23:58:57 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/HPET.numamem diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/HPET, Mon Jan 18 23:58:57 2021 + * Disassembly of /tmp/aml-BJ6PX0, Mon Jan 18 23:58:57 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/WAET.numamem diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/WAET, Mon Jan 18 23:58:57 2021 + * Disassembly of /tmp/aml-UH6PX0, Mon Jan 18 23:58:57 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/FACP.dimmpxm diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/FACP, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-ITDEX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 000000F4 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : 1F +[009h 0009 1] Checksum : B9 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/APIC.dimmpxm diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/APIC.dimmpxm, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-STDEX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000090 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : AE +[009h 0009 1] Checksum : 4B [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/HPET.dimmpxm diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/HPET, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-WTDEX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/SRAT.dimmpxm diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/SRAT.dimmpxm, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-XTJEX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [SRAT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SRAT" [System Resource Affinity Table] [004h 0004 4] Table Length : 00000188 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 68 +[009h 0009 1] Checksum : 22 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSRAT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/MCFG.dimmpxm diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/MCFG, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-0TDEX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : EF +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/SSDT.dimmpxm diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/SSDT.dimmpxm, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-8TDEX0, Mon Jan 18 23:58:58 2021 * * Original Table Header: * Signature "SSDT" * Length 0x000002DE (734) * Revision 0x01 - * Checksum 0x46 + * Checksum 0x06 * OEM ID "BOCHS " - * OEM Table ID "NVDIMM" + * OEM Table ID "NVDIMM " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "SSDT", 1, "BOCHS ", "NVDIMM", 0x00000001) +DefinitionBlock ("", "SSDT", 1, "BOCHS ", "NVDIMM ", 0x00000001) { Scope (\_SB) { Table tests/data/acpi/q35/NFIT.dimmpxm diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/NFIT.dimmpxm, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-9VDEX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [NFIT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "NFIT" [NVDIMM Firmware Interface Table] [004h 0004 4] Table Length : 000000F0 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 24 +[009h 0009 1] Checksum : D5 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCNFIT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/WAET.dimmpxm diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/WAET, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-DWDEX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/DSDT.dimmpxm diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.dimmpxm, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-IWDEX0, Mon Jan 18 23:58:58 2021 * * Original Table Header: * Signature "DSDT" * Length 0x000024EF (9455) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x26 + * Checksum 0xD5 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { External (_SB_.NVDR, UnknownObj) Table tests/data/acpi/q35/FACP.acpihmat diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/FACP, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-OKSOX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 000000F4 [008h 0008 1] Revision : 03 -[009h 0009 1] Checksum : 1F +[009h 0009 1] Checksum : B9 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/APIC.acpihmat diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/APIC.acpihmat, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-0KSOX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000080 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : DA +[009h 0009 1] Checksum : 77 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/HPET.acpihmat diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/HPET, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-5KSOX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/SRAT.acpihmat diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/SRAT.acpihmat, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-9KSOX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [SRAT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "SRAT" [System Resource Affinity Table] [004h 0004 4] Table Length : 00000118 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : C0 +[009h 0009 1] Checksum : 7A [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCSRAT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/HMAT.acpihmat diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/HMAT.acpihmat, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-ALYOX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [HMAT] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HMAT" [Heterogeneous Memory Attributes Table] [004h 0004 4] Table Length : 00000118 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : 98 +[009h 0009 1] Checksum : 42 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHMAT" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/MCFG.acpihmat diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/MCFG, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-ELSOX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [MCFG] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] [004h 0004 4] Table Length : 0000003C [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : EF +[009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCMCFG" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/WAET.acpihmat diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/q35/WAET, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-ILSOX0, Mon Jan 18 23:58:58 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/q35/DSDT.acpihmat diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/q35/DSDT.acpihmat, Mon Jan 18 23:58:58 2021 + * Disassembly of /tmp/aml-2JSOX0, Mon Jan 18 23:58:58 2021 * * Original Table Header: * Signature "DSDT" * Length 0x000023A6 (9126) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xB3 + * Checksum 0x62 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { Table tests/data/acpi/pc/FACP.ipmikcs diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/FACP, Mon Jan 18 23:58:59 2021 + * Disassembly of /tmp/aml-1HH9W0, Mon Jan 18 23:58:59 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 00000074 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : A1 +[009h 0009 1] Checksum : 3B [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/APIC.ipmikcs diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/APIC, Mon Jan 18 23:58:59 2021 + * Disassembly of /tmp/aml-GIH9W0, Mon Jan 18 23:58:59 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000078 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : ED +[009h 0009 1] Checksum : 8A [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/HPET.ipmikcs diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/HPET, Mon Jan 18 23:58:59 2021 + * Disassembly of /tmp/aml-PIH9W0, Mon Jan 18 23:58:59 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/WAET.ipmikcs diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/WAET, Mon Jan 18 23:58:59 2021 + * Disassembly of /tmp/aml-OIH9W0, Mon Jan 18 23:58:59 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/DSDT.ipmikcs diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/pc/DSDT.ipmikcs, Mon Jan 18 23:58:59 2021 + * Disassembly of /tmp/aml-9GH9W0, Mon Jan 18 23:58:59 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00001411 (5137) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x33 + * Checksum 0xE2 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { Table tests/data/acpi/pc/FACP.roothp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/FACP, Mon Jan 18 23:59:01 2021 + * Disassembly of /tmp/aml-84PIX0, Mon Jan 18 23:59:01 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 00000074 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : A1 +[009h 0009 1] Checksum : 3B [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/APIC.roothp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/APIC, Mon Jan 18 23:59:01 2021 + * Disassembly of /tmp/aml-D5PIX0, Mon Jan 18 23:59:01 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000078 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : ED +[009h 0009 1] Checksum : 8A [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/HPET.roothp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/HPET, Mon Jan 18 23:59:01 2021 + * Disassembly of /tmp/aml-P5PIX0, Mon Jan 18 23:59:01 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/WAET.roothp diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/WAET, Mon Jan 18 23:59:01 2021 + * Disassembly of /tmp/aml-N5PIX0, Mon Jan 18 23:59:01 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/DSDT.roothp diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/pc/DSDT.roothp, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-83PIX0, Mon Jan 18 23:59:02 2021 * * Original Table Header: * Signature "DSDT" * Length 0x0000148D (5261) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xC6 + * Checksum 0x75 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { Table tests/data/acpi/pc/FACP.hpbridge diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/FACP, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-2ZSAX0, Mon Jan 18 23:59:02 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 00000074 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : A1 +[009h 0009 1] Checksum : 3B [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/APIC.hpbridge diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/APIC, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-B0SAX0, Mon Jan 18 23:59:02 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000078 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : ED +[009h 0009 1] Checksum : 8A [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/HPET.hpbridge diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/HPET, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-G2SAX0, Mon Jan 18 23:59:02 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/WAET.hpbridge diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/WAET, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-F2SAX0, Mon Jan 18 23:59:02 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/DSDT.hpbridge diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/pc/DSDT.hpbridge, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-R2SAX0, Mon Jan 18 23:59:02 2021 * * Original Table Header: * Signature "DSDT" * Length 0x000013A2 (5026) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0xD9 + * Checksum 0x88 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { Table tests/data/acpi/pc/FACP.hpbrroot diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/FACP, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-D9COX0, Mon Jan 18 23:59:02 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 00000074 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : A1 +[009h 0009 1] Checksum : 3B [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/APIC.hpbrroot diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/APIC, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-K9COX0, Mon Jan 18 23:59:02 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000078 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : ED +[009h 0009 1] Checksum : 8A [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/HPET.hpbrroot diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/HPET, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-L4COX0, Mon Jan 18 23:59:02 2021 * * ACPI Data Table [HPET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "HPET" [High Precision Event Timer table] [004h 0004 4] Table Length : 00000038 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 03 +[009h 0009 1] Checksum : B4 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCHPET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/WAET.hpbrroot diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/pc/WAET, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-W4COX0, Mon Jan 18 23:59:02 2021 * * ACPI Data Table [WAET] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "WAET" [Windows ACPI Emulated Devices Table] [004h 0004 4] Table Length : 00000028 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : 88 +[009h 0009 1] Checksum : 39 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCWAET" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/pc/DSDT.hpbrroot diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/pc/DSDT.hpbrroot, Mon Jan 18 23:59:02 2021 + * Disassembly of /tmp/aml-S4COX0, Mon Jan 18 23:59:02 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00000C0C (3084) * Revision 0x01 **** 32-bit table (V1), no 64-bit math support - * Checksum 0x81 + * Checksum 0x30 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001) { Scope (\) { Table tests/data/acpi/microvm/FACP.usb diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/microvm/FACP, Mon Jan 18 23:59:03 2021 + * Disassembly of /tmp/aml-PZ3FX0, Mon Jan 18 23:59:03 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 0000010C [008h 0008 1] Revision : 05 -[009h 0009 1] Checksum : 7E +[009h 0009 1] Checksum : 18 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/microvm/APIC.usb diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/microvm/APIC, Mon Jan 18 23:59:03 2021 + * Disassembly of /tmp/aml-ZZ3FX0, Mon Jan 18 23:59:03 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000046 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : D7 +[009h 0009 1] Checksum : 74 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/microvm/DSDT.usb diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/microvm/DSDT.usb, Mon Jan 18 23:59:03 2021 + * Disassembly of /tmp/aml-XZ3FX0, Mon Jan 18 23:59:03 2021 * * Original Table Header: * Signature "DSDT" * Length 0x0000019E (414) * Revision 0x02 - * Checksum 0x72 + * Checksum 0x21 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC ", 0x00000001) { Scope (_SB) { Table tests/data/acpi/microvm/FACP.rtc diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/microvm/FACP, Mon Jan 18 23:59:03 2021 + * Disassembly of /tmp/aml-TX8BX0, Mon Jan 18 23:59:03 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 0000010C [008h 0008 1] Revision : 05 -[009h 0009 1] Checksum : 7E +[009h 0009 1] Checksum : 18 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/microvm/APIC.rtc diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/microvm/APIC, Mon Jan 18 23:59:03 2021 + * Disassembly of /tmp/aml-QS8BX0, Mon Jan 18 23:59:03 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000046 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : D7 +[009h 0009 1] Checksum : 74 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/microvm/DSDT.rtc diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/microvm/DSDT.rtc, Mon Jan 18 23:59:03 2021 + * Disassembly of /tmp/aml-4S8BX0, Mon Jan 18 23:59:03 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00000194 (404) * Revision 0x02 - * Checksum 0x30 + * Checksum 0xDF * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC ", 0x00000001) { Scope (_SB) { Table tests/data/acpi/microvm/FACP.ioapic2 diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/microvm/FACP, Mon Jan 18 23:59:03 2021 + * Disassembly of /tmp/aml-ZRMOX0, Mon Jan 18 23:59:03 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 0000010C [008h 0008 1] Revision : 05 -[009h 0009 1] Checksum : 7E +[009h 0009 1] Checksum : 18 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/microvm/APIC.ioapic2 diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/microvm/APIC.ioapic2, Mon Jan 18 23:59:03 2021 + * Disassembly of /tmp/aml-VMMOX0, Mon Jan 18 23:59:03 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 00000052 [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : E6 +[009h 0009 1] Checksum : 83 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/microvm/DSDT.ioapic2 diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/microvm/DSDT.ioapic2, Mon Jan 18 23:59:03 2021 + * Disassembly of /tmp/aml-TMMOX0, Mon Jan 18 23:59:03 2021 * * Original Table Header: * Signature "DSDT" * Length 0x0000016D (365) * Revision 0x02 - * Checksum 0x1C + * Checksum 0xCB * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC ", 0x00000001) { Scope (_SB) { Table tests/data/acpi/microvm/FACP.pcie diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/microvm/FACP, Tue Jan 19 00:03:13 2021 + * Disassembly of /tmp/aml-M6CGX0, Tue Jan 19 00:03:13 2021 * * ACPI Data Table [FACP] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)] [004h 0004 4] Table Length : 0000010C [008h 0008 1] Revision : 05 -[009h 0009 1] Checksum : 7E +[009h 0009 1] Checksum : 18 [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCFACP" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/microvm/APIC.pcie diff: @@ -3,7 +3,7 @@ * AML/ASL+ Disassembler version 20200326 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * - * Disassembly of tests/data/acpi/microvm/APIC.pcie, Tue Jan 19 00:03:13 2021 + * Disassembly of /tmp/aml-V6CGX0, Tue Jan 19 00:03:13 2021 * * ACPI Data Table [APIC] * @@ -13,9 +13,9 @@ [000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 4] Table Length : 0000006E [008h 0008 1] Revision : 01 -[009h 0009 1] Checksum : DF +[009h 0009 1] Checksum : 7C [00Ah 0010 6] Oem ID : "BOCHS " -[010h 0016 8] Oem Table ID : "BXPCAPIC" +[010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 [01Ch 0028 4] Asl Compiler ID : "BXPC" [020h 0032 4] Asl Compiler Revision : 00000001 Table tests/data/acpi/microvm/DSDT.pcie diff: @@ -5,20 +5,20 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of tests/data/acpi/microvm/DSDT.pcie, Tue Jan 19 00:03:13 2021 + * Disassembly of /tmp/aml-16CGX0, Tue Jan 19 00:03:13 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00000BD7 (3031) * Revision 0x02 - * Checksum 0x99 + * Checksum 0x48 * OEM ID "BOCHS " - * OEM Table ID "BXPCDSDT" + * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC ", 0x00000001) { Scope (_SB) { Signed-off-by: Marian Postevca <posteuca@mutex.one> Message-Id: <20210119003216.17637-4-posteuca@mutex.one> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1471 lines
46 KiB
C
1471 lines
46 KiB
C
/*
|
|
* Boot order test cases.
|
|
*
|
|
* Copyright (c) 2013 Red Hat Inc.
|
|
*
|
|
* Authors:
|
|
* Michael S. Tsirkin <mst@redhat.com>,
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
/*
|
|
* How to add or update the tests or commit changes that affect ACPI tables:
|
|
* Contributor:
|
|
* 1. add empty files for new tables, if any, under tests/data/acpi
|
|
* 2. list any changed files in tests/qtest/bios-tables-test-allowed-diff.h
|
|
* 3. commit the above *before* making changes that affect the tables
|
|
*
|
|
* Contributor or ACPI Maintainer (steps 4-7 need to be redone to resolve conflicts
|
|
* in binary commit created in step 6):
|
|
*
|
|
* After 1-3 above tests will pass but ignore differences with the expected files.
|
|
* You will also notice that tests/qtest/bios-tables-test-allowed-diff.h lists
|
|
* a bunch of files. This is your hint that you need to do the below:
|
|
* 4. Run
|
|
* make check V=1
|
|
* this will produce a bunch of warnings about differences
|
|
* beween actual and expected ACPI tables. If you have IASL installed,
|
|
* they will also be disassembled so you can look at the disassembled
|
|
* output. If not - disassemble them yourself in any way you like.
|
|
* Look at the differences - make sure they make sense and match what the
|
|
* changes you are merging are supposed to do.
|
|
* Save the changes, preferably in form of ASL diff for the commit log in
|
|
* step 6.
|
|
*
|
|
* 5. From build directory, run:
|
|
* $(SRC_PATH)/tests/data/acpi/rebuild-expected-aml.sh
|
|
* 6. Now commit any changes to the expected binary, include diff from step 4
|
|
* in commit log.
|
|
* Expected binary updates needs to be a separate patch from the code that
|
|
* introduces changes to ACPI tables. It lets the maintainer drop
|
|
* and regenerate binary updates in case of merge conflicts. Further, a code
|
|
* change is easily reviewable but a binary blob is not (without doing a
|
|
* disassembly).
|
|
* 7. Before sending patches to the list (Contributor)
|
|
* or before doing a pull request (Maintainer), make sure
|
|
* tests/qtest/bios-tables-test-allowed-diff.h is empty - this will ensure
|
|
* following changes to ACPI tables will be noticed.
|
|
*
|
|
* The resulting patchset/pull request then looks like this:
|
|
* - patch 1: list changed files in tests/qtest/bios-tables-test-allowed-diff.h.
|
|
* - patches 2 - n: real changes, may contain multiple patches.
|
|
* - patch n + 1: update golden master binaries and empty
|
|
* tests/qtest/bios-tables-test-allowed-diff.h
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include <glib/gstdio.h>
|
|
#include "qemu-common.h"
|
|
#include "hw/firmware/smbios.h"
|
|
#include "qemu/bitmap.h"
|
|
#include "acpi-utils.h"
|
|
#include "boot-sector.h"
|
|
#include "tpm-emu.h"
|
|
#include "hw/acpi/tpm.h"
|
|
#include "qemu/cutils.h"
|
|
|
|
#define MACHINE_PC "pc"
|
|
#define MACHINE_Q35 "q35"
|
|
|
|
#define ACPI_REBUILD_EXPECTED_AML "TEST_ACPI_REBUILD_AML"
|
|
|
|
#define OEM_ID "TEST"
|
|
#define OEM_TABLE_ID "OEM"
|
|
#define OEM_TEST_ARGS "-machine oem-id="OEM_ID",oem-table-id="OEM_TABLE_ID
|
|
|
|
typedef struct {
|
|
bool tcg_only;
|
|
const char *machine;
|
|
const char *variant;
|
|
const char *uefi_fl1;
|
|
const char *uefi_fl2;
|
|
const char *blkdev;
|
|
const char *cd;
|
|
const uint64_t ram_start;
|
|
const uint64_t scan_len;
|
|
uint64_t rsdp_addr;
|
|
uint8_t rsdp_table[36 /* ACPI 2.0+ RSDP size */];
|
|
GArray *tables;
|
|
uint32_t smbios_ep_addr;
|
|
struct smbios_21_entry_point smbios_ep_table;
|
|
uint16_t smbios_cpu_max_speed;
|
|
uint16_t smbios_cpu_curr_speed;
|
|
uint8_t *required_struct_types;
|
|
int required_struct_types_len;
|
|
QTestState *qts;
|
|
} test_data;
|
|
|
|
static char disk[] = "tests/acpi-test-disk-XXXXXX";
|
|
static const char *data_dir = "tests/data/acpi";
|
|
#ifdef CONFIG_IASL
|
|
static const char *iasl = CONFIG_IASL;
|
|
#else
|
|
static const char *iasl;
|
|
#endif
|
|
|
|
static bool compare_signature(const AcpiSdtTable *sdt, const char *signature)
|
|
{
|
|
return !memcmp(sdt->aml, signature, 4);
|
|
}
|
|
|
|
static void cleanup_table_descriptor(AcpiSdtTable *table)
|
|
{
|
|
g_free(table->aml);
|
|
if (table->aml_file &&
|
|
!table->tmp_files_retain &&
|
|
g_strstr_len(table->aml_file, -1, "aml-")) {
|
|
unlink(table->aml_file);
|
|
}
|
|
g_free(table->aml_file);
|
|
g_free(table->asl);
|
|
if (table->asl_file &&
|
|
!table->tmp_files_retain) {
|
|
unlink(table->asl_file);
|
|
}
|
|
g_free(table->asl_file);
|
|
}
|
|
|
|
static void free_test_data(test_data *data)
|
|
{
|
|
int i;
|
|
|
|
if (!data->tables) {
|
|
return;
|
|
}
|
|
for (i = 0; i < data->tables->len; ++i) {
|
|
cleanup_table_descriptor(&g_array_index(data->tables, AcpiSdtTable, i));
|
|
}
|
|
|
|
g_array_free(data->tables, true);
|
|
}
|
|
|
|
static void test_acpi_rsdp_table(test_data *data)
|
|
{
|
|
uint8_t *rsdp_table = data->rsdp_table;
|
|
|
|
acpi_fetch_rsdp_table(data->qts, data->rsdp_addr, rsdp_table);
|
|
|
|
switch (rsdp_table[15 /* Revision offset */]) {
|
|
case 0: /* ACPI 1.0 RSDP */
|
|
/* With rev 1, checksum is only for the first 20 bytes */
|
|
g_assert(!acpi_calc_checksum(rsdp_table, 20));
|
|
break;
|
|
case 2: /* ACPI 2.0+ RSDP */
|
|
/* With revision 2, we have 2 checksums */
|
|
g_assert(!acpi_calc_checksum(rsdp_table, 20));
|
|
g_assert(!acpi_calc_checksum(rsdp_table, 36));
|
|
break;
|
|
default:
|
|
g_assert_not_reached();
|
|
}
|
|
}
|
|
|
|
static void test_acpi_rxsdt_table(test_data *data)
|
|
{
|
|
const char *sig = "RSDT";
|
|
AcpiSdtTable rsdt = {};
|
|
int entry_size = 4;
|
|
int addr_off = 16 /* RsdtAddress */;
|
|
uint8_t *ent;
|
|
|
|
if (data->rsdp_table[15 /* Revision offset */] != 0) {
|
|
addr_off = 24 /* XsdtAddress */;
|
|
entry_size = 8;
|
|
sig = "XSDT";
|
|
}
|
|
/* read [RX]SDT table */
|
|
acpi_fetch_table(data->qts, &rsdt.aml, &rsdt.aml_len,
|
|
&data->rsdp_table[addr_off], entry_size, sig, true);
|
|
|
|
/* Load all tables and add to test list directly RSDT referenced tables */
|
|
ACPI_FOREACH_RSDT_ENTRY(rsdt.aml, rsdt.aml_len, ent, entry_size) {
|
|
AcpiSdtTable ssdt_table = {};
|
|
|
|
acpi_fetch_table(data->qts, &ssdt_table.aml, &ssdt_table.aml_len, ent,
|
|
entry_size, NULL, true);
|
|
/* Add table to ASL test tables list */
|
|
g_array_append_val(data->tables, ssdt_table);
|
|
}
|
|
cleanup_table_descriptor(&rsdt);
|
|
}
|
|
|
|
static void test_acpi_fadt_table(test_data *data)
|
|
{
|
|
/* FADT table is 1st */
|
|
AcpiSdtTable table = g_array_index(data->tables, typeof(table), 0);
|
|
uint8_t *fadt_aml = table.aml;
|
|
uint32_t fadt_len = table.aml_len;
|
|
uint32_t val;
|
|
int dsdt_offset = 40 /* DSDT */;
|
|
int dsdt_entry_size = 4;
|
|
|
|
g_assert(compare_signature(&table, "FACP"));
|
|
|
|
/* Since DSDT/FACS isn't in RSDT, add them to ASL test list manually */
|
|
memcpy(&val, fadt_aml + 112 /* Flags */, 4);
|
|
val = le32_to_cpu(val);
|
|
if (!(val & 1UL << 20 /* HW_REDUCED_ACPI */)) {
|
|
acpi_fetch_table(data->qts, &table.aml, &table.aml_len,
|
|
fadt_aml + 36 /* FIRMWARE_CTRL */, 4, "FACS", false);
|
|
g_array_append_val(data->tables, table);
|
|
}
|
|
|
|
memcpy(&val, fadt_aml + dsdt_offset, 4);
|
|
val = le32_to_cpu(val);
|
|
if (!val) {
|
|
dsdt_offset = 140 /* X_DSDT */;
|
|
dsdt_entry_size = 8;
|
|
}
|
|
acpi_fetch_table(data->qts, &table.aml, &table.aml_len,
|
|
fadt_aml + dsdt_offset, dsdt_entry_size, "DSDT", true);
|
|
g_array_append_val(data->tables, table);
|
|
|
|
memset(fadt_aml + 36, 0, 4); /* sanitize FIRMWARE_CTRL ptr */
|
|
memset(fadt_aml + 40, 0, 4); /* sanitize DSDT ptr */
|
|
if (fadt_aml[8 /* FADT Major Version */] >= 3) {
|
|
memset(fadt_aml + 132, 0, 8); /* sanitize X_FIRMWARE_CTRL ptr */
|
|
memset(fadt_aml + 140, 0, 8); /* sanitize X_DSDT ptr */
|
|
}
|
|
|
|
/* update checksum */
|
|
fadt_aml[9 /* Checksum */] = 0;
|
|
fadt_aml[9 /* Checksum */] -= acpi_calc_checksum(fadt_aml, fadt_len);
|
|
}
|
|
|
|
static void dump_aml_files(test_data *data, bool rebuild)
|
|
{
|
|
AcpiSdtTable *sdt;
|
|
GError *error = NULL;
|
|
gchar *aml_file = NULL;
|
|
gint fd;
|
|
ssize_t ret;
|
|
int i;
|
|
|
|
for (i = 0; i < data->tables->len; ++i) {
|
|
const char *ext = data->variant ? data->variant : "";
|
|
sdt = &g_array_index(data->tables, AcpiSdtTable, i);
|
|
g_assert(sdt->aml);
|
|
|
|
if (rebuild) {
|
|
aml_file = g_strdup_printf("%s/%s/%.4s%s", data_dir, data->machine,
|
|
sdt->aml, ext);
|
|
fd = g_open(aml_file, O_WRONLY|O_TRUNC|O_CREAT,
|
|
S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH);
|
|
if (fd < 0) {
|
|
perror(aml_file);
|
|
}
|
|
g_assert(fd >= 0);
|
|
} else {
|
|
fd = g_file_open_tmp("aml-XXXXXX", &sdt->aml_file, &error);
|
|
g_assert_no_error(error);
|
|
}
|
|
|
|
ret = qemu_write_full(fd, sdt->aml, sdt->aml_len);
|
|
g_assert(ret == sdt->aml_len);
|
|
|
|
close(fd);
|
|
|
|
g_free(aml_file);
|
|
}
|
|
}
|
|
|
|
static bool load_asl(GArray *sdts, AcpiSdtTable *sdt)
|
|
{
|
|
AcpiSdtTable *temp;
|
|
GError *error = NULL;
|
|
GString *command_line = g_string_new(iasl);
|
|
gint fd;
|
|
gchar *out, *out_err;
|
|
gboolean ret;
|
|
int i;
|
|
|
|
fd = g_file_open_tmp("asl-XXXXXX.dsl", &sdt->asl_file, &error);
|
|
g_assert_no_error(error);
|
|
close(fd);
|
|
|
|
/* build command line */
|
|
g_string_append_printf(command_line, " -p %s ", sdt->asl_file);
|
|
if (compare_signature(sdt, "DSDT") ||
|
|
compare_signature(sdt, "SSDT")) {
|
|
for (i = 0; i < sdts->len; ++i) {
|
|
temp = &g_array_index(sdts, AcpiSdtTable, i);
|
|
if (compare_signature(temp, "DSDT") ||
|
|
compare_signature(temp, "SSDT")) {
|
|
g_string_append_printf(command_line, "-e %s ", temp->aml_file);
|
|
}
|
|
}
|
|
}
|
|
g_string_append_printf(command_line, "-d %s", sdt->aml_file);
|
|
|
|
/* pass 'out' and 'out_err' in order to be redirected */
|
|
ret = g_spawn_command_line_sync(command_line->str, &out, &out_err, NULL, &error);
|
|
g_assert_no_error(error);
|
|
if (ret) {
|
|
ret = g_file_get_contents(sdt->asl_file, &sdt->asl,
|
|
&sdt->asl_len, &error);
|
|
g_assert(ret);
|
|
g_assert_no_error(error);
|
|
ret = (sdt->asl_len > 0);
|
|
}
|
|
|
|
g_free(out);
|
|
g_free(out_err);
|
|
g_string_free(command_line, true);
|
|
|
|
return !ret;
|
|
}
|
|
|
|
#define COMMENT_END "*/"
|
|
#define DEF_BLOCK "DefinitionBlock ("
|
|
#define BLOCK_NAME_END ","
|
|
|
|
static GString *normalize_asl(gchar *asl_code)
|
|
{
|
|
GString *asl = g_string_new(asl_code);
|
|
gchar *comment, *block_name;
|
|
|
|
/* strip comments (different generation days) */
|
|
comment = g_strstr_len(asl->str, asl->len, COMMENT_END);
|
|
if (comment) {
|
|
comment += strlen(COMMENT_END);
|
|
while (*comment == '\n') {
|
|
comment++;
|
|
}
|
|
asl = g_string_erase(asl, 0, comment - asl->str);
|
|
}
|
|
|
|
/* strip def block name (it has file path in it) */
|
|
if (g_str_has_prefix(asl->str, DEF_BLOCK)) {
|
|
block_name = g_strstr_len(asl->str, asl->len, BLOCK_NAME_END);
|
|
g_assert(block_name);
|
|
asl = g_string_erase(asl, 0,
|
|
block_name + sizeof(BLOCK_NAME_END) - asl->str);
|
|
}
|
|
|
|
return asl;
|
|
}
|
|
|
|
static GArray *load_expected_aml(test_data *data)
|
|
{
|
|
int i;
|
|
AcpiSdtTable *sdt;
|
|
GError *error = NULL;
|
|
gboolean ret;
|
|
gsize aml_len;
|
|
|
|
GArray *exp_tables = g_array_new(false, true, sizeof(AcpiSdtTable));
|
|
if (getenv("V")) {
|
|
fputc('\n', stderr);
|
|
}
|
|
for (i = 0; i < data->tables->len; ++i) {
|
|
AcpiSdtTable exp_sdt;
|
|
gchar *aml_file = NULL;
|
|
const char *ext = data->variant ? data->variant : "";
|
|
|
|
sdt = &g_array_index(data->tables, AcpiSdtTable, i);
|
|
|
|
memset(&exp_sdt, 0, sizeof(exp_sdt));
|
|
|
|
try_again:
|
|
aml_file = g_strdup_printf("%s/%s/%.4s%s", data_dir, data->machine,
|
|
sdt->aml, ext);
|
|
if (getenv("V")) {
|
|
fprintf(stderr, "Looking for expected file '%s'\n", aml_file);
|
|
}
|
|
if (g_file_test(aml_file, G_FILE_TEST_EXISTS)) {
|
|
exp_sdt.aml_file = aml_file;
|
|
} else if (*ext != '\0') {
|
|
/* try fallback to generic (extension less) expected file */
|
|
ext = "";
|
|
g_free(aml_file);
|
|
goto try_again;
|
|
}
|
|
g_assert(exp_sdt.aml_file);
|
|
if (getenv("V")) {
|
|
fprintf(stderr, "Using expected file '%s'\n", aml_file);
|
|
}
|
|
ret = g_file_get_contents(aml_file, (gchar **)&exp_sdt.aml,
|
|
&aml_len, &error);
|
|
exp_sdt.aml_len = aml_len;
|
|
g_assert(ret);
|
|
g_assert_no_error(error);
|
|
g_assert(exp_sdt.aml);
|
|
if (!exp_sdt.aml_len) {
|
|
fprintf(stderr, "Warning! zero length expected file '%s'\n",
|
|
aml_file);
|
|
}
|
|
|
|
g_array_append_val(exp_tables, exp_sdt);
|
|
}
|
|
|
|
return exp_tables;
|
|
}
|
|
|
|
static bool test_acpi_find_diff_allowed(AcpiSdtTable *sdt)
|
|
{
|
|
const gchar *allowed_diff_file[] = {
|
|
#include "bios-tables-test-allowed-diff.h"
|
|
NULL
|
|
};
|
|
const gchar **f;
|
|
|
|
for (f = allowed_diff_file; *f; ++f) {
|
|
if (!g_strcmp0(sdt->aml_file, *f)) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
/* test the list of tables in @data->tables against reference tables */
|
|
static void test_acpi_asl(test_data *data)
|
|
{
|
|
int i;
|
|
AcpiSdtTable *sdt, *exp_sdt;
|
|
test_data exp_data;
|
|
gboolean exp_err, err, all_tables_match = true;
|
|
|
|
memset(&exp_data, 0, sizeof(exp_data));
|
|
exp_data.tables = load_expected_aml(data);
|
|
dump_aml_files(data, false);
|
|
for (i = 0; i < data->tables->len; ++i) {
|
|
GString *asl, *exp_asl;
|
|
|
|
sdt = &g_array_index(data->tables, AcpiSdtTable, i);
|
|
exp_sdt = &g_array_index(exp_data.tables, AcpiSdtTable, i);
|
|
|
|
if (sdt->aml_len == exp_sdt->aml_len &&
|
|
!memcmp(sdt->aml, exp_sdt->aml, sdt->aml_len)) {
|
|
/* Identical table binaries: no need to disassemble. */
|
|
continue;
|
|
}
|
|
|
|
fprintf(stderr,
|
|
"acpi-test: Warning! %.4s binary file mismatch. "
|
|
"Actual [aml:%s], Expected [aml:%s].\n"
|
|
"See source file tests/qtest/bios-tables-test.c "
|
|
"for instructions on how to update expected files.\n",
|
|
exp_sdt->aml, sdt->aml_file, exp_sdt->aml_file);
|
|
|
|
all_tables_match = all_tables_match &&
|
|
test_acpi_find_diff_allowed(exp_sdt);
|
|
|
|
/*
|
|
* don't try to decompile if IASL isn't present, in this case user
|
|
* will just 'get binary file mismatch' warnings and test failure
|
|
*/
|
|
if (!iasl) {
|
|
continue;
|
|
}
|
|
|
|
err = load_asl(data->tables, sdt);
|
|
asl = normalize_asl(sdt->asl);
|
|
|
|
exp_err = load_asl(exp_data.tables, exp_sdt);
|
|
exp_asl = normalize_asl(exp_sdt->asl);
|
|
|
|
/* TODO: check for warnings */
|
|
g_assert(!err || exp_err);
|
|
|
|
if (g_strcmp0(asl->str, exp_asl->str)) {
|
|
sdt->tmp_files_retain = true;
|
|
if (exp_err) {
|
|
fprintf(stderr,
|
|
"Warning! iasl couldn't parse the expected aml\n");
|
|
} else {
|
|
exp_sdt->tmp_files_retain = true;
|
|
fprintf(stderr,
|
|
"acpi-test: Warning! %.4s mismatch. "
|
|
"Actual [asl:%s, aml:%s], Expected [asl:%s, aml:%s].\n",
|
|
exp_sdt->aml, sdt->asl_file, sdt->aml_file,
|
|
exp_sdt->asl_file, exp_sdt->aml_file);
|
|
fflush(stderr);
|
|
if (getenv("V")) {
|
|
const char *diff_env = getenv("DIFF");
|
|
const char *diff_cmd = diff_env ? diff_env : "diff -U 16";
|
|
char *diff = g_strdup_printf("%s %s %s", diff_cmd,
|
|
exp_sdt->asl_file, sdt->asl_file);
|
|
int out = dup(STDOUT_FILENO);
|
|
int ret G_GNUC_UNUSED;
|
|
|
|
dup2(STDERR_FILENO, STDOUT_FILENO);
|
|
ret = system(diff) ;
|
|
dup2(out, STDOUT_FILENO);
|
|
close(out);
|
|
g_free(diff);
|
|
}
|
|
}
|
|
}
|
|
g_string_free(asl, true);
|
|
g_string_free(exp_asl, true);
|
|
}
|
|
if (!iasl && !all_tables_match) {
|
|
fprintf(stderr, "to see ASL diff between mismatched files install IASL,"
|
|
" rebuild QEMU from scratch and re-run tests with V=1"
|
|
" environment variable set");
|
|
}
|
|
g_assert(all_tables_match);
|
|
|
|
free_test_data(&exp_data);
|
|
}
|
|
|
|
static bool smbios_ep_table_ok(test_data *data)
|
|
{
|
|
struct smbios_21_entry_point *ep_table = &data->smbios_ep_table;
|
|
uint32_t addr = data->smbios_ep_addr;
|
|
|
|
qtest_memread(data->qts, addr, ep_table, sizeof(*ep_table));
|
|
if (memcmp(ep_table->anchor_string, "_SM_", 4)) {
|
|
return false;
|
|
}
|
|
if (memcmp(ep_table->intermediate_anchor_string, "_DMI_", 5)) {
|
|
return false;
|
|
}
|
|
if (ep_table->structure_table_length == 0) {
|
|
return false;
|
|
}
|
|
if (ep_table->number_of_structures == 0) {
|
|
return false;
|
|
}
|
|
if (acpi_calc_checksum((uint8_t *)ep_table, sizeof *ep_table) ||
|
|
acpi_calc_checksum((uint8_t *)ep_table + 0x10,
|
|
sizeof *ep_table - 0x10)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
static void test_smbios_entry_point(test_data *data)
|
|
{
|
|
uint32_t off;
|
|
|
|
/* find smbios entry point structure */
|
|
for (off = 0xf0000; off < 0x100000; off += 0x10) {
|
|
uint8_t sig[] = "_SM_";
|
|
int i;
|
|
|
|
for (i = 0; i < sizeof sig - 1; ++i) {
|
|
sig[i] = qtest_readb(data->qts, off + i);
|
|
}
|
|
|
|
if (!memcmp(sig, "_SM_", sizeof sig)) {
|
|
/* signature match, but is this a valid entry point? */
|
|
data->smbios_ep_addr = off;
|
|
if (smbios_ep_table_ok(data)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
g_assert_cmphex(off, <, 0x100000);
|
|
}
|
|
|
|
static inline bool smbios_single_instance(uint8_t type)
|
|
{
|
|
switch (type) {
|
|
case 0:
|
|
case 1:
|
|
case 2:
|
|
case 3:
|
|
case 16:
|
|
case 32:
|
|
case 127:
|
|
return true;
|
|
default:
|
|
return false;
|
|
}
|
|
}
|
|
|
|
static bool smbios_cpu_test(test_data *data, uint32_t addr)
|
|
{
|
|
uint16_t expect_speed[2];
|
|
uint16_t real;
|
|
int offset[2];
|
|
int i;
|
|
|
|
/* Check CPU speed for backward compatibility */
|
|
offset[0] = offsetof(struct smbios_type_4, max_speed);
|
|
offset[1] = offsetof(struct smbios_type_4, current_speed);
|
|
expect_speed[0] = data->smbios_cpu_max_speed ? : 2000;
|
|
expect_speed[1] = data->smbios_cpu_curr_speed ? : 2000;
|
|
|
|
for (i = 0; i < 2; i++) {
|
|
real = qtest_readw(data->qts, addr + offset[i]);
|
|
if (real != expect_speed[i]) {
|
|
fprintf(stderr, "Unexpected SMBIOS CPU speed: real %u expect %u\n",
|
|
real, expect_speed[i]);
|
|
return false;
|
|
}
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
static void test_smbios_structs(test_data *data)
|
|
{
|
|
DECLARE_BITMAP(struct_bitmap, SMBIOS_MAX_TYPE+1) = { 0 };
|
|
struct smbios_21_entry_point *ep_table = &data->smbios_ep_table;
|
|
uint32_t addr = le32_to_cpu(ep_table->structure_table_address);
|
|
int i, len, max_len = 0;
|
|
uint8_t type, prv, crt;
|
|
|
|
/* walk the smbios tables */
|
|
for (i = 0; i < le16_to_cpu(ep_table->number_of_structures); i++) {
|
|
|
|
/* grab type and formatted area length from struct header */
|
|
type = qtest_readb(data->qts, addr);
|
|
g_assert_cmpuint(type, <=, SMBIOS_MAX_TYPE);
|
|
len = qtest_readb(data->qts, addr + 1);
|
|
|
|
/* single-instance structs must not have been encountered before */
|
|
if (smbios_single_instance(type)) {
|
|
g_assert(!test_bit(type, struct_bitmap));
|
|
}
|
|
set_bit(type, struct_bitmap);
|
|
|
|
if (type == 4) {
|
|
g_assert(smbios_cpu_test(data, addr));
|
|
}
|
|
|
|
/* seek to end of unformatted string area of this struct ("\0\0") */
|
|
prv = crt = 1;
|
|
while (prv || crt) {
|
|
prv = crt;
|
|
crt = qtest_readb(data->qts, addr + len);
|
|
len++;
|
|
}
|
|
|
|
/* keep track of max. struct size */
|
|
if (max_len < len) {
|
|
max_len = len;
|
|
g_assert_cmpuint(max_len, <=, ep_table->max_structure_size);
|
|
}
|
|
|
|
/* start of next structure */
|
|
addr += len;
|
|
}
|
|
|
|
/* total table length and max struct size must match entry point values */
|
|
g_assert_cmpuint(le16_to_cpu(ep_table->structure_table_length), ==,
|
|
addr - le32_to_cpu(ep_table->structure_table_address));
|
|
g_assert_cmpuint(le16_to_cpu(ep_table->max_structure_size), ==, max_len);
|
|
|
|
/* required struct types must all be present */
|
|
for (i = 0; i < data->required_struct_types_len; i++) {
|
|
g_assert(test_bit(data->required_struct_types[i], struct_bitmap));
|
|
}
|
|
}
|
|
|
|
static void test_acpi_load_tables(test_data *data, bool use_uefi)
|
|
{
|
|
if (use_uefi) {
|
|
g_assert(data->scan_len);
|
|
data->rsdp_addr = acpi_find_rsdp_address_uefi(data->qts,
|
|
data->ram_start, data->scan_len);
|
|
} else {
|
|
boot_sector_test(data->qts);
|
|
data->rsdp_addr = acpi_find_rsdp_address(data->qts);
|
|
g_assert_cmphex(data->rsdp_addr, <, 0x100000);
|
|
}
|
|
|
|
data->tables = g_array_new(false, true, sizeof(AcpiSdtTable));
|
|
test_acpi_rsdp_table(data);
|
|
test_acpi_rxsdt_table(data);
|
|
test_acpi_fadt_table(data);
|
|
}
|
|
|
|
static char *test_acpi_create_args(test_data *data, const char *params,
|
|
bool use_uefi)
|
|
{
|
|
char *args;
|
|
|
|
if (use_uefi) {
|
|
/*
|
|
* TODO: convert '-drive if=pflash' to new syntax (see e33763be7cd3)
|
|
* when arm/virt boad starts to support it.
|
|
*/
|
|
if (data->cd) {
|
|
args = g_strdup_printf("-machine %s %s -accel tcg "
|
|
"-nodefaults -nographic "
|
|
"-drive if=pflash,format=raw,file=%s,readonly=on "
|
|
"-drive if=pflash,format=raw,file=%s,snapshot=on -cdrom %s %s",
|
|
data->machine, data->tcg_only ? "" : "-accel kvm",
|
|
data->uefi_fl1, data->uefi_fl2, data->cd, params ? params : "");
|
|
} else {
|
|
args = g_strdup_printf("-machine %s %s -accel tcg "
|
|
"-nodefaults -nographic "
|
|
"-drive if=pflash,format=raw,file=%s,readonly=on "
|
|
"-drive if=pflash,format=raw,file=%s,snapshot=on %s",
|
|
data->machine, data->tcg_only ? "" : "-accel kvm",
|
|
data->uefi_fl1, data->uefi_fl2, params ? params : "");
|
|
}
|
|
} else {
|
|
args = g_strdup_printf("-machine %s %s -accel tcg "
|
|
"-net none -display none %s "
|
|
"-drive id=hd0,if=none,file=%s,format=raw "
|
|
"-device %s,drive=hd0 ",
|
|
data->machine, data->tcg_only ? "" : "-accel kvm",
|
|
params ? params : "", disk,
|
|
data->blkdev ?: "ide-hd");
|
|
}
|
|
return args;
|
|
}
|
|
|
|
static void test_acpi_one(const char *params, test_data *data)
|
|
{
|
|
char *args;
|
|
bool use_uefi = data->uefi_fl1 && data->uefi_fl2;
|
|
|
|
#ifndef CONFIG_TCG
|
|
if (data->tcg_only) {
|
|
g_test_skip("TCG disabled, skipping ACPI tcg_only test");
|
|
return;
|
|
}
|
|
#endif /* CONFIG_TCG */
|
|
|
|
args = test_acpi_create_args(data, params, use_uefi);
|
|
data->qts = qtest_init(args);
|
|
test_acpi_load_tables(data, use_uefi);
|
|
|
|
if (getenv(ACPI_REBUILD_EXPECTED_AML)) {
|
|
dump_aml_files(data, true);
|
|
} else {
|
|
test_acpi_asl(data);
|
|
}
|
|
|
|
/*
|
|
* TODO: make SMBIOS tests work with UEFI firmware,
|
|
* Bug on uefi-test-tools to provide entry point:
|
|
* https://bugs.launchpad.net/qemu/+bug/1821884
|
|
*/
|
|
if (!use_uefi) {
|
|
test_smbios_entry_point(data);
|
|
test_smbios_structs(data);
|
|
}
|
|
|
|
qtest_quit(data->qts);
|
|
g_free(args);
|
|
}
|
|
|
|
static uint8_t base_required_struct_types[] = {
|
|
0, 1, 3, 4, 16, 17, 19, 32, 127
|
|
};
|
|
|
|
static void test_acpi_piix4_tcg(void)
|
|
{
|
|
test_data data;
|
|
|
|
/* Supplying -machine accel argument overrides the default (qtest).
|
|
* This is to make guest actually run.
|
|
*/
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_PC;
|
|
data.required_struct_types = base_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(base_required_struct_types);
|
|
test_acpi_one(NULL, &data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_piix4_tcg_bridge(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_PC;
|
|
data.variant = ".bridge";
|
|
data.required_struct_types = base_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(base_required_struct_types);
|
|
test_acpi_one("-device pci-bridge,chassis_nr=1", &data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_piix4_no_root_hotplug(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_PC;
|
|
data.variant = ".roothp";
|
|
data.required_struct_types = base_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(base_required_struct_types);
|
|
test_acpi_one("-global PIIX4_PM.acpi-root-pci-hotplug=off "
|
|
"-device pci-bridge,chassis_nr=1", &data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_piix4_no_bridge_hotplug(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_PC;
|
|
data.variant = ".hpbridge";
|
|
data.required_struct_types = base_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(base_required_struct_types);
|
|
test_acpi_one("-global PIIX4_PM.acpi-pci-hotplug-with-bridge-support=off "
|
|
"-device pci-bridge,chassis_nr=1", &data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_piix4_no_acpi_pci_hotplug(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_PC;
|
|
data.variant = ".hpbrroot";
|
|
data.required_struct_types = base_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(base_required_struct_types);
|
|
test_acpi_one("-global PIIX4_PM.acpi-root-pci-hotplug=off "
|
|
"-global PIIX4_PM.acpi-pci-hotplug-with-bridge-support=off "
|
|
"-device pci-bridge,chassis_nr=1", &data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_q35_tcg(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_Q35;
|
|
data.required_struct_types = base_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(base_required_struct_types);
|
|
test_acpi_one(NULL, &data);
|
|
free_test_data(&data);
|
|
|
|
data.smbios_cpu_max_speed = 3000;
|
|
data.smbios_cpu_curr_speed = 2600;
|
|
test_acpi_one("-smbios type=4,max-speed=3000,current-speed=2600", &data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_q35_tcg_bridge(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_Q35;
|
|
data.variant = ".bridge";
|
|
data.required_struct_types = base_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(base_required_struct_types);
|
|
test_acpi_one("-device pci-bridge,chassis_nr=1",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_q35_tcg_mmio64(void)
|
|
{
|
|
test_data data = {
|
|
.machine = MACHINE_Q35,
|
|
.variant = ".mmio64",
|
|
.required_struct_types = base_required_struct_types,
|
|
.required_struct_types_len = ARRAY_SIZE(base_required_struct_types)
|
|
};
|
|
|
|
test_acpi_one("-m 128M,slots=1,maxmem=2G "
|
|
"-object memory-backend-ram,id=ram0,size=128M "
|
|
"-numa node,memdev=ram0 "
|
|
"-device pci-testdev,membar=2G",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_piix4_tcg_cphp(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_PC;
|
|
data.variant = ".cphp";
|
|
test_acpi_one("-smp 2,cores=3,sockets=2,maxcpus=6"
|
|
" -object memory-backend-ram,id=ram0,size=64M"
|
|
" -object memory-backend-ram,id=ram1,size=64M"
|
|
" -numa node,memdev=ram0 -numa node,memdev=ram1"
|
|
" -numa dist,src=0,dst=1,val=21",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_q35_tcg_cphp(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_Q35;
|
|
data.variant = ".cphp";
|
|
test_acpi_one(" -smp 2,cores=3,sockets=2,maxcpus=6"
|
|
" -object memory-backend-ram,id=ram0,size=64M"
|
|
" -object memory-backend-ram,id=ram1,size=64M"
|
|
" -numa node,memdev=ram0 -numa node,memdev=ram1"
|
|
" -numa dist,src=0,dst=1,val=21",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static uint8_t ipmi_required_struct_types[] = {
|
|
0, 1, 3, 4, 16, 17, 19, 32, 38, 127
|
|
};
|
|
|
|
static void test_acpi_q35_tcg_ipmi(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_Q35;
|
|
data.variant = ".ipmibt";
|
|
data.required_struct_types = ipmi_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(ipmi_required_struct_types);
|
|
test_acpi_one("-device ipmi-bmc-sim,id=bmc0"
|
|
" -device isa-ipmi-bt,bmc=bmc0",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_piix4_tcg_ipmi(void)
|
|
{
|
|
test_data data;
|
|
|
|
/* Supplying -machine accel argument overrides the default (qtest).
|
|
* This is to make guest actually run.
|
|
*/
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_PC;
|
|
data.variant = ".ipmikcs";
|
|
data.required_struct_types = ipmi_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(ipmi_required_struct_types);
|
|
test_acpi_one("-device ipmi-bmc-sim,id=bmc0"
|
|
" -device isa-ipmi-kcs,irq=0,bmc=bmc0",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_q35_tcg_memhp(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_Q35;
|
|
data.variant = ".memhp";
|
|
test_acpi_one(" -m 128,slots=3,maxmem=1G"
|
|
" -object memory-backend-ram,id=ram0,size=64M"
|
|
" -object memory-backend-ram,id=ram1,size=64M"
|
|
" -numa node,memdev=ram0 -numa node,memdev=ram1"
|
|
" -numa dist,src=0,dst=1,val=21",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_piix4_tcg_memhp(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_PC;
|
|
data.variant = ".memhp";
|
|
test_acpi_one(" -m 128,slots=3,maxmem=1G"
|
|
" -object memory-backend-ram,id=ram0,size=64M"
|
|
" -object memory-backend-ram,id=ram1,size=64M"
|
|
" -numa node,memdev=ram0 -numa node,memdev=ram1"
|
|
" -numa dist,src=0,dst=1,val=21",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_q35_tcg_numamem(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_Q35;
|
|
data.variant = ".numamem";
|
|
test_acpi_one(" -object memory-backend-ram,id=ram0,size=128M"
|
|
" -numa node -numa node,memdev=ram0", &data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_piix4_tcg_numamem(void)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_PC;
|
|
data.variant = ".numamem";
|
|
test_acpi_one(" -object memory-backend-ram,id=ram0,size=128M"
|
|
" -numa node -numa node,memdev=ram0", &data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
uint64_t tpm_tis_base_addr;
|
|
|
|
static void test_acpi_tcg_tpm(const char *machine, const char *tpm_if,
|
|
uint64_t base)
|
|
{
|
|
#ifdef CONFIG_TPM
|
|
gchar *tmp_dir_name = g_strdup_printf("qemu-test_acpi_%s_tcg_%s.XXXXXX",
|
|
machine, tpm_if);
|
|
char *tmp_path = g_dir_make_tmp(tmp_dir_name, NULL);
|
|
TestState test;
|
|
test_data data;
|
|
GThread *thread;
|
|
char *args, *variant = g_strdup_printf(".%s", tpm_if);
|
|
|
|
tpm_tis_base_addr = base;
|
|
|
|
module_call_init(MODULE_INIT_QOM);
|
|
|
|
test.addr = g_new0(SocketAddress, 1);
|
|
test.addr->type = SOCKET_ADDRESS_TYPE_UNIX;
|
|
test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL);
|
|
g_mutex_init(&test.data_mutex);
|
|
g_cond_init(&test.data_cond);
|
|
test.data_cond_signal = false;
|
|
|
|
thread = g_thread_new(NULL, tpm_emu_ctrl_thread, &test);
|
|
tpm_emu_test_wait_cond(&test);
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = machine;
|
|
data.variant = variant;
|
|
|
|
args = g_strdup_printf(
|
|
" -chardev socket,id=chr,path=%s"
|
|
" -tpmdev emulator,id=dev,chardev=chr"
|
|
" -device tpm-%s,tpmdev=dev",
|
|
test.addr->u.q_unix.path, tpm_if);
|
|
|
|
test_acpi_one(args, &data);
|
|
|
|
g_thread_join(thread);
|
|
g_unlink(test.addr->u.q_unix.path);
|
|
qapi_free_SocketAddress(test.addr);
|
|
g_rmdir(tmp_path);
|
|
g_free(variant);
|
|
g_free(tmp_path);
|
|
g_free(tmp_dir_name);
|
|
g_free(args);
|
|
free_test_data(&data);
|
|
#else
|
|
g_test_skip("TPM disabled");
|
|
#endif
|
|
}
|
|
|
|
static void test_acpi_q35_tcg_tpm_tis(void)
|
|
{
|
|
test_acpi_tcg_tpm("q35", "tis", 0xFED40000);
|
|
}
|
|
|
|
static void test_acpi_tcg_dimm_pxm(const char *machine)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = machine;
|
|
data.variant = ".dimmpxm";
|
|
test_acpi_one(" -machine nvdimm=on,nvdimm-persistence=cpu"
|
|
" -smp 4,sockets=4"
|
|
" -m 128M,slots=3,maxmem=1G"
|
|
" -object memory-backend-ram,id=ram0,size=32M"
|
|
" -object memory-backend-ram,id=ram1,size=32M"
|
|
" -object memory-backend-ram,id=ram2,size=32M"
|
|
" -object memory-backend-ram,id=ram3,size=32M"
|
|
" -numa node,memdev=ram0,nodeid=0"
|
|
" -numa node,memdev=ram1,nodeid=1"
|
|
" -numa node,memdev=ram2,nodeid=2"
|
|
" -numa node,memdev=ram3,nodeid=3"
|
|
" -numa cpu,node-id=0,socket-id=0"
|
|
" -numa cpu,node-id=1,socket-id=1"
|
|
" -numa cpu,node-id=2,socket-id=2"
|
|
" -numa cpu,node-id=3,socket-id=3"
|
|
" -object memory-backend-ram,id=ram4,size=128M"
|
|
" -object memory-backend-ram,id=nvm0,size=128M"
|
|
" -device pc-dimm,id=dimm0,memdev=ram4,node=1"
|
|
" -device nvdimm,id=dimm1,memdev=nvm0,node=2",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_q35_tcg_dimm_pxm(void)
|
|
{
|
|
test_acpi_tcg_dimm_pxm(MACHINE_Q35);
|
|
}
|
|
|
|
static void test_acpi_piix4_tcg_dimm_pxm(void)
|
|
{
|
|
test_acpi_tcg_dimm_pxm(MACHINE_PC);
|
|
}
|
|
|
|
static void test_acpi_virt_tcg_memhp(void)
|
|
{
|
|
test_data data = {
|
|
.machine = "virt",
|
|
.tcg_only = true,
|
|
.uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
|
|
.uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
|
|
.cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
|
|
.ram_start = 0x40000000ULL,
|
|
.scan_len = 256ULL * 1024 * 1024,
|
|
};
|
|
|
|
data.variant = ".memhp";
|
|
test_acpi_one(" -machine nvdimm=on"
|
|
" -cpu cortex-a57"
|
|
" -m 256M,slots=3,maxmem=1G"
|
|
" -object memory-backend-ram,id=ram0,size=128M"
|
|
" -object memory-backend-ram,id=ram1,size=128M"
|
|
" -numa node,memdev=ram0 -numa node,memdev=ram1"
|
|
" -numa dist,src=0,dst=1,val=21"
|
|
" -object memory-backend-ram,id=ram2,size=128M"
|
|
" -object memory-backend-ram,id=nvm0,size=128M"
|
|
" -device pc-dimm,id=dimm0,memdev=ram2,node=0"
|
|
" -device nvdimm,id=dimm1,memdev=nvm0,node=1",
|
|
&data);
|
|
|
|
free_test_data(&data);
|
|
|
|
}
|
|
|
|
static void test_acpi_microvm_prepare(test_data *data)
|
|
{
|
|
memset(data, 0, sizeof(*data));
|
|
data->machine = "microvm";
|
|
data->required_struct_types = NULL; /* no smbios */
|
|
data->required_struct_types_len = 0;
|
|
data->blkdev = "virtio-blk-device";
|
|
}
|
|
|
|
static void test_acpi_microvm_tcg(void)
|
|
{
|
|
test_data data;
|
|
|
|
test_acpi_microvm_prepare(&data);
|
|
test_acpi_one(" -machine microvm,acpi=on,ioapic2=off,rtc=off",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_microvm_usb_tcg(void)
|
|
{
|
|
test_data data;
|
|
|
|
test_acpi_microvm_prepare(&data);
|
|
data.variant = ".usb";
|
|
test_acpi_one(" -machine microvm,acpi=on,ioapic2=off,usb=on,rtc=off",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_microvm_rtc_tcg(void)
|
|
{
|
|
test_data data;
|
|
|
|
test_acpi_microvm_prepare(&data);
|
|
data.variant = ".rtc";
|
|
test_acpi_one(" -machine microvm,acpi=on,ioapic2=off,rtc=on",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_microvm_pcie_tcg(void)
|
|
{
|
|
test_data data;
|
|
|
|
test_acpi_microvm_prepare(&data);
|
|
data.variant = ".pcie";
|
|
data.tcg_only = true; /* need constant host-phys-bits */
|
|
test_acpi_one(" -machine microvm,acpi=on,ioapic2=off,rtc=off,pcie=on",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_microvm_ioapic2_tcg(void)
|
|
{
|
|
test_data data;
|
|
|
|
test_acpi_microvm_prepare(&data);
|
|
data.variant = ".ioapic2";
|
|
test_acpi_one(" -machine microvm,acpi=on,ioapic2=on,rtc=off",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_virt_tcg_numamem(void)
|
|
{
|
|
test_data data = {
|
|
.machine = "virt",
|
|
.tcg_only = true,
|
|
.uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
|
|
.uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
|
|
.cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
|
|
.ram_start = 0x40000000ULL,
|
|
.scan_len = 128ULL * 1024 * 1024,
|
|
};
|
|
|
|
data.variant = ".numamem";
|
|
test_acpi_one(" -cpu cortex-a57"
|
|
" -object memory-backend-ram,id=ram0,size=128M"
|
|
" -numa node,memdev=ram0",
|
|
&data);
|
|
|
|
free_test_data(&data);
|
|
|
|
}
|
|
|
|
static void test_acpi_virt_tcg_pxb(void)
|
|
{
|
|
test_data data = {
|
|
.machine = "virt",
|
|
.tcg_only = true,
|
|
.uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
|
|
.uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
|
|
.ram_start = 0x40000000ULL,
|
|
.scan_len = 128ULL * 1024 * 1024,
|
|
};
|
|
/*
|
|
* While using -cdrom, the cdrom would auto plugged into pxb-pcie,
|
|
* the reason is the bus of pxb-pcie is also root bus, it would lead
|
|
* to the error only PCI/PCIE bridge could plug onto pxb.
|
|
* Therefore,thr cdrom is defined and plugged onto the scsi controller
|
|
* to solve the conflicts.
|
|
*/
|
|
data.variant = ".pxb";
|
|
test_acpi_one(" -device pcie-root-port,chassis=1,id=pci.1"
|
|
" -device virtio-scsi-pci,id=scsi0,bus=pci.1"
|
|
" -drive file="
|
|
"tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2,"
|
|
"if=none,media=cdrom,id=drive-scsi0-0-0-1,readonly=on"
|
|
" -device scsi-cd,bus=scsi0.0,scsi-id=0,"
|
|
"drive=drive-scsi0-0-0-1,id=scsi0-0-0-1,bootindex=1"
|
|
" -cpu cortex-a57"
|
|
" -device pxb-pcie,bus_nr=128",
|
|
&data);
|
|
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_tcg_acpi_hmat(const char *machine)
|
|
{
|
|
test_data data;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = machine;
|
|
data.variant = ".acpihmat";
|
|
test_acpi_one(" -machine hmat=on"
|
|
" -smp 2,sockets=2"
|
|
" -m 128M,slots=2,maxmem=1G"
|
|
" -object memory-backend-ram,size=64M,id=m0"
|
|
" -object memory-backend-ram,size=64M,id=m1"
|
|
" -numa node,nodeid=0,memdev=m0"
|
|
" -numa node,nodeid=1,memdev=m1,initiator=0"
|
|
" -numa cpu,node-id=0,socket-id=0"
|
|
" -numa cpu,node-id=0,socket-id=1"
|
|
" -numa hmat-lb,initiator=0,target=0,hierarchy=memory,"
|
|
"data-type=access-latency,latency=1"
|
|
" -numa hmat-lb,initiator=0,target=0,hierarchy=memory,"
|
|
"data-type=access-bandwidth,bandwidth=65534M"
|
|
" -numa hmat-lb,initiator=0,target=1,hierarchy=memory,"
|
|
"data-type=access-latency,latency=65534"
|
|
" -numa hmat-lb,initiator=0,target=1,hierarchy=memory,"
|
|
"data-type=access-bandwidth,bandwidth=32767M"
|
|
" -numa hmat-cache,node-id=0,size=10K,level=1,"
|
|
"associativity=direct,policy=write-back,line=8"
|
|
" -numa hmat-cache,node-id=1,size=10K,level=1,"
|
|
"associativity=direct,policy=write-back,line=8",
|
|
&data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_acpi_q35_tcg_acpi_hmat(void)
|
|
{
|
|
test_acpi_tcg_acpi_hmat(MACHINE_Q35);
|
|
}
|
|
|
|
static void test_acpi_piix4_tcg_acpi_hmat(void)
|
|
{
|
|
test_acpi_tcg_acpi_hmat(MACHINE_PC);
|
|
}
|
|
|
|
static void test_acpi_virt_tcg(void)
|
|
{
|
|
test_data data = {
|
|
.machine = "virt",
|
|
.tcg_only = true,
|
|
.uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
|
|
.uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
|
|
.cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
|
|
.ram_start = 0x40000000ULL,
|
|
.scan_len = 128ULL * 1024 * 1024,
|
|
};
|
|
|
|
test_acpi_one("-cpu cortex-a57", &data);
|
|
free_test_data(&data);
|
|
|
|
data.smbios_cpu_max_speed = 2900;
|
|
data.smbios_cpu_curr_speed = 2700;
|
|
test_acpi_one("-cpu cortex-a57 "
|
|
"-smbios type=4,max-speed=2900,current-speed=2700", &data);
|
|
free_test_data(&data);
|
|
}
|
|
|
|
static void test_oem_fields(test_data *data)
|
|
{
|
|
int i;
|
|
char oem_id[6];
|
|
char oem_table_id[8];
|
|
|
|
strpadcpy(oem_id, sizeof oem_id, OEM_ID, ' ');
|
|
strpadcpy(oem_table_id, sizeof oem_table_id, OEM_TABLE_ID, ' ');
|
|
for (i = 0; i < data->tables->len; ++i) {
|
|
AcpiSdtTable *sdt;
|
|
|
|
sdt = &g_array_index(data->tables, AcpiSdtTable, i);
|
|
/* FACS doesn't have OEMID and OEMTABLEID fields */
|
|
if (compare_signature(sdt, "FACS")) {
|
|
continue;
|
|
}
|
|
|
|
g_assert(memcmp(sdt->aml + 10, oem_id, 6) == 0);
|
|
g_assert(memcmp(sdt->aml + 16, oem_table_id, 8) == 0);
|
|
}
|
|
}
|
|
|
|
static void test_acpi_oem_fields_pc(void)
|
|
{
|
|
test_data data;
|
|
char *args;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_PC;
|
|
data.required_struct_types = base_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(base_required_struct_types);
|
|
|
|
args = test_acpi_create_args(&data,
|
|
OEM_TEST_ARGS, false);
|
|
data.qts = qtest_init(args);
|
|
test_acpi_load_tables(&data, false);
|
|
test_oem_fields(&data);
|
|
qtest_quit(data.qts);
|
|
free_test_data(&data);
|
|
g_free(args);
|
|
}
|
|
|
|
static void test_acpi_oem_fields_q35(void)
|
|
{
|
|
test_data data;
|
|
char *args;
|
|
|
|
memset(&data, 0, sizeof(data));
|
|
data.machine = MACHINE_Q35;
|
|
data.required_struct_types = base_required_struct_types;
|
|
data.required_struct_types_len = ARRAY_SIZE(base_required_struct_types);
|
|
|
|
args = test_acpi_create_args(&data,
|
|
OEM_TEST_ARGS, false);
|
|
data.qts = qtest_init(args);
|
|
test_acpi_load_tables(&data, false);
|
|
test_oem_fields(&data);
|
|
qtest_quit(data.qts);
|
|
free_test_data(&data);
|
|
g_free(args);
|
|
}
|
|
|
|
static void test_acpi_oem_fields_microvm(void)
|
|
{
|
|
test_data data;
|
|
char *args;
|
|
|
|
test_acpi_microvm_prepare(&data);
|
|
|
|
args = test_acpi_create_args(&data,
|
|
OEM_TEST_ARGS",acpi=on", false);
|
|
data.qts = qtest_init(args);
|
|
test_acpi_load_tables(&data, false);
|
|
test_oem_fields(&data);
|
|
qtest_quit(data.qts);
|
|
free_test_data(&data);
|
|
g_free(args);
|
|
}
|
|
|
|
static void test_acpi_oem_fields_virt(void)
|
|
{
|
|
test_data data = {
|
|
.machine = "virt",
|
|
.tcg_only = true,
|
|
.uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
|
|
.uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
|
|
.cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
|
|
.ram_start = 0x40000000ULL,
|
|
.scan_len = 128ULL * 1024 * 1024,
|
|
};
|
|
char *args;
|
|
|
|
args = test_acpi_create_args(&data,
|
|
"-cpu cortex-a57 "OEM_TEST_ARGS, true);
|
|
data.qts = qtest_init(args);
|
|
test_acpi_load_tables(&data, true);
|
|
test_oem_fields(&data);
|
|
qtest_quit(data.qts);
|
|
free_test_data(&data);
|
|
g_free(args);
|
|
}
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
const char *arch = qtest_get_arch();
|
|
int ret;
|
|
|
|
g_test_init(&argc, &argv, NULL);
|
|
|
|
if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) {
|
|
ret = boot_sector_init(disk);
|
|
if (ret) {
|
|
return ret;
|
|
}
|
|
qtest_add_func("acpi/q35/oem-fields", test_acpi_oem_fields_q35);
|
|
qtest_add_func("acpi/q35/tpm-tis", test_acpi_q35_tcg_tpm_tis);
|
|
qtest_add_func("acpi/piix4", test_acpi_piix4_tcg);
|
|
qtest_add_func("acpi/oem-fields", test_acpi_oem_fields_pc);
|
|
qtest_add_func("acpi/piix4/bridge", test_acpi_piix4_tcg_bridge);
|
|
qtest_add_func("acpi/piix4/pci-hotplug/no_root_hotplug",
|
|
test_acpi_piix4_no_root_hotplug);
|
|
qtest_add_func("acpi/piix4/pci-hotplug/no_bridge_hotplug",
|
|
test_acpi_piix4_no_bridge_hotplug);
|
|
qtest_add_func("acpi/piix4/pci-hotplug/off",
|
|
test_acpi_piix4_no_acpi_pci_hotplug);
|
|
qtest_add_func("acpi/q35", test_acpi_q35_tcg);
|
|
qtest_add_func("acpi/q35/bridge", test_acpi_q35_tcg_bridge);
|
|
qtest_add_func("acpi/q35/mmio64", test_acpi_q35_tcg_mmio64);
|
|
qtest_add_func("acpi/piix4/ipmi", test_acpi_piix4_tcg_ipmi);
|
|
qtest_add_func("acpi/q35/ipmi", test_acpi_q35_tcg_ipmi);
|
|
qtest_add_func("acpi/piix4/cpuhp", test_acpi_piix4_tcg_cphp);
|
|
qtest_add_func("acpi/q35/cpuhp", test_acpi_q35_tcg_cphp);
|
|
qtest_add_func("acpi/piix4/memhp", test_acpi_piix4_tcg_memhp);
|
|
qtest_add_func("acpi/q35/memhp", test_acpi_q35_tcg_memhp);
|
|
qtest_add_func("acpi/piix4/numamem", test_acpi_piix4_tcg_numamem);
|
|
qtest_add_func("acpi/q35/numamem", test_acpi_q35_tcg_numamem);
|
|
qtest_add_func("acpi/piix4/dimmpxm", test_acpi_piix4_tcg_dimm_pxm);
|
|
qtest_add_func("acpi/q35/dimmpxm", test_acpi_q35_tcg_dimm_pxm);
|
|
qtest_add_func("acpi/piix4/acpihmat", test_acpi_piix4_tcg_acpi_hmat);
|
|
qtest_add_func("acpi/q35/acpihmat", test_acpi_q35_tcg_acpi_hmat);
|
|
qtest_add_func("acpi/microvm", test_acpi_microvm_tcg);
|
|
qtest_add_func("acpi/microvm/usb", test_acpi_microvm_usb_tcg);
|
|
qtest_add_func("acpi/microvm/rtc", test_acpi_microvm_rtc_tcg);
|
|
qtest_add_func("acpi/microvm/ioapic2", test_acpi_microvm_ioapic2_tcg);
|
|
qtest_add_func("acpi/microvm/oem-fields", test_acpi_oem_fields_microvm);
|
|
if (strcmp(arch, "x86_64") == 0) {
|
|
qtest_add_func("acpi/microvm/pcie", test_acpi_microvm_pcie_tcg);
|
|
}
|
|
} else if (strcmp(arch, "aarch64") == 0) {
|
|
qtest_add_func("acpi/virt", test_acpi_virt_tcg);
|
|
qtest_add_func("acpi/virt/numamem", test_acpi_virt_tcg_numamem);
|
|
qtest_add_func("acpi/virt/memhp", test_acpi_virt_tcg_memhp);
|
|
qtest_add_func("acpi/virt/pxb", test_acpi_virt_tcg_pxb);
|
|
qtest_add_func("acpi/virt/oem-fields", test_acpi_oem_fields_virt);
|
|
}
|
|
ret = g_test_run();
|
|
boot_sector_cleanup(disk);
|
|
return ret;
|
|
}
|