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>
This commit is contained in:
Arthur Heymans 2023-07-06 16:24:50 +02:00 committed by Lean Sheng Tan
parent ba2e354af4
commit 1cdeaea8d9
1 changed files with 3 additions and 0 deletions

View File

@ -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]);
}