summaryrefslogtreecommitdiff
path: root/src/acpi
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-07-06 16:24:50 +0200
committerLean Sheng Tan <sheng.tan@9elements.com>2023-08-02 17:07:38 +0000
commit1cdeaea8d911f7a8ca60e5cdb3dc0deea5224bd8 (patch)
tree608fb1d8e9d8be236b640c600379aaa76f54ea2d /src/acpi
parentba2e354af4ff1924310c0e10a61d44c0195c451f (diff)
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>
Diffstat (limited to 'src/acpi')
-rw-r--r--src/acpi/acpi.c3
1 files changed, 3 insertions, 0 deletions
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]);
}