Get rid of hard coded strings in ACPI tables
(cosmetical) Change-Id: I3e01d8fbf2d71abcfcbe47efedd2184566c91df7 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1748 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
bceaf7fea0
commit
fa66eaefc2
|
@ -41,7 +41,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt,acpi_facs_t *facs,void *dsdt){
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id,OEM_ID,6);
|
memcpy(header->oem_id,OEM_ID,6);
|
||||||
memcpy(header->oem_table_id,"COREBOOT",8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id,ASLC,4);
|
memcpy(header->asl_compiler_id,ASLC,4);
|
||||||
header->asl_compiler_revision=0;
|
header->asl_compiler_revision=0;
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt,acpi_facs_t *facs,void *dsdt){
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id,OEM_ID,6);
|
memcpy(header->oem_id,OEM_ID,6);
|
||||||
memcpy(header->oem_table_id,"COREBOOT",8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id,ASLC,4);
|
memcpy(header->asl_compiler_id,ASLC,4);
|
||||||
header->asl_compiler_revision=0;
|
header->asl_compiler_revision=0;
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 1;
|
header->revision = 1;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "AMD ", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt,acpi_facs_t *facs,void *dsdt){
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id,OEM_ID,6);
|
memcpy(header->oem_id,OEM_ID,6);
|
||||||
memcpy(header->oem_table_id,"COREBOOT",8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id,ASLC,4);
|
memcpy(header->asl_compiler_id,ASLC,4);
|
||||||
header->asl_compiler_revision=0;
|
header->asl_compiler_revision=0;
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->oem_revision = 0x20101005;
|
header->oem_revision = 0x20101005;
|
||||||
header->asl_compiler_revision = 3;
|
header->asl_compiler_revision = 3;
|
||||||
|
|
|
@ -45,7 +45,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "AMD ", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt,acpi_facs_t *facs,void *dsdt){
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id,OEM_ID,6);
|
memcpy(header->oem_id,OEM_ID,6);
|
||||||
memcpy(header->oem_table_id,"COREBOOT",8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id,ASLC,4);
|
memcpy(header->asl_compiler_id,ASLC,4);
|
||||||
header->asl_compiler_revision=0;
|
header->asl_compiler_revision=0;
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt,acpi_facs_t *facs,void *dsdt){
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id,OEM_ID,6);
|
memcpy(header->oem_id,OEM_ID,6);
|
||||||
memcpy(header->oem_table_id,"COREBOOT",8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id,ASLC,4);
|
memcpy(header->asl_compiler_id,ASLC,4);
|
||||||
header->asl_compiler_revision=0;
|
header->asl_compiler_revision=0;
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = sizeof(acpi_fadt_t);
|
header->length = sizeof(acpi_fadt_t);
|
||||||
header->revision = ACPI_FADT_REV_ACPI_3_0;
|
header->revision = ACPI_FADT_REV_ACPI_3_0;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
header->length = 244;
|
header->length = 244;
|
||||||
header->revision = 3;
|
header->revision = 3;
|
||||||
memcpy(header->oem_id, OEM_ID, 6);
|
memcpy(header->oem_id, OEM_ID, 6);
|
||||||
memcpy(header->oem_table_id, "COREBOOT", 8);
|
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
|
||||||
memcpy(header->asl_compiler_id, ASLC, 4);
|
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||||
header->asl_compiler_revision = 0;
|
header->asl_compiler_revision = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue