u-boot/arch/x86/lib
Saket Sinha 867bcb63e7 x86: Generate a valid ACPI table
Implement write_acpi_table() to create a minimal working ACPI table.
This includes writing FACS, XSDT, RSDP, FADT, MCFG, MADT, DSDT & SSDT
ACPI table entries.

Use a Kconfig option GENERATE_ACPI_TABLE to tell U-Boot whether we need
actually write the APCI table just like we did for PIRQ routing, MP table
and SFI tables. With ACPI table existence, linux kernel gets control of
power management, thermal management, configuration management and
monitoring in hardware.

Signed-off-by: Saket Sinha <saket.sinha89@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tidied up whitespace and aligned some tabs:
Signed-off-by: Simon Glass <sjg@chromium.org>
2015-08-26 07:54:13 -07:00
..
efi x86: Add helper code for running from EFI 2015-08-05 08:44:08 -06:00
fsp x86: fsp: Add comments about U-Boot entering start.S twice 2015-08-26 07:54:11 -07:00
acpi_table.c x86: Generate a valid ACPI table 2015-08-26 07:54:13 -07:00
asm-offsets.c x86: Add support for passing tables into U-Boot 2015-08-05 08:44:07 -06:00
bios.c x86: Tidy up VESA mode numbers 2015-01-13 07:24:59 -08:00
bios.h x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
bios_asm.S x86: bios: Synchronize stack between real and protected mode 2015-07-14 18:03:18 -06:00
bios_interrupts.c x86: bios: Allow pci config read/write to host bridge in int1a_handler 2015-07-14 18:03:18 -06:00
bootm.c x86: Handle running as EFI payload 2015-08-05 08:44:08 -06:00
cmd_boot.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cmd_hob.c x86: Move common FSP code into a common location 2015-02-05 22:16:43 -07:00
cmd_mtrr.c x86: cmd_mtrr: Improve MTRR list information 2015-07-14 18:03:18 -06:00
gcc.c x86: Support tracing function 2013-06-26 10:18:56 -04:00
init_helpers.c x86: Remove calculate_relocation_address() 2015-08-26 07:54:07 -07:00
interrupts.c x86: Fix out of bounds irq handlers access 2015-01-23 17:24:54 -07:00
lpc-uclass.c x86: Add some missing global_data declarations in files that use gd 2015-08-05 08:42:41 -06:00
Makefile x86: Generate a valid ACPI table 2015-08-26 07:54:13 -07:00
mpspec.c x86: mpspec: Move writing ISA interrupt entry after PCI 2015-07-28 10:36:24 -06:00
pcat_interrupts.c x86: Refactor interrupt_init() 2014-11-25 06:34:02 -07:00
pcat_timer.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pch-uclass.c x86: Add some missing global_data declarations in files that use gd 2015-08-05 08:42:41 -06:00
pci_type1.c x86: Define macros for pci configuration space access 2015-02-06 12:07:40 -07:00
physmem.c x86: Move paging functions into cpu.c 2014-10-28 20:42:51 -06:00
pirq_routing.c x86: pci: Assign pci irqs to all functions 2015-07-28 10:36:22 -06:00
ramtest.c x86: ivybridge: Implement SDRAM init 2014-11-21 07:34:15 +01:00
relocate.c x86: Allow relocation code to build without text base 2015-08-05 08:44:06 -06:00
sfi.c x86: Add support for the Simple Firmware Interface (SFI) 2015-04-29 21:02:33 -06:00
string.c Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
tables.c x86: Generate a valid ACPI table 2015-08-26 07:54:13 -07:00
tsc_timer.c x86: Add a 'pause' instruction in __udelay() for QEMU target 2015-08-05 08:42:38 -06:00
zimage.c x86: Reserve PCIe ECAM address range in the E820 table 2015-07-28 10:36:25 -06:00