Use default table creator macro for all SSDTs
Change-Id: I0c138ebfdc6d4d5ae7d3512b0dd68df20485690e Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/262 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
This commit is contained in:
parent
8d427ece81
commit
a251dee1ee
|
@ -170,7 +170,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -181,7 +181,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -171,7 +171,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -247,7 +247,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * SSDT at %lx\n", current);
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -166,7 +166,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -187,7 +187,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -188,7 +188,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -194,7 +194,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ static void acpi_create_intel_hpet(acpi_hpet_t * hpet)
|
||||||
/* fill out header fields */
|
/* fill out header fields */
|
||||||
memcpy(header->signature, "HPET", 4);
|
memcpy(header->signature, "HPET", 4);
|
||||||
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->length = sizeof(acpi_hpet_t);
|
header->length = sizeof(acpi_hpet_t);
|
||||||
|
@ -251,7 +251,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
acpi_create_ssdt_generator(ssdt, "COREBOOT");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
ALIGN_CURRENT;
|
ALIGN_CURRENT;
|
||||||
|
|
|
@ -54,7 +54,7 @@ static void acpi_create_intel_hpet(acpi_hpet_t * hpet)
|
||||||
/* fill out header fields */
|
/* fill out header fields */
|
||||||
memcpy(header->signature, "HPET", 4);
|
memcpy(header->signature, "HPET", 4);
|
||||||
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->length = sizeof(acpi_hpet_t);
|
header->length = sizeof(acpi_hpet_t);
|
||||||
|
@ -239,7 +239,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ static void acpi_create_intel_hpet(acpi_hpet_t *hpet)
|
||||||
/* Fill out header fields. */
|
/* Fill out header fields. */
|
||||||
memcpy(header->signature, "HPET", 4);
|
memcpy(header->signature, "HPET", 4);
|
||||||
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->length = sizeof(acpi_hpet_t);
|
header->length = sizeof(acpi_hpet_t);
|
||||||
|
@ -257,7 +257,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *) current;
|
ssdt = (acpi_header_t *) current;
|
||||||
acpi_create_ssdt_generator(ssdt, "COREBOOT");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
ALIGN_CURRENT;
|
ALIGN_CURRENT;
|
||||||
|
|
|
@ -233,7 +233,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ static void acpi_create_intel_hpet(acpi_hpet_t * hpet)
|
||||||
/* fill out header fields */
|
/* fill out header fields */
|
||||||
memcpy(header->signature, "HPET", 4);
|
memcpy(header->signature, "HPET", 4);
|
||||||
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->length = sizeof(acpi_hpet_t);
|
header->length = sizeof(acpi_hpet_t);
|
||||||
|
@ -251,7 +251,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
acpi_create_ssdt_generator(ssdt, "COREBOOT");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
ALIGN_CURRENT;
|
ALIGN_CURRENT;
|
||||||
|
|
|
@ -149,7 +149,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ static void acpi_create_intel_hpet(acpi_hpet_t * hpet)
|
||||||
/* fill out header fields */
|
/* fill out header fields */
|
||||||
memcpy(header->signature, "HPET", 4);
|
memcpy(header->signature, "HPET", 4);
|
||||||
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->length = sizeof(acpi_hpet_t);
|
header->length = sizeof(acpi_hpet_t);
|
||||||
|
@ -287,7 +287,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
acpi_create_ssdt_generator(ssdt, "COREBOOT");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
ALIGN_CURRENT;
|
ALIGN_CURRENT;
|
||||||
|
|
|
@ -66,7 +66,7 @@ static void acpi_create_intel_hpet(acpi_hpet_t * hpet)
|
||||||
/* fill out header fields */
|
/* fill out header fields */
|
||||||
memcpy(header->signature, "HPET", 4);
|
memcpy(header->signature, "HPET", 4);
|
||||||
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->length = sizeof(acpi_hpet_t);
|
header->length = sizeof(acpi_hpet_t);
|
||||||
|
@ -287,7 +287,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
acpi_create_ssdt_generator(ssdt, "COREBOOT");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
ALIGN_CURRENT;
|
ALIGN_CURRENT;
|
||||||
|
|
|
@ -269,7 +269,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current = ALIGN(current, 16);
|
current = ALIGN(current, 16);
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT @ %p\n", ssdt);
|
printk(BIOS_DEBUG, "ACPI: * SSDT @ %p\n", ssdt);
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -198,7 +198,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ static void acpi_create_intel_hpet(acpi_hpet_t * hpet)
|
||||||
/* fill out header fields */
|
/* fill out header fields */
|
||||||
memcpy(header->signature, "HPET", 4);
|
memcpy(header->signature, "HPET", 4);
|
||||||
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->length = sizeof(acpi_hpet_t);
|
header->length = sizeof(acpi_hpet_t);
|
||||||
|
@ -287,7 +287,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
acpi_create_ssdt_generator(ssdt, "COREBOOT");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
ALIGN_CURRENT;
|
ALIGN_CURRENT;
|
||||||
|
|
|
@ -252,7 +252,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
/* SSDT */
|
/* SSDT */
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
acpi_create_ssdt_generator(ssdt, "COREBOOT");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -149,7 +149,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -149,7 +149,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
|
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -186,7 +186,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current = ALIGN(current, 16);
|
current = ALIGN(current, 16);
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT @ %p\n", ssdt);
|
printk(BIOS_DEBUG, "ACPI: * SSDT @ %p\n", ssdt);
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -186,7 +186,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current = ALIGN(current, 16);
|
current = ALIGN(current, 16);
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT @ %p\n", ssdt);
|
printk(BIOS_DEBUG, "ACPI: * SSDT @ %p\n", ssdt);
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current = ALIGN(current, 16);
|
current = ALIGN(current, 16);
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT @ %p\n", ssdt);
|
printk(BIOS_DEBUG, "ACPI: * SSDT @ %p\n", ssdt);
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ static void acpi_create_via_hpet(acpi_hpet_t * hpet)
|
||||||
/* fill out header fields */
|
/* fill out header fields */
|
||||||
memcpy(header->signature, "HPET", 4);
|
memcpy(header->signature, "HPET", 4);
|
||||||
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->length = sizeof(acpi_hpet_t);
|
header->length = sizeof(acpi_hpet_t);
|
||||||
|
|
|
@ -169,7 +169,7 @@ unsigned long __attribute__((weak)) write_acpi_tables(unsigned long start)
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
printk(BIOS_DEBUG, "ACPI: * SSDT\n");
|
||||||
ssdt = (acpi_header_t *)current;
|
ssdt = (acpi_header_t *)current;
|
||||||
acpi_create_ssdt_generator(ssdt, "DYNADATA");
|
acpi_create_ssdt_generator(ssdt, ACPI_TABLE_CREATOR);
|
||||||
current += ssdt->length;
|
current += ssdt->length;
|
||||||
acpi_add_table(rsdp, ssdt);
|
acpi_add_table(rsdp, ssdt);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue