HAOUAS Elyes has uploaded this change for review. ( 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 --- M src/arch/x86/acpi.c 1 file changed, 15 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/31607/1
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index f4c7d86..f8c0b48 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -217,6 +217,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);
@@ -245,6 +246,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);
@@ -298,6 +300,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);
@@ -356,6 +359,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);
@@ -475,6 +479,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);
@@ -501,6 +506,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);
@@ -634,6 +640,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);
@@ -658,6 +665,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);
@@ -691,6 +699,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);
@@ -716,6 +725,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);
@@ -767,6 +777,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); @@ -886,6 +897,7 @@ memcpy(header->oem_table_id, oem_table_id, 8); memcpy(header->asl_compiler_id, ASLC, 4);
+ ->asl_compiler_revision = asl_revision; header->length = sizeof(acpi_rsdt_t); header->revision = get_acpi_table_revision(RSDT);
@@ -905,6 +917,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);
@@ -1015,6 +1028,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);
@@ -1035,6 +1049,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);