diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2015-08-08 23:20:58 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-08-09 06:59:32 +0200 |
commit | 133108af2550ae3f6dc6eda14c03d2e195b81240 (patch) | |
tree | 3490aad2fec833f7b35033a1b01e623442b506f2 /src/arch/x86 | |
parent | 6de27da32e100729108529e5c4824d87120522ef (diff) | |
download | coreboot-133108af2550ae3f6dc6eda14c03d2e195b81240.tar.xz |
acpi: Align FACS to 64 bytes
The spec states (5.2.10): "The BIOS aligns the FACS on a 64-byte boundary
anywhere within the system's memory address space."
Change-Id: Ie9415e505525dbdd418028d4954018c829921a18
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Found-by: fwts 15.08
Reviewed-on: http://review.coreboot.org/11141
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/acpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index 134e43782e..0439ab5188 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -815,6 +815,7 @@ unsigned long write_acpi_tables(unsigned long start) acpi_write_xsdt(xsdt, oem_id, oem_table_id); printk(BIOS_DEBUG, "ACPI: * FACS\n"); + current = (ALIGN(current, 64)); facs = (acpi_facs_t *) current; current += sizeof(acpi_facs_t); ALIGN_CURRENT; |