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 <arthur@aheymans.xyz>
Change-Id: I7fad86ead3b43b6819a2da030a72322b7e259376
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76350
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index dea4c27..65be82e 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -1553,6 +1553,9 @@
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]);
}