x86: Use the ACPI table writer

Use the new ACPI writer to write the ACPI tables. At present this is all
done in one monolithic function. Future work will split this out.

Unfortunately the QFW write_acpi_tables() function conflicts with the
'writer' version, so disable that for sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2021-12-01 09:02:49 -07:00
parent cc1f8c3988
commit 31c27eb830
4 changed files with 11 additions and 22 deletions

View File

@@ -19,7 +19,7 @@
#include <asm/tables.h>
#endif
#ifdef CONFIG_GENERATE_ACPI_TABLE
#if defined(CONFIG_GENERATE_ACPI_TABLE) && !defined(CONFIG_SANDBOX)
/*
* This function allocates memory for ACPI tables
*