diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-08-30 19:28:05 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-09-05 22:53:26 +0200 |
commit | 2d7bd8a6ebf6844b0cdef80eaaef69f39d08f076 (patch) | |
tree | 25f26fae4b5518cab0c4b63fe7e7ccc3837054cb /src/arch/x86/include | |
parent | a2a906e47a87acc3acdca0ee2790ff96409b9b46 (diff) | |
download | coreboot-2d7bd8a6ebf6844b0cdef80eaaef69f39d08f076.tar.xz |
Implement ACPI in a per device way
This approach avoids having same basic tables 150-lines mantra over 100 times
in codebase.
Change-Id: I76fb2fbcb9ca0654f2e5fd5d90bd62392165777c
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/6801
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r-- | src/arch/x86/include/arch/acpi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h index 9039a90201..4adf89e3f8 100644 --- a/src/arch/x86/include/arch/acpi.h +++ b/src/arch/x86/include/arch/acpi.h @@ -490,8 +490,10 @@ unsigned long acpi_fill_madt(unsigned long current); unsigned long acpi_fill_mcfg(unsigned long current); unsigned long acpi_fill_srat(unsigned long current); unsigned long acpi_fill_slit(unsigned long current); +#if !IS_ENABLED(CONFIG_PER_DEVICE_ACPI_TABLES) unsigned long acpi_fill_ssdt_generator(unsigned long current, const char *oem_table_id); +#endif void acpi_create_ssdt_generator(acpi_header_t *ssdt, const char *oem_table_id); void acpi_create_fadt(acpi_fadt_t *fadt,acpi_facs_t *facs, void *dsdt); @@ -526,6 +528,7 @@ void acpi_create_srat(acpi_srat_t *srat); void acpi_create_slit(acpi_slit_t *slit); void acpi_create_hpet(acpi_hpet_t *hpet); +unsigned long acpi_write_hpet(unsigned long start, acpi_rsdp_t *rsdp); void acpi_create_mcfg(acpi_mcfg_t *mcfg); |