Alexander Couzens (lynxis@fe80.eu) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9249
-gerrit
commit 33ed6fa8d129487625314a2bcb7096fa5849ea1a Author: Alexander Couzens lynxis@fe80.eu Date: Thu Apr 2 23:20:45 2015 +0200
acpi: protect acpi generators from PRE_RAM & SMM
Change-Id: Ia2ab677848fef38976c85dda1c2773ae065856b0 Signed-off-by: Alexander Couzens lynxis@fe80.eu --- src/arch/x86/include/arch/acpi.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h index 771b51c..ad00ddc 100644 --- a/src/arch/x86/include/arch/acpi.h +++ b/src/arch/x86/include/arch/acpi.h @@ -530,9 +530,14 @@ void acpi_create_srat(acpi_srat_t *srat);
void acpi_create_slit(acpi_slit_t *slit);
+#if !defined(__PRE_RAM__) && !defined(__SMM__) && !defined(__ROMCC__) void acpi_create_hpet(acpi_hpet_t *hpet); unsigned long acpi_write_hpet(unsigned long start, acpi_rsdp_t *rsdp);
+/* cpu/intel/speedstep/acpi.c */ +void generate_cpu_entries(void); +#endif + void acpi_create_mcfg(acpi_mcfg_t *mcfg);
void acpi_create_facs(acpi_facs_t *facs); @@ -559,9 +564,6 @@ unsigned long acpi_fill_hest(acpi_hest_t *hest);
void acpi_save_gnvs(u32 gnvs_address);
-/* cpu/intel/speedstep/acpi.c */ -void generate_cpu_entries(void); - /* For ACPI S3 support. */ void acpi_fail_wakeup(void); void acpi_resume(void *wake_vec);