976008e29e
And bring the big-endian patches up-to-date with what has been submitted upstream by Al Stone <ahs3@redhat.com>. Upstream has yet to accept them. Resolves: rhbz#1967794 Signed-off-by: Dean Nelson <dnelson@redhat.com>
17 lines
616 B
Diff
17 lines
616 B
Diff
Index: acpica-unix2-20210604/source/common/dmtbdump.c
|
|
===================================================================
|
|
--- acpica-unix2-20210604.orig/source/common/dmtbdump.c
|
|
+++ acpica-unix2-20210604/source/common/dmtbdump.c
|
|
@@ -338,7 +338,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);
|
|
}
|
|
}
|