97df1c2ef7
Signed-off-by: Al Stone <ahs3@redhat.com>
17 lines
616 B
Diff
17 lines
616 B
Diff
Index: acpica-unix2-20211217/source/common/dmtbdump.c
|
|
===================================================================
|
|
--- acpica-unix2-20211217.orig/source/common/dmtbdump.c
|
|
+++ acpica-unix2-20211217/source/common/dmtbdump.c
|
|
@@ -392,7 +392,11 @@ AcpiDmDumpXsdt (
|
|
for (i = 0; i < Entries; i++)
|
|
{
|
|
AcpiDmLineHeader2 (Offset, sizeof (UINT64), "ACPI Table Address", i);
|
|
+#if ACPI_MACHINE_WIDTH == 32
|
|
+ AcpiOsPrintf ("%16.16llX\n", AcpiUtReadUint64 (&Array[i]));
|
|
+#else
|
|
AcpiOsPrintf ("%16.16lX\n", AcpiUtReadUint64 (&Array[i]));
|
|
+#endif
|
|
Offset += sizeof (UINT64);
|
|
}
|
|
}
|