diff --git a/.gitignore b/.gitignore index 5942001..bd2f67d 100644 --- a/.gitignore +++ b/.gitignore @@ -148,3 +148,5 @@ series /acpica-unix2-20210604.tar_0.gz /acpitests-unix-20210604.tar.gz /acpica-unix2-20210604.tar.gz +/acpica-unix2-20210730.tar.gz +/acpitests-unix-20210730.tar.gz diff --git a/0001-Add-in-basic-infrastructure-for-big-endian-support.patch b/0001-Add-in-basic-infrastructure-for-big-endian-support.patch index 3a667ea..27278a6 100644 --- a/0001-Add-in-basic-infrastructure-for-big-endian-support.patch +++ b/0001-Add-in-basic-infrastructure-for-big-endian-support.patch @@ -35,10 +35,10 @@ Signed-off-by: Al Stone 12 files changed, 275 insertions(+), 87 deletions(-) create mode 100644 source/components/utilities/utendian.c -Index: acpica-unix2-20210604/generate/unix/acpibin/Makefile +Index: acpica-unix2-20210730/generate/unix/acpibin/Makefile =================================================================== ---- acpica-unix2-20210604.orig/generate/unix/acpibin/Makefile -+++ acpica-unix2-20210604/generate/unix/acpibin/Makefile +--- acpica-unix2-20210730.orig/generate/unix/acpibin/Makefile ++++ acpica-unix2-20210730/generate/unix/acpibin/Makefile @@ -37,6 +37,7 @@ OBJECTS = \ $(OBJDIR)/utcache.o\ $(OBJDIR)/utdebug.o\ @@ -47,10 +47,10 @@ Index: acpica-unix2-20210604/generate/unix/acpibin/Makefile $(OBJDIR)/utexcep.o\ $(OBJDIR)/utglobal.o\ $(OBJDIR)/utlock.o\ -Index: acpica-unix2-20210604/generate/unix/acpidump/Makefile +Index: acpica-unix2-20210730/generate/unix/acpidump/Makefile =================================================================== ---- acpica-unix2-20210604.orig/generate/unix/acpidump/Makefile -+++ acpica-unix2-20210604/generate/unix/acpidump/Makefile +--- acpica-unix2-20210730.orig/generate/unix/acpidump/Makefile ++++ acpica-unix2-20210730/generate/unix/acpidump/Makefile @@ -36,6 +36,7 @@ OBJECTS = \ $(OBJDIR)/osunixdir.o\ $(OBJDIR)/osunixmap.o\ @@ -59,10 +59,10 @@ Index: acpica-unix2-20210604/generate/unix/acpidump/Makefile $(OBJDIR)/tbprint.o\ $(OBJDIR)/tbxfroot.o\ $(OBJDIR)/utascii.o\ -Index: acpica-unix2-20210604/generate/unix/acpiexamples/Makefile +Index: acpica-unix2-20210730/generate/unix/acpiexamples/Makefile =================================================================== ---- acpica-unix2-20210604.orig/generate/unix/acpiexamples/Makefile -+++ acpica-unix2-20210604/generate/unix/acpiexamples/Makefile +--- acpica-unix2-20210730.orig/generate/unix/acpiexamples/Makefile ++++ acpica-unix2-20210730/generate/unix/acpiexamples/Makefile @@ -139,6 +139,7 @@ OBJECTS = \ $(OBJDIR)/utdebug.o\ $(OBJDIR)/utdecode.o\ @@ -71,10 +71,10 @@ Index: acpica-unix2-20210604/generate/unix/acpiexamples/Makefile $(OBJDIR)/uterror.o\ $(OBJDIR)/uteval.o\ $(OBJDIR)/utexcep.o\ -Index: acpica-unix2-20210604/generate/unix/acpiexec/Makefile +Index: acpica-unix2-20210730/generate/unix/acpiexec/Makefile =================================================================== ---- acpica-unix2-20210604.orig/generate/unix/acpiexec/Makefile -+++ acpica-unix2-20210604/generate/unix/acpiexec/Makefile +--- acpica-unix2-20210730.orig/generate/unix/acpiexec/Makefile ++++ acpica-unix2-20210730/generate/unix/acpiexec/Makefile @@ -214,6 +214,7 @@ OBJECTS = \ $(OBJDIR)/utdebug.o\ $(OBJDIR)/utdecode.o\ @@ -83,10 +83,10 @@ Index: acpica-unix2-20210604/generate/unix/acpiexec/Makefile $(OBJDIR)/uterror.o\ $(OBJDIR)/uteval.o\ $(OBJDIR)/utexcep.o\ -Index: acpica-unix2-20210604/generate/unix/acpihelp/Makefile +Index: acpica-unix2-20210730/generate/unix/acpihelp/Makefile =================================================================== ---- acpica-unix2-20210604.orig/generate/unix/acpihelp/Makefile -+++ acpica-unix2-20210604/generate/unix/acpihelp/Makefile +--- acpica-unix2-20210730.orig/generate/unix/acpihelp/Makefile ++++ acpica-unix2-20210730/generate/unix/acpihelp/Makefile @@ -45,6 +45,7 @@ OBJECTS = \ $(OBJDIR)/getopt.o\ $(OBJDIR)/osunixxf.o\ @@ -95,10 +95,10 @@ Index: acpica-unix2-20210604/generate/unix/acpihelp/Makefile $(OBJDIR)/utexcep.o\ $(OBJDIR)/utglobal.o\ $(OBJDIR)/uthex.o\ -Index: acpica-unix2-20210604/generate/unix/iasl/Makefile +Index: acpica-unix2-20210730/generate/unix/iasl/Makefile =================================================================== ---- acpica-unix2-20210604.orig/generate/unix/iasl/Makefile -+++ acpica-unix2-20210604/generate/unix/iasl/Makefile +--- acpica-unix2-20210730.orig/generate/unix/iasl/Makefile ++++ acpica-unix2-20210730/generate/unix/iasl/Makefile @@ -225,6 +225,7 @@ OBJECTS = \ $(OBJDIR)/utdebug.o\ $(OBJDIR)/utdecode.o\ @@ -107,10 +107,10 @@ Index: acpica-unix2-20210604/generate/unix/iasl/Makefile $(OBJDIR)/uterror.o\ $(OBJDIR)/utexcep.o\ $(OBJDIR)/utglobal.o\ -Index: acpica-unix2-20210604/source/compiler/aslcompiler.h +Index: acpica-unix2-20210730/source/compiler/aslcompiler.h =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslcompiler.h -+++ acpica-unix2-20210604/source/compiler/aslcompiler.h +--- acpica-unix2-20210730.orig/source/compiler/aslcompiler.h ++++ acpica-unix2-20210730/source/compiler/aslcompiler.h @@ -1120,10 +1120,6 @@ BOOLEAN UtIsIdInteger ( UINT8 *Target); @@ -122,10 +122,10 @@ Index: acpica-unix2-20210604/source/compiler/aslcompiler.h BOOLEAN UtQueryForOverwrite ( char *Pathname); -Index: acpica-unix2-20210604/source/compiler/aslutils.c +Index: acpica-unix2-20210730/source/compiler/aslutils.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslutils.c -+++ acpica-unix2-20210604/source/compiler/aslutils.c +--- acpica-unix2-20210730.orig/source/compiler/aslutils.c ++++ acpica-unix2-20210730/source/compiler/aslutils.c @@ -73,33 +73,6 @@ UtDisplayErrorSummary ( /******************************************************************************* @@ -160,10 +160,10 @@ Index: acpica-unix2-20210604/source/compiler/aslutils.c * FUNCTION: UtIsIdInteger * * PARAMETERS: Pointer to an ACPI ID (HID, CID) string -Index: acpica-unix2-20210604/source/components/utilities/utendian.c +Index: acpica-unix2-20210730/source/components/utilities/utendian.c =================================================================== --- /dev/null -+++ acpica-unix2-20210604/source/components/utilities/utendian.c ++++ acpica-unix2-20210730/source/components/utilities/utendian.c @@ -0,0 +1,236 @@ +/****************************************************************************** + * @@ -401,10 +401,10 @@ Index: acpica-unix2-20210604/source/components/utilities/utendian.c + Dst[ii] = Src[SrcLength - ii - 1]; + +} -Index: acpica-unix2-20210604/source/include/acmacros.h +Index: acpica-unix2-20210730/source/include/acmacros.h =================================================================== ---- acpica-unix2-20210604.orig/source/include/acmacros.h -+++ acpica-unix2-20210604/source/include/acmacros.h +--- acpica-unix2-20210730.orig/source/include/acmacros.h ++++ acpica-unix2-20210730/source/include/acmacros.h @@ -76,61 +76,6 @@ * If the hardware supports the transfer of unaligned data, just do the store. * Otherwise, we have to move one byte at a time. @@ -475,10 +475,10 @@ Index: acpica-unix2-20210604/source/include/acmacros.h /* -Index: acpica-unix2-20210604/source/include/acutils.h +Index: acpica-unix2-20210730/source/include/acutils.h =================================================================== ---- acpica-unix2-20210604.orig/source/include/acutils.h -+++ acpica-unix2-20210604/source/include/acutils.h +--- acpica-unix2-20210730.orig/source/include/acutils.h ++++ acpica-unix2-20210730/source/include/acutils.h @@ -1167,4 +1167,36 @@ AcpiUtConvertUuidToString ( char *OutString); #endif @@ -516,10 +516,10 @@ Index: acpica-unix2-20210604/source/include/acutils.h +#endif + #endif /* _ACUTILS_H */ -Index: acpica-unix2-20210604/source/include/platform/aclinux.h +Index: acpica-unix2-20210730/source/include/platform/aclinux.h =================================================================== ---- acpica-unix2-20210604.orig/source/include/platform/aclinux.h -+++ acpica-unix2-20210604/source/include/platform/aclinux.h +--- acpica-unix2-20210730.orig/source/include/platform/aclinux.h ++++ acpica-unix2-20210730/source/include/platform/aclinux.h @@ -198,6 +198,7 @@ #ifdef ACPI_USE_STANDARD_HEADERS diff --git a/0002-Modify-utility-functions-to-be-endian-agnostic.patch b/0002-Modify-utility-functions-to-be-endian-agnostic.patch index 2f3f51e..ff08d2e 100644 --- a/0002-Modify-utility-functions-to-be-endian-agnostic.patch +++ b/0002-Modify-utility-functions-to-be-endian-agnostic.patch @@ -24,10 +24,10 @@ Signed-off-by: Al Stone source/components/tables/tbprint.c | 13 +++++++++---- 5 files changed, 26 insertions(+), 17 deletions(-) -Index: acpica-unix2-20210604/source/common/acfileio.c +Index: acpica-unix2-20210730/source/common/acfileio.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/acfileio.c -+++ acpica-unix2-20210604/source/common/acfileio.c +--- acpica-unix2-20210730.orig/source/common/acfileio.c ++++ acpica-unix2-20210730/source/common/acfileio.c @@ -280,6 +280,7 @@ AcGetOneTableFromFile ( ACPI_TABLE_HEADER *Table; INT32 Count; @@ -94,11 +94,11 @@ Index: acpica-unix2-20210604/source/common/acfileio.c (UINT32) (FileSize - TableOffset)); return (AE_BAD_HEADER); } -Index: acpica-unix2-20210604/source/common/dmtable.c +Index: acpica-unix2-20210730/source/common/dmtable.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtable.c -+++ acpica-unix2-20210604/source/common/dmtable.c -@@ -591,7 +591,7 @@ AcpiDmDumpDataTable ( +--- acpica-unix2-20210730.orig/source/common/dmtable.c ++++ acpica-unix2-20210730/source/common/dmtable.c +@@ -641,7 +641,7 @@ AcpiDmDumpDataTable ( { /* Dump the raw table data */ @@ -107,7 +107,7 @@ Index: acpica-unix2-20210604/source/common/dmtable.c AcpiOsPrintf ("\n/*\n%s: Length %d (0x%X)\n\n", ACPI_RAW_TABLE_DATA_HEADER, Length, Length); -@@ -608,7 +608,7 @@ AcpiDmDumpDataTable ( +@@ -658,7 +658,7 @@ AcpiDmDumpDataTable ( */ if (ACPI_COMPARE_NAMESEG (Table->Signature, ACPI_SIG_FACS)) { @@ -116,7 +116,7 @@ Index: acpica-unix2-20210604/source/common/dmtable.c Status = AcpiDmDumpTable (Length, 0, Table, 0, AcpiDmTableInfoFacs); if (ACPI_FAILURE (Status)) { -@@ -628,7 +628,7 @@ AcpiDmDumpDataTable ( +@@ -678,7 +678,7 @@ AcpiDmDumpDataTable ( /* * All other tables must use the common ACPI table header, dump it now */ @@ -125,7 +125,7 @@ Index: acpica-unix2-20210604/source/common/dmtable.c Status = AcpiDmDumpTable (Length, 0, Table, 0, AcpiDmTableInfoHeader); if (ACPI_FAILURE (Status)) { -@@ -1262,7 +1262,7 @@ AcpiDmDumpTable ( +@@ -1324,7 +1324,7 @@ AcpiDmDumpTable ( AcpiOsPrintf ("%2.2X", *Target); Temp8 = AcpiDmGenerateChecksum (Table, @@ -134,10 +134,10 @@ Index: acpica-unix2-20210604/source/common/dmtable.c ACPI_CAST_PTR (ACPI_TABLE_HEADER, Table)->Checksum); if (Temp8 != ACPI_CAST_PTR (ACPI_TABLE_HEADER, Table)->Checksum) -Index: acpica-unix2-20210604/source/compiler/dtfield.c +Index: acpica-unix2-20210730/source/compiler/dtfield.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dtfield.c -+++ acpica-unix2-20210604/source/compiler/dtfield.c +--- acpica-unix2-20210730.orig/source/compiler/dtfield.c ++++ acpica-unix2-20210730/source/compiler/dtfield.c @@ -361,7 +361,7 @@ DtCompileInteger ( DtError (ASL_ERROR, ASL_MSG_INTEGER_SIZE, Field, AslGbl_MsgBuffer); } @@ -147,10 +147,10 @@ Index: acpica-unix2-20210604/source/compiler/dtfield.c return; } -Index: acpica-unix2-20210604/source/compiler/dtsubtable.c +Index: acpica-unix2-20210730/source/compiler/dtsubtable.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dtsubtable.c -+++ acpica-unix2-20210604/source/compiler/dtsubtable.c +--- acpica-unix2-20210730.orig/source/compiler/dtsubtable.c ++++ acpica-unix2-20210730/source/compiler/dtsubtable.c @@ -378,6 +378,6 @@ DtSetSubtableLength ( return; } @@ -160,10 +160,10 @@ Index: acpica-unix2-20210604/source/compiler/dtsubtable.c + AcpiUtWriteUint (Subtable->LengthField, Subtable->SizeOfLengthField, + &Subtable->TotalLength, sizeof (Subtable->TotalLength)); } -Index: acpica-unix2-20210604/source/components/tables/tbprint.c +Index: acpica-unix2-20210730/source/components/tables/tbprint.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/tables/tbprint.c -+++ acpica-unix2-20210604/source/components/tables/tbprint.c +--- acpica-unix2-20210730.orig/source/components/tables/tbprint.c ++++ acpica-unix2-20210730/source/components/tables/tbprint.c @@ -44,6 +44,8 @@ #include "acpi.h" #include "accommon.h" diff --git a/0003-Always-display-table-header-content-in-human-readabl.patch b/0003-Always-display-table-header-content-in-human-readabl.patch index 6dddba1..b1bd847 100644 --- a/0003-Always-display-table-header-content-in-human-readabl.patch +++ b/0003-Always-display-table-header-content-in-human-readabl.patch @@ -13,10 +13,10 @@ Signed-off-by: Al Stone source/tools/acpibin/abcompare.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -Index: acpica-unix2-20210604/source/tools/acpibin/abcompare.c +Index: acpica-unix2-20210730/source/tools/acpibin/abcompare.c =================================================================== ---- acpica-unix2-20210604.orig/source/tools/acpibin/abcompare.c -+++ acpica-unix2-20210604/source/tools/acpibin/abcompare.c +--- acpica-unix2-20210730.orig/source/tools/acpibin/abcompare.c ++++ acpica-unix2-20210730/source/tools/acpibin/abcompare.c @@ -42,6 +42,7 @@ */ diff --git a/0004-Re-enable-support-for-big-endian-machines.patch b/0004-Re-enable-support-for-big-endian-machines.patch index 1422b26..4686ed2 100644 --- a/0004-Re-enable-support-for-big-endian-machines.patch +++ b/0004-Re-enable-support-for-big-endian-machines.patch @@ -13,10 +13,10 @@ Signed-off-by: Al Stone source/components/namespace/nsutils.c | 7 +++++-- 2 files changed, 5 insertions(+), 14 deletions(-) -Index: acpica-unix2-20210604/source/compiler/aslmain.c +Index: acpica-unix2-20210730/source/compiler/aslmain.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslmain.c -+++ acpica-unix2-20210604/source/compiler/aslmain.c +--- acpica-unix2-20210730.orig/source/compiler/aslmain.c ++++ acpica-unix2-20210730/source/compiler/aslmain.c @@ -101,18 +101,6 @@ main ( signal (SIGINT, AslSignalHandler); @@ -36,10 +36,10 @@ Index: acpica-unix2-20210604/source/compiler/aslmain.c AcpiOsInitialize (); ACPI_DEBUG_INITIALIZE (); /* For debug version only */ -Index: acpica-unix2-20210604/source/components/namespace/nsutils.c +Index: acpica-unix2-20210730/source/components/namespace/nsutils.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/namespace/nsutils.c -+++ acpica-unix2-20210604/source/components/namespace/nsutils.c +--- acpica-unix2-20210730.orig/source/components/namespace/nsutils.c ++++ acpica-unix2-20210730/source/components/namespace/nsutils.c @@ -272,6 +272,7 @@ AcpiNsBuildInternalName ( const char *ExternalName = Info->NextExternalChar; char *Result = NULL; diff --git a/0005-Correct-an-endian-ness-problem-when-converting-ASL-t.patch b/0005-Correct-an-endian-ness-problem-when-converting-ASL-t.patch index 3074e05..6293206 100644 --- a/0005-Correct-an-endian-ness-problem-when-converting-ASL-t.patch +++ b/0005-Correct-an-endian-ness-problem-when-converting-ASL-t.patch @@ -9,10 +9,10 @@ Signed-off-by: Al Stone source/compiler/cvparser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -Index: acpica-unix2-20210604/source/compiler/cvparser.c +Index: acpica-unix2-20210730/source/compiler/cvparser.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/cvparser.c -+++ acpica-unix2-20210604/source/compiler/cvparser.c +--- acpica-unix2-20210730.orig/source/compiler/cvparser.c ++++ acpica-unix2-20210730/source/compiler/cvparser.c @@ -144,6 +144,7 @@ CvInitFileTree ( char *ChildFilename = NULL; UINT8 *AmlStart; diff --git a/0006-Use-more-reliable-ACPI_COPY_NAMSEG-in-GPE-name-check.patch b/0006-Use-more-reliable-ACPI_COPY_NAMSEG-in-GPE-name-check.patch index 7b7ed81..1ed3be3 100644 --- a/0006-Use-more-reliable-ACPI_COPY_NAMSEG-in-GPE-name-check.patch +++ b/0006-Use-more-reliable-ACPI_COPY_NAMSEG-in-GPE-name-check.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/compiler/aslanalyze.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: acpica-unix2-20210604/source/compiler/aslanalyze.c +Index: acpica-unix2-20210730/source/compiler/aslanalyze.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslanalyze.c -+++ acpica-unix2-20210604/source/compiler/aslanalyze.c +--- acpica-unix2-20210730.orig/source/compiler/aslanalyze.c ++++ acpica-unix2-20210730/source/compiler/aslanalyze.c @@ -469,7 +469,7 @@ ApCheckForGpeNameConflict ( /* Need a null-terminated string version of NameSeg */ diff --git a/0007-Handle-dumping-Unicode-properly-when-big-endian.patch b/0007-Handle-dumping-Unicode-properly-when-big-endian.patch index ade4c9a..9fe820a 100644 --- a/0007-Handle-dumping-Unicode-properly-when-big-endian.patch +++ b/0007-Handle-dumping-Unicode-properly-when-big-endian.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump.c +Index: acpica-unix2-20210730/source/common/dmtbdump.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump.c -+++ acpica-unix2-20210604/source/common/dmtbdump.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump.c ++++ acpica-unix2-20210730/source/common/dmtbdump.c @@ -146,6 +146,8 @@ AcpiDmDumpUnicode ( UINT8 *Buffer; UINT32 Length; diff --git a/0008-Support-MADT-aka-APIC-in-a-big-endian-world.patch b/0008-Support-MADT-aka-APIC-in-a-big-endian-world.patch index ad4214d..63fa133 100644 --- a/0008-Support-MADT-aka-APIC-in-a-big-endian-world.patch +++ b/0008-Support-MADT-aka-APIC-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -763,7 +763,7 @@ AcpiDmDumpMadt ( { ACPI_STATUS Status; diff --git a/0009-Support-ASF-tables-in-a-big-endian-world.patch b/0009-Support-ASF-tables-in-a-big-endian-world.patch index 5e21344..1010c29 100644 --- a/0009-Support-ASF-tables-in-a-big-endian-world.patch +++ b/0009-Support-ASF-tables-in-a-big-endian-world.patch @@ -10,11 +10,11 @@ Signed-off-by: Al Stone source/common/dmtbdump1.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -79,16 +79,18 @@ AcpiDmDumpAsf ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -298,16 +298,18 @@ AcpiDmDumpAsf ( UINT32 DataOffset = 0; UINT32 i; UINT8 Type; @@ -35,7 +35,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c Subtable->Header.Length, AcpiDmTableInfoAsfHdr); if (ACPI_FAILURE (Status)) { -@@ -146,7 +148,7 @@ AcpiDmDumpAsf ( +@@ -365,7 +367,7 @@ AcpiDmDumpAsf ( return; } @@ -44,7 +44,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c Subtable->Header.Length, InfoTable); if (ACPI_FAILURE (Status)) { -@@ -163,7 +165,7 @@ AcpiDmDumpAsf ( +@@ -382,7 +384,7 @@ AcpiDmDumpAsf ( for (i = 0; i < DataCount; i++) { AcpiOsPrintf ("\n"); diff --git a/0010-Support-CPEP-tables-in-a-big-endian-world.patch b/0010-Support-CPEP-tables-in-a-big-endian-world.patch index aa677b7..9247b9b 100644 --- a/0010-Support-CPEP-tables-in-a-big-endian-world.patch +++ b/0010-Support-CPEP-tables-in-a-big-endian-world.patch @@ -8,11 +8,11 @@ Signed-off-by: Al Stone source/common/dmtbdump1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -319,7 +319,7 @@ AcpiDmDumpCpep ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -538,7 +538,7 @@ AcpiDmDumpCpep ( { ACPI_STATUS Status; ACPI_CPEP_POLLING *Subtable; @@ -21,7 +21,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c UINT32 Offset = sizeof (ACPI_TABLE_CPEP); -@@ -334,7 +334,7 @@ AcpiDmDumpCpep ( +@@ -553,7 +553,7 @@ AcpiDmDumpCpep ( /* Subtables */ Subtable = ACPI_ADD_PTR (ACPI_CPEP_POLLING, Table, Offset); diff --git a/0011-Support-DBG2-table-in-a-big-endian-world.patch b/0011-Support-DBG2-table-in-a-big-endian-world.patch index cc613fc..7c22228 100644 --- a/0011-Support-DBG2-table-in-a-big-endian-world.patch +++ b/0011-Support-DBG2-table-in-a-big-endian-world.patch @@ -9,11 +9,11 @@ Signed-off-by: Al Stone source/compiler/dttable1.c | 43 ++++++++++++++++++++++++-------------- 2 files changed, 48 insertions(+), 32 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -374,7 +374,7 @@ AcpiDmDumpCsrt ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -593,7 +593,7 @@ AcpiDmDumpCsrt ( ACPI_CSRT_GROUP *Subtable; ACPI_CSRT_SHARED_INFO *SharedInfoTable; ACPI_CSRT_DESCRIPTOR *SubSubtable; @@ -22,7 +22,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c UINT32 Offset = sizeof (ACPI_TABLE_CSRT); UINT32 SubOffset; UINT32 SubSubOffset; -@@ -386,7 +386,7 @@ AcpiDmDumpCsrt ( +@@ -605,7 +605,7 @@ AcpiDmDumpCsrt ( /* Subtables (Resource Groups) */ Subtable = ACPI_ADD_PTR (ACPI_CSRT_GROUP, Table, Offset); @@ -31,7 +31,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c { /* Resource group subtable */ -@@ -420,7 +420,7 @@ AcpiDmDumpCsrt ( +@@ -639,7 +639,7 @@ AcpiDmDumpCsrt ( Offset + SubOffset); while ((SubOffset < Subtable->Length) && @@ -40,7 +40,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c { AcpiOsPrintf ("\n"); Status = AcpiDmDumpTable (Length, Offset + SubOffset, SubSubtable, -@@ -481,12 +481,13 @@ AcpiDmDumpDbg2 ( +@@ -700,12 +700,13 @@ AcpiDmDumpDbg2 ( { ACPI_STATUS Status; ACPI_DBG2_DEVICE *Subtable; @@ -55,7 +55,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c /* Main table */ -@@ -500,11 +501,12 @@ AcpiDmDumpDbg2 ( +@@ -719,11 +720,12 @@ AcpiDmDumpDbg2 ( /* Subtables */ Subtable = ACPI_ADD_PTR (ACPI_DBG2_DEVICE, Table, Offset); @@ -70,7 +70,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c if (ACPI_FAILURE (Status)) { return; -@@ -514,13 +516,13 @@ AcpiDmDumpDbg2 ( +@@ -733,13 +735,13 @@ AcpiDmDumpDbg2 ( for (i = 0; i < Subtable->RegisterCount; i++) { @@ -86,7 +86,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c if (ACPI_FAILURE (Status)) { return; -@@ -531,13 +533,13 @@ AcpiDmDumpDbg2 ( +@@ -750,13 +752,13 @@ AcpiDmDumpDbg2 ( for (i = 0; i < Subtable->RegisterCount; i++) { @@ -102,7 +102,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c if (ACPI_FAILURE (Status)) { return; -@@ -547,12 +549,12 @@ AcpiDmDumpDbg2 ( +@@ -766,12 +768,12 @@ AcpiDmDumpDbg2 ( /* Dump the Namestring (required) */ AcpiOsPrintf ("\n"); @@ -117,7 +117,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c if (ACPI_FAILURE (Status)) { return; -@@ -562,8 +564,11 @@ AcpiDmDumpDbg2 ( +@@ -781,8 +783,11 @@ AcpiDmDumpDbg2 ( if (Subtable->OemDataOffset) { @@ -131,7 +131,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c AcpiDmTableInfoDbg2OemData); if (ACPI_FAILURE (Status)) { -@@ -573,9 +578,9 @@ AcpiDmDumpDbg2 ( +@@ -792,9 +797,9 @@ AcpiDmDumpDbg2 ( /* Point to next subtable */ @@ -143,11 +143,11 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c } } -Index: acpica-unix2-20210604/source/compiler/dttable1.c +Index: acpica-unix2-20210730/source/compiler/dttable1.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable1.c -+++ acpica-unix2-20210604/source/compiler/dttable1.c -@@ -355,6 +355,7 @@ DtCompileCsrt ( +--- acpica-unix2-20210730.orig/source/compiler/dttable1.c ++++ acpica-unix2-20210730/source/compiler/dttable1.c +@@ -572,6 +572,7 @@ DtCompileCsrt ( DT_FIELD **PFieldList = (DT_FIELD **) List; UINT32 DescriptorCount; UINT32 GroupLength; @@ -155,7 +155,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c /* Subtables (Resource Groups) */ -@@ -373,12 +374,13 @@ DtCompileCsrt ( +@@ -590,12 +591,13 @@ DtCompileCsrt ( /* Compute the number of resource descriptors */ @@ -175,7 +175,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c DescriptorCount = (GroupLength / sizeof (ACPI_CSRT_DESCRIPTOR)); -@@ -466,6 +468,7 @@ DtCompileDbg2 ( +@@ -683,6 +685,7 @@ DtCompileDbg2 ( ACPI_DBG2_DEVICE *DeviceInfo; UINT16 CurrentOffset; UINT32 i; @@ -183,7 +183,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c /* Main table */ -@@ -482,10 +485,12 @@ DtCompileDbg2 ( +@@ -699,10 +702,12 @@ DtCompileDbg2 ( /* Main table fields */ Dbg2Header = ACPI_CAST_PTR (ACPI_DBG2_HEADER, Subtable->Buffer); @@ -199,7 +199,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c DtPushSubtable (Subtable); /* Process all Device Information subtables (Count = InfoCount) */ -@@ -512,7 +517,8 @@ DtCompileDbg2 ( +@@ -729,7 +734,8 @@ DtCompileDbg2 ( /* BaseAddressRegister GAS array (Required, size is RegisterCount) */ @@ -209,7 +209,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c for (i = 0; *PFieldList && (i < DeviceInfo->RegisterCount); i++) { Status = DtCompileTable (PFieldList, AcpiDmTableInfoDbg2Addr, -@@ -528,7 +534,8 @@ DtCompileDbg2 ( +@@ -745,7 +751,8 @@ DtCompileDbg2 ( /* AddressSize array (Required, size = RegisterCount) */ @@ -219,7 +219,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c for (i = 0; *PFieldList && (i < DeviceInfo->RegisterCount); i++) { Status = DtCompileTable (PFieldList, AcpiDmTableInfoDbg2Size, -@@ -544,7 +551,8 @@ DtCompileDbg2 ( +@@ -761,7 +768,8 @@ DtCompileDbg2 ( /* NamespaceString device identifier (Required, size = NamePathLength) */ @@ -229,7 +229,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c Status = DtCompileTable (PFieldList, AcpiDmTableInfoDbg2Name, &Subtable); if (ACPI_FAILURE (Status)) -@@ -554,8 +562,9 @@ DtCompileDbg2 ( +@@ -771,8 +779,9 @@ DtCompileDbg2 ( /* Update the device info header */ @@ -241,7 +241,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c DtInsertSubtable (ParentTable, Subtable); /* OemData - Variable-length data (Optional, size = OemDataLength) */ -@@ -582,8 +591,10 @@ DtCompileDbg2 ( +@@ -799,8 +808,10 @@ DtCompileDbg2 ( if (Subtable && Subtable->Length) { diff --git a/0012-Support-DMAR-in-a-big-endian-world.patch b/0012-Support-DMAR-in-a-big-endian-world.patch index 3a3f33b..f083ef8 100644 --- a/0012-Support-DMAR-in-a-big-endian-world.patch +++ b/0012-Support-DMAR-in-a-big-endian-world.patch @@ -10,11 +10,11 @@ Signed-off-by: Al Stone source/compiler/dttable1.c | 12 +++++++----- 3 files changed, 24 insertions(+), 18 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtable.c +Index: acpica-unix2-20210730/source/common/dmtable.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtable.c -+++ acpica-unix2-20210604/source/common/dmtable.c -@@ -1341,13 +1341,13 @@ AcpiDmDumpTable ( +--- acpica-unix2-20210730.orig/source/common/dmtable.c ++++ acpica-unix2-20210730/source/common/dmtable.c +@@ -1487,13 +1487,13 @@ AcpiDmDumpTable ( /* DMAR subtable types */ @@ -30,11 +30,11 @@ Index: acpica-unix2-20210604/source/common/dmtable.c AcpiDmDmarSubnames[Temp16]); break; -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -604,13 +604,15 @@ AcpiDmDumpDmar ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -823,13 +823,15 @@ AcpiDmDumpDmar ( { ACPI_STATUS Status; ACPI_DMAR_HEADER *Subtable; @@ -51,7 +51,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c /* Main table */ -@@ -624,13 +626,14 @@ AcpiDmDumpDmar ( +@@ -843,13 +845,14 @@ AcpiDmDumpDmar ( /* Subtables */ Subtable = ACPI_ADD_PTR (ACPI_DMAR_HEADER, Table, Offset); @@ -68,7 +68,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c if (ACPI_FAILURE (Status)) { return; -@@ -638,7 +641,8 @@ AcpiDmDumpDmar ( +@@ -857,7 +860,8 @@ AcpiDmDumpDmar ( AcpiOsPrintf ("\n"); @@ -78,7 +78,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c { case ACPI_DMAR_TYPE_HARDWARE_UNIT: -@@ -673,12 +677,12 @@ AcpiDmDumpDmar ( +@@ -892,12 +896,12 @@ AcpiDmDumpDmar ( default: AcpiOsPrintf ("\n**** Unknown DMAR subtable type 0x%X\n\n", @@ -93,7 +93,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c if (ACPI_FAILURE (Status)) { return; -@@ -687,8 +691,8 @@ AcpiDmDumpDmar ( +@@ -906,8 +910,8 @@ AcpiDmDumpDmar ( /* * Dump the optional device scope entries */ @@ -104,7 +104,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c { /* These types do not support device scopes */ -@@ -696,7 +700,7 @@ AcpiDmDumpDmar ( +@@ -915,7 +919,7 @@ AcpiDmDumpDmar ( } ScopeTable = ACPI_ADD_PTR (ACPI_DMAR_DEVICE_SCOPE, Subtable, ScopeOffset); @@ -113,7 +113,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c { AcpiOsPrintf ("\n"); Status = AcpiDmDumpTable (Length, Offset + ScopeOffset, ScopeTable, -@@ -737,9 +741,9 @@ AcpiDmDumpDmar ( +@@ -956,9 +960,9 @@ AcpiDmDumpDmar ( NextSubtable: /* Point to next subtable */ @@ -125,11 +125,11 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c } } -Index: acpica-unix2-20210604/source/compiler/dttable1.c +Index: acpica-unix2-20210730/source/compiler/dttable1.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable1.c -+++ acpica-unix2-20210604/source/compiler/dttable1.c -@@ -634,6 +634,7 @@ DtCompileDmar ( +--- acpica-unix2-20210730.orig/source/compiler/dttable1.c ++++ acpica-unix2-20210730/source/compiler/dttable1.c +@@ -851,6 +851,7 @@ DtCompileDmar ( ACPI_DMAR_DEVICE_SCOPE *DmarDeviceScope; UINT32 DeviceScopeLength; UINT32 PciPathLength; @@ -137,7 +137,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c Status = DtCompileTable (PFieldList, AcpiDmTableInfoDmar, &Subtable); -@@ -664,7 +665,8 @@ DtCompileDmar ( +@@ -881,7 +882,8 @@ DtCompileDmar ( DmarHeader = ACPI_CAST_PTR (ACPI_DMAR_HEADER, Subtable->Buffer); @@ -147,7 +147,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c { case ACPI_DMAR_TYPE_HARDWARE_UNIT: -@@ -711,8 +713,8 @@ DtCompileDmar ( +@@ -928,8 +930,8 @@ DtCompileDmar ( /* * Optional Device Scope subtables */ @@ -158,7 +158,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c { /* These types do not support device scopes */ -@@ -721,8 +723,8 @@ DtCompileDmar ( +@@ -938,8 +940,8 @@ DtCompileDmar ( } DtPushSubtable (Subtable); diff --git a/0013-Support-DRTM-in-a-big-endian-world.patch b/0013-Support-DRTM-in-a-big-endian-world.patch index ac21497..e7bdcd8 100644 --- a/0013-Support-DRTM-in-a-big-endian-world.patch +++ b/0013-Support-DRTM-in-a-big-endian-world.patch @@ -9,11 +9,11 @@ Signed-off-by: Al Stone source/compiler/dttable1.c | 6 ++++-- 2 files changed, 19 insertions(+), 12 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -770,11 +770,14 @@ AcpiDmDumpDrtm ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -989,11 +989,14 @@ AcpiDmDumpDrtm ( ACPI_DRTM_RESOURCE_LIST *DrtmRl; ACPI_DRTM_DPS_ID *DrtmDps; UINT32 Count; @@ -29,7 +29,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c AcpiDmTableInfoDrtm); if (ACPI_FAILURE (Status)) { -@@ -789,7 +792,7 @@ AcpiDmDumpDrtm ( +@@ -1008,7 +1011,7 @@ AcpiDmDumpDrtm ( DrtmVtl = ACPI_ADD_PTR (ACPI_DRTM_VTABLE_LIST, Table, Offset); AcpiOsPrintf ("\n"); @@ -38,7 +38,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c DrtmVtl, ACPI_OFFSET (ACPI_DRTM_VTABLE_LIST, ValidatedTables), AcpiDmTableInfoDrtm0); if (ACPI_FAILURE (Status)) -@@ -802,10 +805,11 @@ AcpiDmDumpDrtm ( +@@ -1021,10 +1024,11 @@ AcpiDmDumpDrtm ( /* Dump Validated table addresses */ Count = 0; @@ -53,7 +53,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c ACPI_ADD_PTR (void, Table, Offset), sizeof (UINT64), AcpiDmTableInfoDrtm0a); if (ACPI_FAILURE (Status)) -@@ -821,7 +825,7 @@ AcpiDmDumpDrtm ( +@@ -1040,7 +1044,7 @@ AcpiDmDumpDrtm ( DrtmRl = ACPI_ADD_PTR (ACPI_DRTM_RESOURCE_LIST, Table, Offset); AcpiOsPrintf ("\n"); @@ -62,7 +62,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c DrtmRl, ACPI_OFFSET (ACPI_DRTM_RESOURCE_LIST, Resources), AcpiDmTableInfoDrtm1); if (ACPI_FAILURE (Status)) -@@ -834,10 +838,11 @@ AcpiDmDumpDrtm ( +@@ -1053,10 +1057,11 @@ AcpiDmDumpDrtm ( /* Dump the Resource List */ Count = 0; @@ -77,7 +77,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c ACPI_ADD_PTR (void, Table, Offset), sizeof (ACPI_DRTM_RESOURCE), AcpiDmTableInfoDrtm1a); if (ACPI_FAILURE (Status)) -@@ -853,7 +858,7 @@ AcpiDmDumpDrtm ( +@@ -1072,7 +1077,7 @@ AcpiDmDumpDrtm ( DrtmDps = ACPI_ADD_PTR (ACPI_DRTM_DPS_ID, Table, Offset); AcpiOsPrintf ("\n"); @@ -86,11 +86,11 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c DrtmDps, sizeof (ACPI_DRTM_DPS_ID), AcpiDmTableInfoDrtm2); } -Index: acpica-unix2-20210604/source/compiler/dttable1.c +Index: acpica-unix2-20210730/source/compiler/dttable1.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable1.c -+++ acpica-unix2-20210604/source/compiler/dttable1.c -@@ -849,7 +849,8 @@ DtCompileDrtm ( +--- acpica-unix2-20210730.orig/source/compiler/dttable1.c ++++ acpica-unix2-20210730/source/compiler/dttable1.c +@@ -1066,7 +1066,8 @@ DtCompileDrtm ( Count++; } @@ -100,7 +100,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c DtPopSubtable (); ParentTable = DtPeekSubtable (); -@@ -887,7 +888,8 @@ DtCompileDrtm ( +@@ -1104,7 +1105,8 @@ DtCompileDrtm ( Count++; } diff --git a/0014-Support-EINJ-in-a-big-endian-world.patch b/0014-Support-EINJ-in-a-big-endian-world.patch index b28a42e..157cce7 100644 --- a/0014-Support-EINJ-in-a-big-endian-world.patch +++ b/0014-Support-EINJ-in-a-big-endian-world.patch @@ -8,11 +8,11 @@ Signed-off-by: Al Stone source/common/dmtbdump1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -882,7 +882,7 @@ AcpiDmDumpEinj ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -1101,7 +1101,7 @@ AcpiDmDumpEinj ( { ACPI_STATUS Status; ACPI_WHEA_HEADER *Subtable; @@ -21,7 +21,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c UINT32 Offset = sizeof (ACPI_TABLE_EINJ); -@@ -897,7 +897,7 @@ AcpiDmDumpEinj ( +@@ -1116,7 +1116,7 @@ AcpiDmDumpEinj ( /* Subtables */ Subtable = ACPI_ADD_PTR (ACPI_WHEA_HEADER, Table, Offset); diff --git a/0015-Support-ERST-in-a-big-endian-world.patch b/0015-Support-ERST-in-a-big-endian-world.patch index 1438b85..3e19334 100644 --- a/0015-Support-ERST-in-a-big-endian-world.patch +++ b/0015-Support-ERST-in-a-big-endian-world.patch @@ -8,11 +8,11 @@ Signed-off-by: Al Stone source/common/dmtbdump1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -935,7 +935,7 @@ AcpiDmDumpErst ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -1154,7 +1154,7 @@ AcpiDmDumpErst ( { ACPI_STATUS Status; ACPI_WHEA_HEADER *Subtable; @@ -21,7 +21,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c UINT32 Offset = sizeof (ACPI_TABLE_ERST); -@@ -950,7 +950,7 @@ AcpiDmDumpErst ( +@@ -1169,7 +1169,7 @@ AcpiDmDumpErst ( /* Subtables */ Subtable = ACPI_ADD_PTR (ACPI_WHEA_HEADER, Table, Offset); diff --git a/0016-Support-FADT-aka-FACP-in-a-big-endian-world.patch b/0016-Support-FADT-aka-FACP-in-a-big-endian-world.patch index 51e4257..9aa875f 100644 --- a/0016-Support-FADT-aka-FACP-in-a-big-endian-world.patch +++ b/0016-Support-FADT-aka-FACP-in-a-big-endian-world.patch @@ -9,10 +9,10 @@ Signed-off-by: Al Stone source/components/tables/tbfadt.c | 34 +++++++++++++++++++++++-------- 2 files changed, 38 insertions(+), 21 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump.c +Index: acpica-unix2-20210730/source/common/dmtbdump.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump.c -+++ acpica-unix2-20210604/source/common/dmtbdump.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump.c ++++ acpica-unix2-20210730/source/common/dmtbdump.c @@ -363,11 +363,12 @@ AcpiDmDumpFadt ( ACPI_TABLE_HEADER *Table) { @@ -91,10 +91,10 @@ Index: acpica-unix2-20210604/source/common/dmtbdump.c } -Index: acpica-unix2-20210604/source/components/tables/tbfadt.c +Index: acpica-unix2-20210730/source/components/tables/tbfadt.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/tables/tbfadt.c -+++ acpica-unix2-20210604/source/components/tables/tbfadt.c +--- acpica-unix2-20210730.orig/source/components/tables/tbfadt.c ++++ acpica-unix2-20210730/source/components/tables/tbfadt.c @@ -289,7 +289,6 @@ AcpiTbSelectAddress ( UINT32 Address32, UINT64 Address64) diff --git a/0017-Support-most-FPDTs-in-a-big-endian-world.patch b/0017-Support-most-FPDTs-in-a-big-endian-world.patch index abeed59..bd43520 100644 --- a/0017-Support-most-FPDTs-in-a-big-endian-world.patch +++ b/0017-Support-most-FPDTs-in-a-big-endian-world.patch @@ -12,11 +12,11 @@ Signed-off-by: Al Stone source/compiler/dttable1.c | 4 +++- 2 files changed, 10 insertions(+), 6 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -988,9 +988,10 @@ AcpiDmDumpFpdt ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -1207,9 +1207,10 @@ AcpiDmDumpFpdt ( { ACPI_STATUS Status; ACPI_FPDT_HEADER *Subtable; @@ -28,7 +28,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c /* There is no main table (other than the standard ACPI header) */ -@@ -998,19 +999,20 @@ AcpiDmDumpFpdt ( +@@ -1217,19 +1218,20 @@ AcpiDmDumpFpdt ( /* Subtables */ Subtable = ACPI_ADD_PTR (ACPI_FPDT_HEADER, Table, Offset); @@ -52,7 +52,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c { case ACPI_FPDT_TYPE_BOOT: -@@ -1037,7 +1039,7 @@ AcpiDmDumpFpdt ( +@@ -1256,7 +1258,7 @@ AcpiDmDumpFpdt ( goto NextSubtable; } @@ -61,11 +61,11 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c Subtable->Length, InfoTable); if (ACPI_FAILURE (Status)) { -Index: acpica-unix2-20210604/source/compiler/dttable1.c +Index: acpica-unix2-20210730/source/compiler/dttable1.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable1.c -+++ acpica-unix2-20210604/source/compiler/dttable1.c -@@ -1125,6 +1125,7 @@ DtCompileFpdt ( +--- acpica-unix2-20210730.orig/source/compiler/dttable1.c ++++ acpica-unix2-20210730/source/compiler/dttable1.c +@@ -1342,6 +1342,7 @@ DtCompileFpdt ( ACPI_DMTABLE_INFO *InfoTable; DT_FIELD **PFieldList = (DT_FIELD **) List; DT_FIELD *SubtableStart; @@ -73,7 +73,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c while (*PFieldList) -@@ -1143,7 +1144,8 @@ DtCompileFpdt ( +@@ -1360,7 +1361,8 @@ DtCompileFpdt ( FpdtHeader = ACPI_CAST_PTR (ACPI_FPDT_HEADER, Subtable->Buffer); diff --git a/0018-Support-GTDT-in-a-big-endian-world.patch b/0018-Support-GTDT-in-a-big-endian-world.patch index df3f181..8017791 100644 --- a/0018-Support-GTDT-in-a-big-endian-world.patch +++ b/0018-Support-GTDT-in-a-big-endian-world.patch @@ -9,11 +9,11 @@ Signed-off-by: Al Stone source/compiler/dttable1.c | 9 +++++++-- 2 files changed, 16 insertions(+), 6 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -1075,7 +1075,7 @@ AcpiDmDumpGtdt ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -1294,7 +1294,7 @@ AcpiDmDumpGtdt ( { ACPI_STATUS Status; ACPI_GTDT_HEADER *Subtable; @@ -22,7 +22,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c UINT32 Offset = sizeof (ACPI_TABLE_GTDT); ACPI_DMTABLE_INFO *InfoTable; UINT32 SubtableLength; -@@ -1111,7 +1111,7 @@ AcpiDmDumpGtdt ( +@@ -1330,7 +1330,7 @@ AcpiDmDumpGtdt ( /* Subtables */ @@ -31,7 +31,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c { /* Common subtable header */ -@@ -1129,8 +1129,13 @@ AcpiDmDumpGtdt ( +@@ -1348,8 +1348,13 @@ AcpiDmDumpGtdt ( case ACPI_GTDT_TYPE_TIMER_BLOCK: SubtableLength = sizeof (ACPI_GTDT_TIMER_BLOCK); @@ -47,11 +47,11 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c InfoTable = AcpiDmTableInfoGtdt0; break; -Index: acpica-unix2-20210604/source/compiler/dttable1.c +Index: acpica-unix2-20210730/source/compiler/dttable1.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable1.c -+++ acpica-unix2-20210604/source/compiler/dttable1.c -@@ -1071,8 +1071,13 @@ DtCompileGtdt ( +--- acpica-unix2-20210730.orig/source/compiler/dttable1.c ++++ acpica-unix2-20210730/source/compiler/dttable1.c +@@ -1288,8 +1288,13 @@ DtCompileGtdt ( DtPushSubtable (Subtable); ParentTable = DtPeekSubtable (); diff --git a/0019-Support-HEST-in-a-big-endian-world.patch b/0019-Support-HEST-in-a-big-endian-world.patch index baad30e..8fcc14c 100644 --- a/0019-Support-HEST-in-a-big-endian-world.patch +++ b/0019-Support-HEST-in-a-big-endian-world.patch @@ -9,11 +9,11 @@ Signed-off-by: Al Stone source/compiler/dttable1.c | 4 +++- 2 files changed, 9 insertions(+), 5 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -1216,12 +1216,13 @@ AcpiDmDumpHest ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -1435,12 +1435,13 @@ AcpiDmDumpHest ( { ACPI_STATUS Status; ACPI_HEST_HEADER *Subtable; @@ -28,7 +28,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c /* Main table */ -@@ -1235,10 +1236,11 @@ AcpiDmDumpHest ( +@@ -1454,10 +1455,11 @@ AcpiDmDumpHest ( /* Subtables */ Subtable = ACPI_ADD_PTR (ACPI_HEST_HEADER, Table, Offset); @@ -42,7 +42,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c { case ACPI_HEST_TYPE_IA32_CHECK: -@@ -1305,7 +1307,7 @@ AcpiDmDumpHest ( +@@ -1524,7 +1526,7 @@ AcpiDmDumpHest ( /* Cannot continue on unknown type - no length */ AcpiOsPrintf ("\n**** Unknown HEST subtable type 0x%X\n", @@ -51,11 +51,11 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c return; } -Index: acpica-unix2-20210604/source/compiler/dttable1.c +Index: acpica-unix2-20210730/source/compiler/dttable1.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable1.c -+++ acpica-unix2-20210604/source/compiler/dttable1.c -@@ -1207,6 +1207,7 @@ DtCompileHest ( +--- acpica-unix2-20210730.orig/source/compiler/dttable1.c ++++ acpica-unix2-20210730/source/compiler/dttable1.c +@@ -1424,6 +1424,7 @@ DtCompileHest ( DT_FIELD *SubtableStart; ACPI_DMTABLE_INFO *InfoTable; UINT16 Type; @@ -63,7 +63,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c UINT32 BankCount; -@@ -1225,7 +1226,8 @@ DtCompileHest ( +@@ -1442,7 +1443,8 @@ DtCompileHest ( /* Get subtable type */ SubtableStart = *PFieldList; diff --git a/0020-Support-RSDT-RSD-PTR-in-a-big-endian-world.patch b/0020-Support-RSDT-RSD-PTR-in-a-big-endian-world.patch index 6c2d0f0..b6f1812 100644 --- a/0020-Support-RSDT-RSD-PTR-in-a-big-endian-world.patch +++ b/0020-Support-RSDT-RSD-PTR-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump.c +Index: acpica-unix2-20210730/source/common/dmtbdump.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump.c -+++ acpica-unix2-20210604/source/common/dmtbdump.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump.c ++++ acpica-unix2-20210730/source/common/dmtbdump.c @@ -282,6 +282,7 @@ AcpiDmDumpRsdt ( UINT32 Entries; UINT32 Offset; diff --git a/0021-Support-XSDT-in-a-big-endian-world.patch b/0021-Support-XSDT-in-a-big-endian-world.patch index 83877c5..d3bd2b7 100644 --- a/0021-Support-XSDT-in-a-big-endian-world.patch +++ b/0021-Support-XSDT-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump.c +Index: acpica-unix2-20210730/source/common/dmtbdump.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump.c -+++ acpica-unix2-20210604/source/common/dmtbdump.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump.c ++++ acpica-unix2-20210730/source/common/dmtbdump.c @@ -323,6 +323,7 @@ AcpiDmDumpXsdt ( UINT32 Entries; UINT32 Offset; diff --git a/0022-Support-SRAT-in-a-big-endian-world.patch b/0022-Support-SRAT-in-a-big-endian-world.patch index 75bcc04..123d2db 100644 --- a/0022-Support-SRAT-in-a-big-endian-world.patch +++ b/0022-Support-SRAT-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump3.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump3.c +Index: acpica-unix2-20210730/source/common/dmtbdump3.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump3.c -+++ acpica-unix2-20210604/source/common/dmtbdump3.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump3.c ++++ acpica-unix2-20210730/source/common/dmtbdump3.c @@ -173,11 +173,12 @@ AcpiDmDumpSrat ( UINT32 Offset = sizeof (ACPI_TABLE_SRAT); ACPI_SUBTABLE_HEADER *Subtable; diff --git a/0023-Support-SLIT-in-a-big-endian-world.patch b/0023-Support-SLIT-in-a-big-endian-world.patch index e0e324f..9f56350 100644 --- a/0023-Support-SLIT-in-a-big-endian-world.patch +++ b/0023-Support-SLIT-in-a-big-endian-world.patch @@ -9,10 +9,10 @@ Signed-off-by: Al Stone source/compiler/dttable2.c | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump3.c +Index: acpica-unix2-20210730/source/common/dmtbdump3.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump3.c -+++ acpica-unix2-20210604/source/common/dmtbdump3.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump3.c ++++ acpica-unix2-20210730/source/common/dmtbdump3.c @@ -96,11 +96,12 @@ AcpiDmDumpSlit ( UINT32 Localities; UINT32 i; @@ -46,10 +46,10 @@ Index: acpica-unix2-20210604/source/common/dmtbdump3.c { AcpiOsPrintf ( "\n**** Not enough room in table for all localities\n"); -Index: acpica-unix2-20210604/source/compiler/dttable2.c +Index: acpica-unix2-20210730/source/compiler/dttable2.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable2.c -+++ acpica-unix2-20210604/source/compiler/dttable2.c +--- acpica-unix2-20210730.orig/source/compiler/dttable2.c ++++ acpica-unix2-20210730/source/compiler/dttable2.c @@ -1837,7 +1837,7 @@ DtCompileSlit ( ParentTable = DtPeekSubtable (); DtInsertSubtable (ParentTable, Subtable); diff --git a/0024-Support-MSCT-in-a-big-endian-world.patch b/0024-Support-MSCT-in-a-big-endian-world.patch index bb93fe2..4f972b0 100644 --- a/0024-Support-MSCT-in-a-big-endian-world.patch +++ b/0024-Support-MSCT-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump2.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -1133,11 +1133,12 @@ AcpiDmDumpMsct ( ACPI_STATUS Status; UINT32 Offset = sizeof (ACPI_TABLE_MSCT); diff --git a/0025-Support-MPST-in-a-big-endian-world.patch b/0025-Support-MPST-in-a-big-endian-world.patch index 600c6ec..5a12316 100644 --- a/0025-Support-MPST-in-a-big-endian-world.patch +++ b/0025-Support-MPST-in-a-big-endian-world.patch @@ -9,10 +9,10 @@ Signed-off-by: Al Stone source/compiler/dttable2.c | 8 ++++---- 2 files changed, 23 insertions(+), 18 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -995,11 +995,13 @@ AcpiDmDumpMpst ( UINT16 SubtableCount; UINT32 PowerStateCount; @@ -117,10 +117,10 @@ Index: acpica-unix2-20210604/source/common/dmtbdump2.c sizeof (ACPI_MPST_POWER_DATA), AcpiDmTableInfoMpst2); if (ACPI_FAILURE (Status)) { -Index: acpica-unix2-20210604/source/compiler/dttable2.c +Index: acpica-unix2-20210730/source/compiler/dttable2.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable2.c -+++ acpica-unix2-20210604/source/compiler/dttable2.c +--- acpica-unix2-20210730.orig/source/compiler/dttable2.c ++++ acpica-unix2-20210730/source/compiler/dttable2.c @@ -350,7 +350,7 @@ DtCompileMpst ( DtPushSubtable (Subtable); diff --git a/0026-Support-NFIT-in-a-big-endian-world.patch b/0026-Support-NFIT-in-a-big-endian-world.patch index cf5267d..c774903 100644 --- a/0026-Support-NFIT-in-a-big-endian-world.patch +++ b/0026-Support-NFIT-in-a-big-endian-world.patch @@ -13,11 +13,11 @@ Signed-off-by: Al Stone source/compiler/dttable2.c | 11 ++++++--- 3 files changed, 39 insertions(+), 25 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtable.c +Index: acpica-unix2-20210730/source/common/dmtable.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtable.c -+++ acpica-unix2-20210604/source/common/dmtable.c -@@ -1526,13 +1526,13 @@ AcpiDmDumpTable ( +--- acpica-unix2-20210730.orig/source/common/dmtable.c ++++ acpica-unix2-20210730/source/common/dmtable.c +@@ -1672,13 +1672,13 @@ AcpiDmDumpTable ( /* NFIT subtable types */ @@ -33,10 +33,10 @@ Index: acpica-unix2-20210604/source/common/dmtable.c AcpiDmNfitSubnames[Temp16]); break; -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -1192,18 +1192,23 @@ AcpiDmDumpNfit ( ACPI_STATUS Status; UINT32 Offset = sizeof (ACPI_TABLE_NFIT); @@ -175,10 +175,10 @@ Index: acpica-unix2-20210604/source/common/dmtbdump2.c } } -Index: acpica-unix2-20210604/source/compiler/dttable2.c +Index: acpica-unix2-20210730/source/compiler/dttable2.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable2.c -+++ acpica-unix2-20210604/source/compiler/dttable2.c +--- acpica-unix2-20210730.orig/source/compiler/dttable2.c ++++ acpica-unix2-20210730/source/compiler/dttable2.c @@ -497,6 +497,7 @@ DtCompileNfit ( UINT32 Count; ACPI_NFIT_INTERLEAVE *Interleave = NULL; diff --git a/0027-Support-SDEV-in-a-big-endian-world.patch b/0027-Support-SDEV-in-a-big-endian-world.patch index 800098e..d933b58 100644 --- a/0027-Support-SDEV-in-a-big-endian-world.patch +++ b/0027-Support-SDEV-in-a-big-endian-world.patch @@ -9,10 +9,10 @@ Signed-off-by: Al Stone source/compiler/dttable2.c | 27 ++++++++++++++++++++- 2 files changed, 52 insertions(+), 23 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -2125,7 +2125,7 @@ AcpiDmDumpSdev ( ACPI_SDEV_NAMESPACE *Namesp; ACPI_DMTABLE_INFO *InfoTable; @@ -145,10 +145,10 @@ Index: acpica-unix2-20210604/source/common/dmtbdump2.c + SubtableLength); } } -Index: acpica-unix2-20210604/source/compiler/dttable2.c +Index: acpica-unix2-20210730/source/compiler/dttable2.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable2.c -+++ acpica-unix2-20210604/source/compiler/dttable2.c +--- acpica-unix2-20210730.orig/source/compiler/dttable2.c ++++ acpica-unix2-20210730/source/compiler/dttable2.c @@ -1493,6 +1493,7 @@ DtCompileSdev ( UINT32 EntryCount; ACPI_SDEV_SECURE_COMPONENT *SecureComponent = NULL; diff --git a/0028-Support-HMAT-in-a-big-endian-world.patch b/0028-Support-HMAT-in-a-big-endian-world.patch index eb37f70..4ee8edf 100644 --- a/0028-Support-HMAT-in-a-big-endian-world.patch +++ b/0028-Support-HMAT-in-a-big-endian-world.patch @@ -9,11 +9,11 @@ Signed-off-by: Al Stone source/compiler/dttable1.c | 24 ++++++++++--- 2 files changed, 59 insertions(+), 35 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -1379,37 +1379,45 @@ AcpiDmDumpHmat ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -1598,37 +1598,45 @@ AcpiDmDumpHmat ( UINT32 Length; ACPI_DMTABLE_INFO *InfoTable; UINT32 i, j; @@ -65,7 +65,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c { case ACPI_HMAT_TYPE_ADDRESS_RANGE: -@@ -1432,7 +1440,7 @@ AcpiDmDumpHmat ( +@@ -1651,7 +1659,7 @@ AcpiDmDumpHmat ( default: AcpiOsPrintf ("\n**** Unknown HMAT structure type 0x%X\n", @@ -74,7 +74,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c /* Attempt to continue */ -@@ -1441,13 +1449,13 @@ AcpiDmDumpHmat ( +@@ -1660,13 +1668,13 @@ AcpiDmDumpHmat ( /* Dump HMAT structure body */ @@ -91,7 +91,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c if (ACPI_FAILURE (Status)) { return; -@@ -1455,7 +1463,7 @@ AcpiDmDumpHmat ( +@@ -1674,7 +1682,7 @@ AcpiDmDumpHmat ( /* Dump HMAT structure additionals */ @@ -100,7 +100,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c { case ACPI_HMAT_TYPE_LOCALITY: -@@ -1464,15 +1472,16 @@ AcpiDmDumpHmat ( +@@ -1683,15 +1691,16 @@ AcpiDmDumpHmat ( /* Dump initiator proximity domains */ @@ -121,7 +121,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c ACPI_ADD_PTR (ACPI_HMAT_STRUCTURE, HmatStruct, SubtableOffset), 4, AcpiDmTableInfoHmat1a); if (ACPI_FAILURE (Status)) -@@ -1485,15 +1494,16 @@ AcpiDmDumpHmat ( +@@ -1704,15 +1713,16 @@ AcpiDmDumpHmat ( /* Dump target proximity domains */ @@ -142,7 +142,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c ACPI_ADD_PTR (ACPI_HMAT_STRUCTURE, HmatStruct, SubtableOffset), 4, AcpiDmTableInfoHmat1b); if (ACPI_FAILURE (Status)) -@@ -1506,18 +1516,17 @@ AcpiDmDumpHmat ( +@@ -1725,18 +1735,17 @@ AcpiDmDumpHmat ( /* Dump latency/bandwidth entris */ @@ -166,7 +166,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c ACPI_ADD_PTR (ACPI_HMAT_STRUCTURE, HmatStruct, SubtableOffset), 2, AcpiDmTableInfoHmat1c); if (ACPI_FAILURE(Status)) -@@ -1537,15 +1546,16 @@ AcpiDmDumpHmat ( +@@ -1756,15 +1765,16 @@ AcpiDmDumpHmat ( /* Dump SMBIOS handles */ @@ -187,7 +187,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c ACPI_ADD_PTR (ACPI_HMAT_STRUCTURE, HmatStruct, SubtableOffset), 2, AcpiDmTableInfoHmat2a); if (ACPI_FAILURE (Status)) -@@ -1565,6 +1575,6 @@ AcpiDmDumpHmat ( +@@ -1784,6 +1794,6 @@ AcpiDmDumpHmat ( NextSubtable: /* Point to next HMAT structure subtable */ @@ -195,11 +195,11 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c + Offset += (HmatStructLength); } } -Index: acpica-unix2-20210604/source/compiler/dttable1.c +Index: acpica-unix2-20210730/source/compiler/dttable1.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable1.c -+++ acpica-unix2-20210604/source/compiler/dttable1.c -@@ -1369,6 +1369,8 @@ DtCompileHmat ( +--- acpica-unix2-20210730.orig/source/compiler/dttable1.c ++++ acpica-unix2-20210730/source/compiler/dttable1.c +@@ -1586,6 +1586,8 @@ DtCompileHmat ( UINT32 TgtPDNumber; UINT64 EntryNumber; UINT16 SMBIOSHandleNumber; @@ -208,7 +208,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c ParentTable = DtPeekSubtable (); -@@ -1399,7 +1401,8 @@ DtCompileHmat ( +@@ -1616,7 +1618,8 @@ DtCompileHmat ( /* Compile HMAT structure body */ @@ -218,7 +218,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c { case ACPI_HMAT_TYPE_ADDRESS_RANGE: -@@ -1432,7 +1435,7 @@ DtCompileHmat ( +@@ -1649,7 +1652,7 @@ DtCompileHmat ( /* Compile HMAT structure additionals */ @@ -227,7 +227,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c { case ACPI_HMAT_TYPE_LOCALITY: -@@ -1458,7 +1461,7 @@ DtCompileHmat ( +@@ -1675,7 +1678,7 @@ DtCompileHmat ( HmatStruct->Length += Subtable->Length; IntPDNumber++; } @@ -236,7 +236,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c /* Compile target proximity domain list */ -@@ -1479,7 +1482,7 @@ DtCompileHmat ( +@@ -1696,7 +1699,7 @@ DtCompileHmat ( HmatStruct->Length += Subtable->Length; TgtPDNumber++; } @@ -245,7 +245,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c /* Save start of the entries for reporting errors */ -@@ -1505,6 +1508,9 @@ DtCompileHmat ( +@@ -1722,6 +1725,9 @@ DtCompileHmat ( EntryNumber++; } @@ -255,7 +255,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c /* Validate number of entries */ if (EntryNumber != -@@ -1538,11 +1544,19 @@ DtCompileHmat ( +@@ -1755,11 +1761,19 @@ DtCompileHmat ( HmatStruct->Length += Subtable->Length; SMBIOSHandleNumber++; } diff --git a/0029-Support-PDTT-in-a-big-endian-world.patch b/0029-Support-PDTT-in-a-big-endian-world.patch index 8511288..c1a0144 100644 --- a/0029-Support-PDTT-in-a-big-endian-world.patch +++ b/0029-Support-PDTT-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -1498,13 +1498,13 @@ AcpiDmDumpPdtt ( { ACPI_STATUS Status; diff --git a/0030-Support-PPTT-in-a-big-endian-world.patch b/0030-Support-PPTT-in-a-big-endian-world.patch index c4d062a..4e63eeb 100644 --- a/0030-Support-PPTT-in-a-big-endian-world.patch +++ b/0030-Support-PPTT-in-a-big-endian-world.patch @@ -9,10 +9,10 @@ Signed-off-by: Al Stone source/compiler/dttable2.c | 7 +++++-- 2 files changed, 15 insertions(+), 9 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -1785,6 +1785,8 @@ AcpiDmDumpPptt ( UINT32 Offset = sizeof (ACPI_TABLE_FPDT); ACPI_DMTABLE_INFO *InfoTable; @@ -70,10 +70,10 @@ Index: acpica-unix2-20210604/source/common/dmtbdump2.c ACPI_ADD_PTR (ACPI_SUBTABLE_HEADER, Subtable, SubtableOffset), 4, AcpiDmTableInfoPptt0a); if (ACPI_FAILURE (Status)) -Index: acpica-unix2-20210604/source/compiler/dttable2.c +Index: acpica-unix2-20210730/source/compiler/dttable2.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable2.c -+++ acpica-unix2-20210604/source/compiler/dttable2.c +--- acpica-unix2-20210730.orig/source/compiler/dttable2.c ++++ acpica-unix2-20210730/source/compiler/dttable2.c @@ -1123,6 +1123,7 @@ DtCompilePptt ( DT_FIELD **PFieldList = (DT_FIELD **) List; DT_FIELD *SubtableStart; diff --git a/0031-Support-PCCT-in-a-big-endian-world.patch b/0031-Support-PCCT-in-a-big-endian-world.patch index 00d908e..7a51793 100644 --- a/0031-Support-PCCT-in-a-big-endian-world.patch +++ b/0031-Support-PCCT-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump2.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -1394,13 +1394,13 @@ AcpiDmDumpPcct ( ACPI_STATUS Status; ACPI_PCCT_SUBSPACE *Subtable; diff --git a/0032-Support-WDAT-in-a-big-endian-world.patch b/0032-Support-WDAT-in-a-big-endian-world.patch index d28ec57..401f038 100644 --- a/0032-Support-WDAT-in-a-big-endian-world.patch +++ b/0032-Support-WDAT-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump3.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump3.c +Index: acpica-unix2-20210730/source/common/dmtbdump3.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump3.c -+++ acpica-unix2-20210604/source/common/dmtbdump3.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump3.c ++++ acpica-unix2-20210730/source/common/dmtbdump3.c @@ -675,11 +675,12 @@ AcpiDmDumpWdat ( ACPI_STATUS Status; UINT32 Offset = sizeof (ACPI_TABLE_WDAT); diff --git a/0033-Support-TCPA-in-a-big-endian-world.patch b/0033-Support-TCPA-in-a-big-endian-world.patch index 21e8818..b10373a 100644 --- a/0033-Support-TCPA-in-a-big-endian-world.patch +++ b/0033-Support-TCPA-in-a-big-endian-world.patch @@ -9,10 +9,10 @@ Signed-off-by: Al Stone source/compiler/dttable2.c | 4 +++- 2 files changed, 11 insertions(+), 6 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump3.c +Index: acpica-unix2-20210730/source/common/dmtbdump3.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump3.c -+++ acpica-unix2-20210604/source/common/dmtbdump3.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump3.c ++++ acpica-unix2-20210730/source/common/dmtbdump3.c @@ -401,11 +401,13 @@ AcpiDmDumpTcpa ( ACPI_TABLE_TCPA_HDR *Subtable = ACPI_ADD_PTR ( ACPI_TABLE_TCPA_HDR, Table, Offset); @@ -52,10 +52,10 @@ Index: acpica-unix2-20210604/source/common/dmtbdump3.c break; default: -Index: acpica-unix2-20210604/source/compiler/dttable2.c +Index: acpica-unix2-20210730/source/compiler/dttable2.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable2.c -+++ acpica-unix2-20210604/source/compiler/dttable2.c +--- acpica-unix2-20210730.orig/source/compiler/dttable2.c ++++ acpica-unix2-20210730/source/compiler/dttable2.c @@ -2139,6 +2139,7 @@ DtCompileTcpa ( ACPI_TABLE_TCPA_HDR *TcpaHeader; DT_SUBTABLE *ParentTable; diff --git a/0034-Support-STAO-in-a-big-endian-world.patch b/0034-Support-STAO-in-a-big-endian-world.patch index e338c5f..2fcb5e8 100644 --- a/0034-Support-STAO-in-a-big-endian-world.patch +++ b/0034-Support-STAO-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump3.c +Index: acpica-unix2-20210730/source/common/dmtbdump3.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump3.c -+++ acpica-unix2-20210604/source/common/dmtbdump3.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump3.c ++++ acpica-unix2-20210730/source/common/dmtbdump3.c @@ -285,14 +285,14 @@ AcpiDmDumpStao ( { ACPI_STATUS Status; diff --git a/0035-Support-SLIC-and-MSDM-in-a-big-endian-world.patch b/0035-Support-SLIC-and-MSDM-in-a-big-endian-world.patch index 3f8fa6d..a9f0b5b 100644 --- a/0035-Support-SLIC-and-MSDM-in-a-big-endian-world.patch +++ b/0035-Support-SLIC-and-MSDM-in-a-big-endian-world.patch @@ -13,10 +13,10 @@ Signed-off-by: Al Stone source/common/dmtbdump3.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump3.c +Index: acpica-unix2-20210730/source/common/dmtbdump3.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump3.c -+++ acpica-unix2-20210604/source/common/dmtbdump3.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump3.c ++++ acpica-unix2-20210730/source/common/dmtbdump3.c @@ -68,9 +68,11 @@ void AcpiDmDumpSlic ( ACPI_TABLE_HEADER *Table) diff --git a/0036-Support-MCFG-in-a-big-endian-world.patch b/0036-Support-MCFG-in-a-big-endian-world.patch index c5a30da..634e9b8 100644 --- a/0036-Support-MCFG-in-a-big-endian-world.patch +++ b/0036-Support-MCFG-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump2.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -930,11 +930,12 @@ AcpiDmDumpMcfg ( ACPI_STATUS Status; UINT32 Offset = sizeof (ACPI_TABLE_MCFG); diff --git a/0037-Support-LPIT-in-a-big-endian-world.patch b/0037-Support-LPIT-in-a-big-endian-world.patch index e5e83d3..d53a3a2 100644 --- a/0037-Support-LPIT-in-a-big-endian-world.patch +++ b/0037-Support-LPIT-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -690,7 +690,7 @@ AcpiDmDumpLpit ( { ACPI_STATUS Status; diff --git a/0038-Support-PMTT-in-a-big-endian-world.patch b/0038-Support-PMTT-in-a-big-endian-world.patch index 4c6338c..7e2bd91 100644 --- a/0038-Support-PMTT-in-a-big-endian-world.patch +++ b/0038-Support-PMTT-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump2.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -1686,8 +1686,9 @@ AcpiDmDumpPmtt ( { ACPI_STATUS Status; diff --git a/0039-Support-TPM2-in-a-big-endian-world.patch b/0039-Support-TPM2-in-a-big-endian-world.patch index 08e3522..99bdf64 100644 --- a/0039-Support-TPM2-in-a-big-endian-world.patch +++ b/0039-Support-TPM2-in-a-big-endian-world.patch @@ -9,10 +9,10 @@ Signed-off-by: Al Stone source/compiler/dttable2.c | 8 +++++--- 2 files changed, 15 insertions(+), 11 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump3.c +Index: acpica-unix2-20210730/source/common/dmtbdump3.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump3.c -+++ acpica-unix2-20210604/source/common/dmtbdump3.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump3.c ++++ acpica-unix2-20210730/source/common/dmtbdump3.c @@ -470,11 +470,12 @@ AcpiDmDumpTpm2Rev3 ( ACPI_TABLE_TPM23 *CommonHeader = ACPI_CAST_PTR (ACPI_TABLE_TPM23, Table); ACPI_TPM23_TRAILER *Subtable = ACPI_ADD_PTR (ACPI_TPM23_TRAILER, Table, Offset); @@ -77,10 +77,10 @@ Index: acpica-unix2-20210604/source/common/dmtbdump3.c break; default: -Index: acpica-unix2-20210604/source/compiler/dttable2.c +Index: acpica-unix2-20210730/source/compiler/dttable2.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable2.c -+++ acpica-unix2-20210604/source/compiler/dttable2.c +--- acpica-unix2-20210730.orig/source/compiler/dttable2.c ++++ acpica-unix2-20210730/source/compiler/dttable2.c @@ -2267,6 +2267,7 @@ DtCompileTpm2 ( DT_SUBTABLE *ParentTable; ACPI_STATUS Status = AE_OK; diff --git a/0040-Support-S3PT-in-a-big-endian-world.patch b/0040-Support-S3PT-in-a-big-endian-world.patch index 07e0a24..9f5782d 100644 --- a/0040-Support-S3PT-in-a-big-endian-world.patch +++ b/0040-Support-S3PT-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Subject: [PATCH 40/45] Support S3PT in a big-endian world source/compiler/dttable2.c | 4 +++- 2 files changed, 12 insertions(+), 7 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -2039,6 +2039,8 @@ AcpiDmDumpS3pt ( ACPI_FPDT_HEADER *Subtable; ACPI_DMTABLE_INFO *InfoTable; @@ -72,10 +72,10 @@ Index: acpica-unix2-20210604/source/common/dmtbdump2.c } -Index: acpica-unix2-20210604/source/compiler/dttable2.c +Index: acpica-unix2-20210730/source/compiler/dttable2.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable2.c -+++ acpica-unix2-20210604/source/compiler/dttable2.c +--- acpica-unix2-20210730.orig/source/compiler/dttable2.c ++++ acpica-unix2-20210730/source/compiler/dttable2.c @@ -1406,6 +1406,7 @@ DtCompileS3pt ( DT_SUBTABLE *ParentTable; ACPI_DMTABLE_INFO *InfoTable; diff --git a/0041-Support-IORT-in-a-big-endian-world.patch b/0041-Support-IORT-in-a-big-endian-world.patch index ccc6e77..6e10da6 100644 --- a/0041-Support-IORT-in-a-big-endian-world.patch +++ b/0041-Support-IORT-in-a-big-endian-world.patch @@ -9,10 +9,10 @@ Signed-off-by: Al Stone source/compiler/dttable1.c | 40 ++++++++++-------- 2 files changed, 72 insertions(+), 53 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -77,17 +77,20 @@ AcpiDmDumpIort ( ACPI_IORT_RMR *IortRmr = NULL; UINT32 Offset; @@ -246,11 +246,11 @@ Index: acpica-unix2-20210604/source/common/dmtbdump2.c } } -Index: acpica-unix2-20210604/source/compiler/dttable1.c +Index: acpica-unix2-20210730/source/compiler/dttable1.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable1.c -+++ acpica-unix2-20210604/source/compiler/dttable1.c -@@ -1592,6 +1592,7 @@ DtCompileIort ( +--- acpica-unix2-20210730.orig/source/compiler/dttable1.c ++++ acpica-unix2-20210730/source/compiler/dttable1.c +@@ -1809,6 +1809,7 @@ DtCompileIort ( ACPI_IORT_ITS_GROUP *IortItsGroup; ACPI_IORT_SMMU *IortSmmu; ACPI_IORT_RMR *IortRmr; @@ -258,7 +258,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c UINT32 NodeNumber; UINT32 NodeLength; UINT32 IdMappingNumber; -@@ -1637,7 +1638,7 @@ DtCompileIort ( +@@ -1854,7 +1855,7 @@ DtCompileIort ( * Optionally allows the generic data types to be used for filling * this field. */ @@ -267,7 +267,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c Status = DtCompileTable (PFieldList, AcpiDmTableInfoIortPad, &Subtable); if (ACPI_FAILURE (Status)) -@@ -1647,7 +1648,7 @@ DtCompileIort ( +@@ -1864,7 +1865,7 @@ DtCompileIort ( if (Subtable) { DtInsertSubtable (ParentTable, Subtable); @@ -276,7 +276,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c } else { -@@ -1657,7 +1658,7 @@ DtCompileIort ( +@@ -1874,7 +1875,7 @@ DtCompileIort ( { return (Status); } @@ -285,7 +285,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c } NodeNumber = 0; -@@ -1721,7 +1722,7 @@ DtCompileIort ( +@@ -1938,7 +1939,7 @@ DtCompileIort ( ItsNumber++; } @@ -294,7 +294,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c break; case ACPI_IORT_NODE_NAMED_COMPONENT: -@@ -1755,15 +1756,18 @@ DtCompileIort ( +@@ -1972,15 +1973,18 @@ DtCompileIort ( } else { @@ -316,7 +316,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c &Subtable); if (ACPI_FAILURE (Status)) { -@@ -1771,7 +1775,7 @@ DtCompileIort ( +@@ -1988,7 +1992,7 @@ DtCompileIort ( } DtInsertSubtable (ParentTable, Subtable); @@ -325,7 +325,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c } } break; -@@ -1804,7 +1808,7 @@ DtCompileIort ( +@@ -2021,7 +2025,7 @@ DtCompileIort ( /* Compile global interrupt array */ @@ -334,7 +334,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c Status = DtCompileTable (PFieldList, AcpiDmTableInfoIort3a, &Subtable); if (ACPI_FAILURE (Status)) -@@ -1818,7 +1822,7 @@ DtCompileIort ( +@@ -2035,7 +2039,7 @@ DtCompileIort ( /* Compile context interrupt array */ ContextIrptNumber = 0; @@ -343,7 +343,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c while (*PFieldList) { Status = DtCompileTable (PFieldList, AcpiDmTableInfoIort3b, -@@ -1838,12 +1842,12 @@ DtCompileIort ( +@@ -2055,12 +2059,12 @@ DtCompileIort ( ContextIrptNumber++; } @@ -358,7 +358,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c while (*PFieldList) { Status = DtCompileTable (PFieldList, AcpiDmTableInfoIort3c, -@@ -1863,7 +1867,7 @@ DtCompileIort ( +@@ -2080,7 +2084,7 @@ DtCompileIort ( PmuIrptNumber++; } @@ -367,7 +367,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c break; case ACPI_IORT_NODE_SMMU_V3: -@@ -1908,7 +1912,7 @@ DtCompileIort ( +@@ -2125,7 +2129,7 @@ DtCompileIort ( /* Compile RMR Descriptors */ RmrCount = 0; @@ -376,7 +376,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c while (*PFieldList) { Status = DtCompileTable (PFieldList, AcpiDmTableInfoIort6a, -@@ -1928,7 +1932,7 @@ DtCompileIort ( +@@ -2145,7 +2149,7 @@ DtCompileIort ( RmrCount++; } @@ -385,7 +385,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c break; default: -@@ -1939,7 +1943,7 @@ DtCompileIort ( +@@ -2156,7 +2160,7 @@ DtCompileIort ( /* Compile Array of ID mappings */ @@ -394,7 +394,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c IdMappingNumber = 0; while (*PFieldList) { -@@ -1960,7 +1964,7 @@ DtCompileIort ( +@@ -2177,7 +2181,7 @@ DtCompileIort ( IdMappingNumber++; } @@ -403,7 +403,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c if (!IdMappingNumber) { IortNode->MappingOffset = 0; -@@ -1975,7 +1979,7 @@ DtCompileIort ( +@@ -2192,7 +2196,7 @@ DtCompileIort ( NodeNumber++; } diff --git a/0042-Support-IVRS-in-a-big-endian-world.patch b/0042-Support-IVRS-in-a-big-endian-world.patch index 6d8bab7..c9b31ef 100644 --- a/0042-Support-IVRS-in-a-big-endian-world.patch +++ b/0042-Support-IVRS-in-a-big-endian-world.patch @@ -8,10 +8,10 @@ Signed-off-by: Al Stone source/common/dmtbdump2.c | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump2.c +Index: acpica-unix2-20210730/source/common/dmtbdump2.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump2.c -+++ acpica-unix2-20210604/source/common/dmtbdump2.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump2.c ++++ acpica-unix2-20210730/source/common/dmtbdump2.c @@ -419,11 +419,14 @@ AcpiDmDumpIvrs ( ACPI_IVRS_DE_HEADER *DeviceEntry; ACPI_IVRS_HEADER *Subtable; diff --git a/0043-Support-DSDT-SSDT-in-a-big-endian-world.patch b/0043-Support-DSDT-SSDT-in-a-big-endian-world.patch index 60a1e72..1f5c3dd 100644 --- a/0043-Support-DSDT-SSDT-in-a-big-endian-world.patch +++ b/0043-Support-DSDT-SSDT-in-a-big-endian-world.patch @@ -42,10 +42,10 @@ Signed-off-by: Al Stone source/components/utilities/utresrc.c | 2 +- 28 files changed, 721 insertions(+), 341 deletions(-) -Index: acpica-unix2-20210604/source/common/adwalk.c +Index: acpica-unix2-20210730/source/common/adwalk.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/adwalk.c -+++ acpica-unix2-20210604/source/common/adwalk.c +--- acpica-unix2-20210730.orig/source/common/adwalk.c ++++ acpica-unix2-20210730/source/common/adwalk.c @@ -679,7 +679,8 @@ AcpiDmLoadDescendingOp ( if (!Path && Op->Common.AmlOpcode == AML_INT_NAMEDFIELD_OP) @@ -56,10 +56,10 @@ Index: acpica-unix2-20210604/source/common/adwalk.c FieldPath[4] = 0; Path = FieldPath; } -Index: acpica-unix2-20210604/source/common/dmrestag.c +Index: acpica-unix2-20210730/source/common/dmrestag.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmrestag.c -+++ acpica-unix2-20210604/source/common/dmrestag.c +--- acpica-unix2-20210730.orig/source/common/dmrestag.c ++++ acpica-unix2-20210730/source/common/dmrestag.c @@ -1048,7 +1048,7 @@ AcpiDmAddResourcesToNamespace ( * NextOp contains the Aml pointer and the Aml length */ @@ -69,10 +69,10 @@ Index: acpica-unix2-20210604/source/common/dmrestag.c AcpiDmAddResourceToNamespace, (void **) BufferNode); } -Index: acpica-unix2-20210604/source/common/dmtables.c +Index: acpica-unix2-20210730/source/common/dmtables.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtables.c -+++ acpica-unix2-20210604/source/common/dmtables.c +--- acpica-unix2-20210730.orig/source/common/dmtables.c ++++ acpica-unix2-20210730/source/common/dmtables.c @@ -142,6 +142,10 @@ AdCreateTableHeader ( ACPI_TABLE_HEADER *Table) { @@ -133,10 +133,10 @@ Index: acpica-unix2-20210604/source/common/dmtables.c AmlStart = ((UINT8 *) Table + sizeof (ACPI_TABLE_HEADER)); AcpiUtSetIntegerWidth (Table->Revision); -Index: acpica-unix2-20210604/source/common/dmtbdump.c +Index: acpica-unix2-20210730/source/common/dmtbdump.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump.c -+++ acpica-unix2-20210604/source/common/dmtbdump.c +--- acpica-unix2-20210730.orig/source/common/dmtbdump.c ++++ acpica-unix2-20210730/source/common/dmtbdump.c @@ -338,8 +338,7 @@ AcpiDmDumpXsdt ( for (i = 0; i < Entries; i++) { @@ -147,43 +147,45 @@ Index: acpica-unix2-20210604/source/common/dmtbdump.c Offset += sizeof (UINT64); } } -Index: acpica-unix2-20210604/source/common/dmtbdump3.c +Index: acpica-unix2-20210730/source/common/dmtbdump3.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump3.c -+++ acpica-unix2-20210604/source/common/dmtbdump3.c -@@ -736,13 +736,13 @@ AcpiDmDumpWpbt ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump3.c ++++ acpica-unix2-20210730/source/common/dmtbdump3.c +@@ -736,12 +736,13 @@ AcpiDmDumpWpbt ( { ACPI_STATUS Status; ACPI_TABLE_WPBT *Subtable; -- UINT32 Length = Table->Length; + UINT32 TableLength = AcpiUtReadUint32 (&Table->Length); UINT16 ArgumentsLength; /* Dump the main table */ -- Status = AcpiDmDumpTable (Length, 0, Table, 0, AcpiDmTableInfoWpbt); +- Status = AcpiDmDumpTable (Table->Length, 0, Table, 0, AcpiDmTableInfoWpbt); + Status = AcpiDmDumpTable (TableLength, 0, Table, 0, AcpiDmTableInfoWpbt); if (ACPI_FAILURE (Status)) { return; -@@ -751,10 +751,10 @@ AcpiDmDumpWpbt ( +@@ -750,13 +751,13 @@ AcpiDmDumpWpbt ( /* Extract the arguments buffer length from the main table */ Subtable = ACPI_CAST_PTR (ACPI_TABLE_WPBT, Table); - ArgumentsLength = Subtable->ArgumentsLength; + ArgumentsLength = AcpiUtReadUint16 (&Subtable->ArgumentsLength); - /* Dump the arguments buffer */ + /* Dump the arguments buffer if present */ -- (void) AcpiDmDumpTable (Table->Length, 0, Table, ArgumentsLength, -+ (void) AcpiDmDumpTable (TableLength, 0, Table, ArgumentsLength, - AcpiDmTableInfoWpbt0); + if (ArgumentsLength) + { +- (void) AcpiDmDumpTable (Table->Length, 0, Table, ArgumentsLength, ++ (void) AcpiDmDumpTable (TableLength, 0, Table, ArgumentsLength, + AcpiDmTableInfoWpbt0); + } } -Index: acpica-unix2-20210604/source/compiler/aslcodegen.c +Index: acpica-unix2-20210730/source/compiler/aslcodegen.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslcodegen.c -+++ acpica-unix2-20210604/source/compiler/aslcodegen.c +--- acpica-unix2-20210730.orig/source/compiler/aslcodegen.c ++++ acpica-unix2-20210730/source/compiler/aslcodegen.c @@ -238,6 +238,10 @@ CgWriteAmlOpcode ( { UINT8 PkgLenFirstByte; @@ -346,10 +348,10 @@ Index: acpica-unix2-20210604/source/compiler/aslcodegen.c return; -Index: acpica-unix2-20210604/source/compiler/aslopcodes.c +Index: acpica-unix2-20210730/source/compiler/aslopcodes.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslopcodes.c -+++ acpica-unix2-20210604/source/compiler/aslopcodes.c +--- acpica-unix2-20210730.orig/source/compiler/aslopcodes.c ++++ acpica-unix2-20210730/source/compiler/aslopcodes.c @@ -511,7 +511,8 @@ OpcDoUnicode ( for (i = 0; i < Count; i++) @@ -360,10 +362,10 @@ Index: acpica-unix2-20210604/source/compiler/aslopcodes.c } /* -Index: acpica-unix2-20210604/source/compiler/aslrestype1.c +Index: acpica-unix2-20210730/source/compiler/aslrestype1.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslrestype1.c -+++ acpica-unix2-20210604/source/compiler/aslrestype1.c +--- acpica-unix2-20210730.orig/source/compiler/aslrestype1.c ++++ acpica-unix2-20210730/source/compiler/aslrestype1.c @@ -143,6 +143,7 @@ RsDoMemory24Descriptor ( ASL_RESOURCE_NODE *Rnode; UINT32 CurrentByteOffset; @@ -548,10 +550,10 @@ Index: acpica-unix2-20210604/source/compiler/aslrestype1.c RsCreateDwordField (InitializerOp, ACPI_RESTAG_LENGTH, CurrentByteOffset + ASL_RESDESC_OFFSET (FixedMemory32.AddressLength)); break; -Index: acpica-unix2-20210604/source/compiler/aslrestype1i.c +Index: acpica-unix2-20210730/source/compiler/aslrestype1i.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslrestype1i.c -+++ acpica-unix2-20210604/source/compiler/aslrestype1i.c +--- acpica-unix2-20210730.orig/source/compiler/aslrestype1i.c ++++ acpica-unix2-20210730/source/compiler/aslrestype1i.c @@ -199,6 +199,7 @@ RsDoFixedDmaDescriptor ( ASL_RESOURCE_NODE *Rnode; UINT32 CurrentByteOffset; @@ -669,10 +671,10 @@ Index: acpica-unix2-20210604/source/compiler/aslrestype1i.c + Descriptor->Irq.IrqMask = AcpiUtReadUint16(&IrqMask); return (Rnode); } -Index: acpica-unix2-20210604/source/compiler/aslrestype2.c +Index: acpica-unix2-20210730/source/compiler/aslrestype2.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslrestype2.c -+++ acpica-unix2-20210604/source/compiler/aslrestype2.c +--- acpica-unix2-20210730.orig/source/compiler/aslrestype2.c ++++ acpica-unix2-20210730/source/compiler/aslrestype2.c @@ -77,6 +77,8 @@ RsDoGeneralRegisterDescriptor ( ASL_RESOURCE_NODE *Rnode; UINT32 CurrentByteOffset; @@ -749,10 +751,10 @@ Index: acpica-unix2-20210604/source/compiler/aslrestype2.c /* Point to end-of-descriptor for vendor data */ -Index: acpica-unix2-20210604/source/compiler/aslrestype2d.c +Index: acpica-unix2-20210730/source/compiler/aslrestype2d.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslrestype2d.c -+++ acpica-unix2-20210604/source/compiler/aslrestype2d.c +--- acpica-unix2-20210730.orig/source/compiler/aslrestype2d.c ++++ acpica-unix2-20210730/source/compiler/aslrestype2d.c @@ -84,6 +84,8 @@ RsDoDwordIoDescriptor ( UINT32 CurrentByteOffset; UINT32 i; @@ -999,10 +1001,10 @@ Index: acpica-unix2-20210604/source/compiler/aslrestype2d.c Descriptor->Address32.Flags, MinOp, MaxOp, LengthOp, GranOp, Info->DescriptorTypeOp); -Index: acpica-unix2-20210604/source/compiler/aslrestype2q.c +Index: acpica-unix2-20210730/source/compiler/aslrestype2q.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslrestype2q.c -+++ acpica-unix2-20210604/source/compiler/aslrestype2q.c +--- acpica-unix2-20210730.orig/source/compiler/aslrestype2q.c ++++ acpica-unix2-20210730/source/compiler/aslrestype2q.c @@ -84,6 +84,7 @@ RsDoQwordIoDescriptor ( UINT32 CurrentByteOffset; UINT32 i; @@ -1231,10 +1233,10 @@ Index: acpica-unix2-20210604/source/compiler/aslrestype2q.c Descriptor->Address64.Flags, MinOp, MaxOp, LengthOp, GranOp, Info->DescriptorTypeOp); -Index: acpica-unix2-20210604/source/compiler/aslrestype2w.c +Index: acpica-unix2-20210730/source/compiler/aslrestype2w.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslrestype2w.c -+++ acpica-unix2-20210604/source/compiler/aslrestype2w.c +--- acpica-unix2-20210730.orig/source/compiler/aslrestype2w.c ++++ acpica-unix2-20210730/source/compiler/aslrestype2w.c @@ -84,6 +84,7 @@ RsDoWordIoDescriptor ( UINT32 CurrentByteOffset; UINT32 i; @@ -1482,24 +1484,24 @@ Index: acpica-unix2-20210604/source/compiler/aslrestype2w.c Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) + OptionIndex + StringLength; return (Rnode); -Index: acpica-unix2-20210604/source/compiler/dttable2.c +Index: acpica-unix2-20210730/source/compiler/dttable2.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable2.c -+++ acpica-unix2-20210604/source/compiler/dttable2.c -@@ -2635,7 +2635,8 @@ DtCompileWpbt ( +--- acpica-unix2-20210730.orig/source/compiler/dttable2.c ++++ acpica-unix2-20210730/source/compiler/dttable2.c +@@ -2645,7 +2645,8 @@ DtCompileWpbt ( /* Extract the length of the Arguments buffer, insert into main table */ -- Length = (UINT16) Subtable->TotalLength; -+ AcpiUtWriteUint (&Length, sizeof (UINT16), +- Table->ArgumentsLength = (UINT16) Subtable->TotalLength; ++ AcpiUtWriteUint (&Table->ArgumentsLength, sizeof (UINT16), + &Subtable->TotalLength, sizeof (UINT32)); - Table = ACPI_CAST_PTR (ACPI_TABLE_WPBT, ParentTable->Buffer); - Table->ArgumentsLength = Length; - -Index: acpica-unix2-20210604/source/components/disassembler/dmbuffer.c + DtInsertSubtable (ParentTable, Subtable); + return (AE_OK); + } +Index: acpica-unix2-20210730/source/components/disassembler/dmbuffer.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/disassembler/dmbuffer.c -+++ acpica-unix2-20210604/source/components/disassembler/dmbuffer.c +--- acpica-unix2-20210730.orig/source/components/disassembler/dmbuffer.c ++++ acpica-unix2-20210730/source/components/disassembler/dmbuffer.c @@ -204,7 +204,7 @@ AcpiDmByteList ( @@ -1589,10 +1591,10 @@ Index: acpica-unix2-20210604/source/components/disassembler/dmbuffer.c AcpiOsPrintf ("EisaId (\"%s\")", IdBuffer); /* If we know about the ID, emit the description */ -Index: acpica-unix2-20210604/source/components/disassembler/dmopcode.c +Index: acpica-unix2-20210730/source/components/disassembler/dmopcode.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/disassembler/dmopcode.c -+++ acpica-unix2-20210604/source/components/disassembler/dmopcode.c +--- acpica-unix2-20210730.orig/source/components/disassembler/dmopcode.c ++++ acpica-unix2-20210730/source/components/disassembler/dmopcode.c @@ -778,7 +778,9 @@ AcpiDmDisassembleOneOp ( } else @@ -1649,10 +1651,10 @@ Index: acpica-unix2-20210604/source/components/disassembler/dmopcode.c Info->BitOffset += Offset; if (Info->BitOffset % 8 == 0) -Index: acpica-unix2-20210604/source/components/disassembler/dmresrc.c +Index: acpica-unix2-20210730/source/components/disassembler/dmresrc.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/disassembler/dmresrc.c -+++ acpica-unix2-20210604/source/components/disassembler/dmresrc.c +--- acpica-unix2-20210730.orig/source/components/disassembler/dmresrc.c ++++ acpica-unix2-20210730/source/components/disassembler/dmresrc.c @@ -417,7 +417,7 @@ AcpiDmIsResourceTemplate ( return (AE_TYPE); } @@ -1662,10 +1664,10 @@ Index: acpica-unix2-20210604/source/components/disassembler/dmresrc.c /* Get the length of the raw initialization byte list */ -Index: acpica-unix2-20210604/source/components/disassembler/dmresrcl.c +Index: acpica-unix2-20210730/source/components/disassembler/dmresrcl.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/disassembler/dmresrcl.c -+++ acpica-unix2-20210604/source/components/disassembler/dmresrcl.c +--- acpica-unix2-20210730.orig/source/components/disassembler/dmresrcl.c ++++ acpica-unix2-20210730/source/components/disassembler/dmresrcl.c @@ -141,6 +141,8 @@ AcpiDmMemoryFields ( UINT32 Level) { @@ -1787,10 +1789,10 @@ Index: acpica-unix2-20210604/source/components/disassembler/dmresrcl.c } AcpiDmIndent (Level); -Index: acpica-unix2-20210604/source/components/disassembler/dmresrcl2.c +Index: acpica-unix2-20210730/source/components/disassembler/dmresrcl2.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/disassembler/dmresrcl2.c -+++ acpica-unix2-20210604/source/components/disassembler/dmresrcl2.c +--- acpica-unix2-20210730.orig/source/components/disassembler/dmresrcl2.c ++++ acpica-unix2-20210730/source/components/disassembler/dmresrcl2.c @@ -199,22 +199,27 @@ AcpiDmGpioCommon ( char *DeviceName = NULL; UINT32 PinCount; @@ -2132,10 +2134,10 @@ Index: acpica-unix2-20210604/source/components/disassembler/dmresrcl2.c DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset); AcpiUtPrintString (DeviceName, ACPI_UINT16_MAX); -Index: acpica-unix2-20210604/source/components/disassembler/dmresrcs.c +Index: acpica-unix2-20210730/source/components/disassembler/dmresrcs.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/disassembler/dmresrcs.c -+++ acpica-unix2-20210604/source/components/disassembler/dmresrcs.c +--- acpica-unix2-20210730.orig/source/components/disassembler/dmresrcs.c ++++ acpica-unix2-20210730/source/components/disassembler/dmresrcs.c @@ -93,7 +93,7 @@ AcpiDmIrqDescriptor ( AcpiOsPrintf (")\n"); @@ -2186,10 +2188,10 @@ Index: acpica-unix2-20210604/source/components/disassembler/dmresrcs.c /* Insert a descriptor name */ -Index: acpica-unix2-20210604/source/components/disassembler/dmwalk.c +Index: acpica-unix2-20210730/source/components/disassembler/dmwalk.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/disassembler/dmwalk.c -+++ acpica-unix2-20210604/source/components/disassembler/dmwalk.c +--- acpica-unix2-20210730.orig/source/components/disassembler/dmwalk.c ++++ acpica-unix2-20210730/source/components/disassembler/dmwalk.c @@ -1155,7 +1155,7 @@ AcpiDmAscendingOp ( { ParentOp->Common.DisasmFlags |= ACPI_PARSEOP_EMPTY_TERMLIST; @@ -2199,10 +2201,10 @@ Index: acpica-unix2-20210604/source/components/disassembler/dmwalk.c } } -Index: acpica-unix2-20210604/source/components/namespace/nsaccess.c +Index: acpica-unix2-20210730/source/components/namespace/nsaccess.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/namespace/nsaccess.c -+++ acpica-unix2-20210604/source/components/namespace/nsaccess.c +--- acpica-unix2-20210730.orig/source/components/namespace/nsaccess.c ++++ acpica-unix2-20210730/source/components/namespace/nsaccess.c @@ -644,7 +644,7 @@ AcpiNsLookup ( /* Extract one ACPI name from the front of the pathname */ @@ -2212,10 +2214,10 @@ Index: acpica-unix2-20210604/source/components/namespace/nsaccess.c /* Try to find the single (4 character) ACPI name */ -Index: acpica-unix2-20210604/source/components/namespace/nsnames.c +Index: acpica-unix2-20210730/source/components/namespace/nsnames.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/namespace/nsnames.c -+++ acpica-unix2-20210604/source/components/namespace/nsnames.c +--- acpica-unix2-20210730.orig/source/components/namespace/nsnames.c ++++ acpica-unix2-20210730/source/components/namespace/nsnames.c @@ -297,10 +297,10 @@ AcpiNsBuildNormalizedPath ( { if (NextNode != Node) @@ -2229,10 +2231,10 @@ Index: acpica-unix2-20210604/source/components/namespace/nsnames.c DoNoTrailing = NoTrailing; for (i = 0; i < 4; i++) { -Index: acpica-unix2-20210604/source/components/namespace/nsparse.c +Index: acpica-unix2-20210730/source/components/namespace/nsparse.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/namespace/nsparse.c -+++ acpica-unix2-20210604/source/components/namespace/nsparse.c +--- acpica-unix2-20210730.orig/source/components/namespace/nsparse.c ++++ acpica-unix2-20210730/source/components/namespace/nsparse.c @@ -203,6 +203,7 @@ AcpiNsOneCompleteParse ( ACPI_WALK_STATE *WalkState; ACPI_TABLE_HEADER *Table; @@ -2258,10 +2260,10 @@ Index: acpica-unix2-20210604/source/components/namespace/nsparse.c Status = AcpiTbGetOwnerId (TableIndex, &OwnerId); if (ACPI_FAILURE (Status)) -Index: acpica-unix2-20210604/source/components/namespace/nsutils.c +Index: acpica-unix2-20210730/source/components/namespace/nsutils.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/namespace/nsutils.c -+++ acpica-unix2-20210604/source/components/namespace/nsutils.c +--- acpica-unix2-20210730.orig/source/components/namespace/nsutils.c ++++ acpica-unix2-20210730/source/components/namespace/nsutils.c @@ -272,7 +272,6 @@ AcpiNsBuildInternalName ( const char *ExternalName = Info->NextExternalChar; char *Result = NULL; @@ -2298,10 +2300,10 @@ Index: acpica-unix2-20210604/source/components/namespace/nsutils.c /* Now we must have a path separator, or the pathname is bad */ -Index: acpica-unix2-20210604/source/components/utilities/utresrc.c +Index: acpica-unix2-20210730/source/components/utilities/utresrc.c =================================================================== ---- acpica-unix2-20210604.orig/source/components/utilities/utresrc.c -+++ acpica-unix2-20210604/source/components/utilities/utresrc.c +--- acpica-unix2-20210730.orig/source/components/utilities/utresrc.c ++++ acpica-unix2-20210730/source/components/utilities/utresrc.c @@ -541,7 +541,7 @@ AcpiUtGetResourceLength ( { /* Large Resource type -- bytes 1-2 contain the 16-bit length */ @@ -2311,10 +2313,10 @@ Index: acpica-unix2-20210604/source/components/utilities/utresrc.c } else -Index: acpica-unix2-20210604/source/compiler/aslrestype2e.c +Index: acpica-unix2-20210730/source/compiler/aslrestype2e.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslrestype2e.c -+++ acpica-unix2-20210604/source/compiler/aslrestype2e.c +--- acpica-unix2-20210730.orig/source/compiler/aslrestype2e.c ++++ acpica-unix2-20210730/source/compiler/aslrestype2e.c @@ -80,6 +80,7 @@ RsDoExtendedIoDescriptor ( UINT16 StringLength = 0; UINT32 CurrentByteOffset; @@ -2573,10 +2575,10 @@ Index: acpica-unix2-20210604/source/compiler/aslrestype2e.c Descriptor->ExtAddress64.Flags, MinOp, MaxOp, LengthOp, GranOp, Info->DescriptorTypeOp); -Index: acpica-unix2-20210604/source/compiler/aslrestype2s.c +Index: acpica-unix2-20210730/source/compiler/aslrestype2s.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/aslrestype2s.c -+++ acpica-unix2-20210604/source/compiler/aslrestype2s.c +--- acpica-unix2-20210730.orig/source/compiler/aslrestype2s.c ++++ acpica-unix2-20210730/source/compiler/aslrestype2s.c @@ -343,6 +343,7 @@ RsDoGpioIntDescriptor ( UINT32 CurrentByteOffset; UINT32 PinCount = 0; diff --git a/0045-CSRT-fixed-use-of-optional-ResourceInfo.patch b/0045-CSRT-fixed-use-of-optional-ResourceInfo.patch index 45bfbb5..62866f4 100644 --- a/0045-CSRT-fixed-use-of-optional-ResourceInfo.patch +++ b/0045-CSRT-fixed-use-of-optional-ResourceInfo.patch @@ -12,11 +12,11 @@ Signed-off-by: Al Stone source/compiler/dttable1.c | 28 +++++++++++++------------ 2 files changed, 39 insertions(+), 32 deletions(-) -Index: acpica-unix2-20210604/source/common/dmtbdump1.c +Index: acpica-unix2-20210730/source/common/dmtbdump1.c =================================================================== ---- acpica-unix2-20210604.orig/source/common/dmtbdump1.c -+++ acpica-unix2-20210604/source/common/dmtbdump1.c -@@ -374,11 +374,13 @@ AcpiDmDumpCsrt ( +--- acpica-unix2-20210730.orig/source/common/dmtbdump1.c ++++ acpica-unix2-20210730/source/common/dmtbdump1.c +@@ -593,11 +593,13 @@ AcpiDmDumpCsrt ( ACPI_CSRT_GROUP *Subtable; ACPI_CSRT_SHARED_INFO *SharedInfoTable; ACPI_CSRT_DESCRIPTOR *SubSubtable; @@ -31,7 +31,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c /* The main table only contains the ACPI header, thus already handled */ -@@ -386,13 +388,14 @@ AcpiDmDumpCsrt ( +@@ -605,13 +607,14 @@ AcpiDmDumpCsrt ( /* Subtables (Resource Groups) */ Subtable = ACPI_ADD_PTR (ACPI_CSRT_GROUP, Table, Offset); @@ -49,7 +49,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c if (ACPI_FAILURE (Status)) { return; -@@ -405,26 +408,28 @@ AcpiDmDumpCsrt ( +@@ -624,26 +627,28 @@ AcpiDmDumpCsrt ( Offset + SubOffset); AcpiOsPrintf ("\n"); @@ -85,7 +85,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c if (ACPI_FAILURE (Status)) { return; -@@ -434,11 +439,12 @@ AcpiDmDumpCsrt ( +@@ -653,11 +658,12 @@ AcpiDmDumpCsrt ( /* Resource-specific info buffer */ @@ -101,7 +101,7 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c InfoLength, AcpiDmTableInfoCsrt2a); if (ACPI_FAILURE (Status)) { -@@ -448,16 +454,15 @@ AcpiDmDumpCsrt ( +@@ -667,16 +673,15 @@ AcpiDmDumpCsrt ( /* Point to next sub-subtable */ @@ -122,11 +122,11 @@ Index: acpica-unix2-20210604/source/common/dmtbdump1.c } } -Index: acpica-unix2-20210604/source/compiler/dttable1.c +Index: acpica-unix2-20210730/source/compiler/dttable1.c =================================================================== ---- acpica-unix2-20210604.orig/source/compiler/dttable1.c -+++ acpica-unix2-20210604/source/compiler/dttable1.c -@@ -353,14 +353,16 @@ DtCompileCsrt ( +--- acpica-unix2-20210730.orig/source/compiler/dttable1.c ++++ acpica-unix2-20210730/source/compiler/dttable1.c +@@ -570,14 +570,16 @@ DtCompileCsrt ( DT_SUBTABLE *Subtable; DT_SUBTABLE *ParentTable; DT_FIELD **PFieldList = (DT_FIELD **) List; @@ -144,7 +144,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c while (*PFieldList) { /* Resource group subtable */ -@@ -375,16 +377,13 @@ DtCompileCsrt ( +@@ -592,16 +594,13 @@ DtCompileCsrt ( /* Compute the number of resource descriptors */ Tmp = AcpiUtReadUint32 (&(ACPI_CAST_PTR (ACPI_CSRT_GROUP, @@ -163,7 +163,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c DtInsertSubtable (ParentTable, Subtable); DtPushSubtable (Subtable); ParentTable = DtPeekSubtable (); -@@ -399,10 +398,13 @@ DtCompileCsrt ( +@@ -616,10 +615,13 @@ DtCompileCsrt ( } DtInsertSubtable (ParentTable, Subtable); @@ -178,7 +178,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c { Status = DtCompileTable (PFieldList, AcpiDmTableInfoCsrt2, -@@ -411,6 +413,10 @@ DtCompileCsrt ( +@@ -628,6 +630,10 @@ DtCompileCsrt ( { return (Status); } @@ -189,7 +189,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c DtInsertSubtable (ParentTable, Subtable); -@@ -420,11 +426,7 @@ DtCompileCsrt ( +@@ -637,11 +643,7 @@ DtCompileCsrt ( { Status = DtCompileTable (PFieldList, AcpiDmTableInfoCsrt2a, &Subtable); @@ -202,7 +202,7 @@ Index: acpica-unix2-20210604/source/compiler/dttable1.c { DtInsertSubtable (ParentTable, Subtable); } -@@ -432,7 +434,7 @@ DtCompileCsrt ( +@@ -649,7 +651,7 @@ DtCompileCsrt ( DtPopSubtable (); ParentTable = DtPeekSubtable (); diff --git a/acpica-tools.spec b/acpica-tools.spec index 07e7481..4ae3f29 100644 --- a/acpica-tools.spec +++ b/acpica-tools.spec @@ -1,12 +1,12 @@ Name: acpica-tools -Version: 20210604 -Release: 4%{?dist} +Version: 20210730 +Release: 1%{?dist} Summary: ACPICA tools for the development and debug of ACPI tables License: GPLv2 URL: https://www.acpica.org/ -Source0: https://acpica.org/sites/acpica/files/acpica-unix2-%{version}.tar_0.gz +Source0: https://acpica.org/sites/acpica/files/acpica-unix2-%{version}.tar.gz Source1: https://acpica.org/sites/acpica/files/acpitests-unix-%{version}.tar.gz Source2: README.Fedora Source3: iasl.1 @@ -67,9 +67,8 @@ Patch39: 0040-Support-S3PT-in-a-big-endian-world.patch Patch40: 0041-Support-IORT-in-a-big-endian-world.patch Patch41: 0042-Support-IVRS-in-a-big-endian-world.patch Patch42: 0043-Support-DSDT-SSDT-in-a-big-endian-world.patch -Patch43: 0044-Initial-support-for-WPBT-in-big-endian-needs-more.patch -Patch44: 0045-CSRT-fixed-use-of-optional-ResourceInfo.patch -Patch45: 0046-Support-PHAT-in-a-big-endian-world.patch +Patch43: 0045-CSRT-fixed-use-of-optional-ResourceInfo.patch +Patch44: 0046-Support-PHAT-in-a-big-endian-world.patch # other miscellaneous patches Patch100: unaligned.patch @@ -89,7 +88,6 @@ Patch113: facp.patch Patch114: armv7-str-fixes.patch Patch115: dbtest.patch Patch116: ull-32bit.patch -Patch117: wpbt-unicode.patch BuildRequires: make BuildRequires: bison patchutils flex gcc @@ -258,6 +256,9 @@ fi * Wed Jan 19 2022 Fedora Release Engineering - 20210604-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild +* Mon Oct 4 2021 Al Stone - 20210730-1 +- Update to 20210730 upstream source. Bring all the patches up to date. + * Tue Jul 27 2021 Al Stone - 20210604-3 - Running 'iasl -T all' would segfault when dumping the PHAT template; fixed AcpiDmDumpPhat() by removing unnecessary assignments from patch diff --git a/sources b/sources index 75beb94..4b7a504 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (acpica-unix2-20210604.tar_0.gz) = f7f6e3c1964ffae186fe3d34b64a6251dd2e4423244c08c7e4301fd38396eac1af6e562956984a37af803ac11d5a46dd2dce88540787df353fc268002710dc62 -SHA512 (acpitests-unix-20210604.tar.gz) = 80b4676f1a9e11a7c1962eb8f292400322bbcfc91718749138c7807c7bbc38e52dd88c8e42096752e491298f4b07f6a68fa9ff2c49450be1de3abef56e8ba08a +SHA512 (acpica-unix2-20210730.tar.gz) = 9a8b88e44029a241cd3f26714b244723a59b7235662ecdf0c042b816495f140722aeb3897424c6f43bdddc81c141b1fa09c9645a6e0c4d860159001a65e08483 +SHA512 (acpitests-unix-20210730.tar.gz) = 4d01574f05ec1fd22d3fcdf6b5245c5670245c4edb11e8ce44fdcac73296552095539eab854cfb271abfd6409507951f0e8512ff57a74caa0e8609fef5f2035e