Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/31607 )
Change subject: ACPI: Fill asl_compiler_revision field left empty ......................................................................
ACPI: Fill asl_compiler_revision field left empty
Change-Id: I1075e872e5cb1990bd330b88bb03322ab9338e86 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/31607 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Nico Huber nico.h@gmx.de --- M src/arch/x86/acpi.c 1 file changed, 15 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Nico Huber: Looks good to me, approved
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index e06c3ad..1872276 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -223,6 +223,7 @@ memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_madt_t); header->revision = get_acpi_table_revision(MADT);
@@ -251,6 +252,7 @@ memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_mcfg_t); header->revision = get_acpi_table_revision(MCFG);
@@ -304,6 +306,7 @@ memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_tcpa_t); header->revision = get_acpi_table_revision(TCPA);
@@ -362,6 +365,7 @@ memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_tpm2_t); header->revision = get_acpi_table_revision(TPM2);
@@ -481,6 +485,7 @@ memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_srat_t); header->revision = get_acpi_table_revision(SRAT);
@@ -507,6 +512,7 @@ memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_dmar_t); header->revision = get_acpi_table_revision(DMAR);
@@ -640,6 +646,7 @@ memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_slit_t); header->revision = get_acpi_table_revision(SLIT);
@@ -664,6 +671,7 @@ memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_hpet_t); header->revision = get_acpi_table_revision(HPET);
@@ -697,6 +705,7 @@ memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(struct acpi_vfct); header->revision = get_acpi_table_revision(VFCT);
@@ -722,6 +731,7 @@ memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_ivrs_t); header->revision = get_acpi_table_revision(IVRS);
@@ -773,6 +783,7 @@ memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4); + header->asl_compiler_revision = asl_revision;
/* One debug device defined */ dbg2->devices_offset = sizeof(acpi_dbg2_header_t); @@ -892,6 +903,7 @@ memcpy(header->oem_table_id, oem_table_id, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_rsdt_t); header->revision = get_acpi_table_revision(RSDT);
@@ -911,6 +923,7 @@ memcpy(header->oem_table_id, oem_table_id, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ header->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_xsdt_t); header->revision = get_acpi_table_revision(XSDT);
@@ -1021,6 +1034,7 @@ memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4); + header->asl_compiler_revision = asl_revision; header->length += sizeof(acpi_hest_t); header->revision = get_acpi_table_revision(HEST);
@@ -1041,6 +1055,7 @@ memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8); memcpy(header->asl_compiler_id, ASLC, 4); + header->asl_compiler_revision = asl_revision; header->length += sizeof(acpi_bert_t); header->revision = get_acpi_table_revision(BERT);