HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45786 )
Change subject: include/acpi/acpi.h: Add LEGACY_DSDT_REV macro ......................................................................
include/acpi/acpi.h: Add LEGACY_DSDT_REV macro
Change-Id: Ie044f786e5deae3a1317091de67dc03c74531bfb Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/include/acpi/acpi.h M src/mainboard/emulation/qemu-i440fx/dsdt.asl M src/mainboard/emulation/qemu-q35/dsdt.asl 3 files changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/45786/1
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index d190344..50d8d70 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -42,6 +42,7 @@ #define ACPI_TABLE_CREATOR "COREBOOT" /* Must be exactly 8 bytes long! */ #define OEM_ID "COREv4" /* Must be exactly 6 bytes long! */ #define CURRENT_DSDT_REV 0x02 /* DSDT revision: ACPI v2.0 and greater */ +#define LEGACY_DSDT_REV 0x01 /* DSDT revision: ACPI v1 */
#if !defined(__ASSEMBLER__) && !defined(__ACPI__) #include <commonlib/helpers.h> diff --git a/src/mainboard/emulation/qemu-i440fx/dsdt.asl b/src/mainboard/emulation/qemu-i440fx/dsdt.asl index 5a341b4..4bc3df2 100644 --- a/src/mainboard/emulation/qemu-i440fx/dsdt.asl +++ b/src/mainboard/emulation/qemu-i440fx/dsdt.asl @@ -5,7 +5,7 @@ DefinitionBlock ( "dsdt.aml", // Output Filename "DSDT", // Signature - 0x01, // DSDT Compliance Revision + LEGACY_DSDT_REV, OEM_ID, ACPI_TABLE_CREATOR, 0x1 // OEM Revision diff --git a/src/mainboard/emulation/qemu-q35/dsdt.asl b/src/mainboard/emulation/qemu-q35/dsdt.asl index a9c96be..d69384c 100644 --- a/src/mainboard/emulation/qemu-q35/dsdt.asl +++ b/src/mainboard/emulation/qemu-q35/dsdt.asl @@ -9,7 +9,7 @@ DefinitionBlock ( "dsdt.aml", // Output Filename "DSDT", // Signature - 0x01, // DSDT Compliance Revision + LEGACY_DSDT_REV, OEM_ID, ACPI_TABLE_CREATOR, 0x2 // OEM Revision