summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/boot/tables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86/boot/tables.c b/src/arch/x86/boot/tables.c
index 16c752a154..42b8a678ee 100644
--- a/src/arch/x86/boot/tables.c
+++ b/src/arch/x86/boot/tables.c
@@ -109,7 +109,11 @@ void write_tables(void)
#endif /* CONFIG_GENERATE_MP_TABLE */
#if CONFIG_GENERATE_ACPI_TABLES
+#if CONFIG_DYNAMIC_CBMEM
+#define MAX_ACPI_SIZE (144 * 1024)
+#else
#define MAX_ACPI_SIZE (45 * 1024)
+#endif
post_code(0x9c);
/* Write ACPI tables to F segment and high tables area */