From 1cdeaea8d911f7a8ca60e5cdb3dc0deea5224bd8 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 6 Jul 2023 16:24:50 +0200 Subject: [PATCH] acpi.c: Add FACS and DSDT to debug hex printing TESTED acpixtract -a is able to extract all the dumped tables including FACS and DSDT. Signed-off-by: Arthur Heymans Change-Id: I7fad86ead3b43b6819a2da030a72322b7e259376 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76350 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan --- src/acpi/acpi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index dea4c27a70..65be82eed0 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -1553,6 +1553,9 @@ unsigned long write_acpi_tables(const unsigned long start) if (CONFIG(DEBUG_ACPICA_COMPATIBLE)) { printk(BIOS_DEBUG, "Printing ACPI tables in ACPICA compatible format\n"); + if (facs) + acpidump_print(facs); + acpidump_print(dsdt); for (size_t i = 0; xsdt->entry[i] != 0; i++) { acpidump_print((void *)(uintptr_t)xsdt->entry[i]); }