diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-10-26 20:42:08 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2015-05-26 10:32:42 +0200 |
commit | 351fefc452ed70fe53ea84cb91a50bfb7abc6c0a (patch) | |
tree | a629057d22b8011c7db1c3d4848b76d25d293912 /src/arch/x86/boot/tables.c | |
parent | 61bb37e2054549b96986c5142aaa680ac311e4bf (diff) | |
download | coreboot-351fefc452ed70fe53ea84cb91a50bfb7abc6c0a.tar.xz |
ACPI: slic support
Export SLIC table from file in CBFS.
Change-Id: Id0e7fe0a49b9cd50b5e43cd15030e1c2098728ec
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/7202
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/arch/x86/boot/tables.c')
-rw-r--r-- | src/arch/x86/boot/tables.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/boot/tables.c b/src/arch/x86/boot/tables.c index ca98faa103..3d645633f0 100644 --- a/src/arch/x86/boot/tables.c +++ b/src/arch/x86/boot/tables.c @@ -147,9 +147,9 @@ void write_tables(void) acpi_rsdp_t *low_rsdp = (acpi_rsdp_t *)rom_table_end, *high_rsdp = (acpi_rsdp_t *)acpi_start; - acpi_write_rsdp(low_rsdp, - (acpi_rsdt_t *)(high_rsdp->rsdt_address), - (acpi_xsdt_t *)((unsigned long)high_rsdp->xsdt_address)); + /* Technically rsdp length varies but coreboot always + writes longest size available. */ + memcpy(low_rsdp, high_rsdp, sizeof(acpi_rsdp_t)); } else { printk(BIOS_ERR, "ERROR: Didn't find RSDP in high table.\n"); } |