Update to 20170831 sources, and refresh patches appropriately.

Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
Al Stone 2017-09-07 16:38:18 -06:00
parent c88a2bebac
commit d0bd8ed147
6 changed files with 204 additions and 199 deletions

2
.gitignore vendored
View File

@ -74,3 +74,5 @@
/acpitests-unix-20170629.tar.gz /acpitests-unix-20170629.tar.gz
/acpica-unix2-20170728.tar.gz /acpica-unix2-20170728.tar.gz
/acpitests-unix-20170728.tar.gz /acpitests-unix-20170728.tar.gz
/acpica-unix2-20170831.tar.gz
/acpitests-unix-20170831.tar.gz

View File

@ -1,6 +1,6 @@
Name: acpica-tools Name: acpica-tools
Version: 20170728 Version: 20170831
Release: 3%{?dist} Release: 1%{?dist}
Summary: ACPICA tools for the development and debug of ACPI tables Summary: ACPICA tools for the development and debug of ACPI tables
Group: Development/Languages Group: Development/Languages
@ -184,6 +184,9 @@ fi
%changelog %changelog
* Thu Sep 7 2017 Al Stone <ahs3@redhat.com> - 20170831-1
- Update to 20170831 source tree, including patch refeshes
* Fri Aug 18 2017 Al Stone <ahs3@redhat.com> - 20170728-3 * Fri Aug 18 2017 Al Stone <ahs3@redhat.com> - 20170728-3
- Completed the big-endian fixes (I think) - Completed the big-endian fixes (I think)
- Fix ppc64le.patch that inadvertently broke s390x - Fix ppc64le.patch that inadvertently broke s390x

View File

@ -23,10 +23,10 @@ Signed-off-by: Al Stone <ahs3@redhat.com>
source/include/platform/aclinux.h | 8 ++ source/include/platform/aclinux.h | 8 ++
12 files changed, 487 insertions(+), 283 deletions(-) 12 files changed, 487 insertions(+), 283 deletions(-)
Index: acpica-unix2-20170728/source/compiler/aslcodegen.c Index: acpica-unix2-20170831/source/compiler/aslcodegen.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslcodegen.c --- acpica-unix2-20170831.orig/source/compiler/aslcodegen.c
+++ acpica-unix2-20170728/source/compiler/aslcodegen.c +++ acpica-unix2-20170831/source/compiler/aslcodegen.c
@@ -240,16 +240,12 @@ CgWriteAmlOpcode ( @@ -240,16 +240,12 @@ CgWriteAmlOpcode (
ACPI_PARSE_OBJECT *Op) ACPI_PARSE_OBJECT *Op)
{ {
@ -268,10 +268,10 @@ Index: acpica-unix2-20170728/source/compiler/aslcodegen.c
case AML_RAW_DATA_BUFFER: case AML_RAW_DATA_BUFFER:
Index: acpica-unix2-20170728/source/compiler/aslopcodes.c Index: acpica-unix2-20170831/source/compiler/aslopcodes.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslopcodes.c --- acpica-unix2-20170831.orig/source/compiler/aslopcodes.c
+++ acpica-unix2-20170728/source/compiler/aslopcodes.c +++ acpica-unix2-20170831/source/compiler/aslopcodes.c
@@ -485,6 +485,7 @@ OpcDoUnicode ( @@ -485,6 +485,7 @@ OpcDoUnicode (
UINT32 i; UINT32 i;
UINT8 *AsciiString; UINT8 *AsciiString;
@ -290,10 +290,10 @@ Index: acpica-unix2-20170728/source/compiler/aslopcodes.c
} }
/* /*
Index: acpica-unix2-20170728/source/compiler/aslrestype1.c Index: acpica-unix2-20170831/source/compiler/aslrestype1.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslrestype1.c --- acpica-unix2-20170831.orig/source/compiler/aslrestype1.c
+++ acpica-unix2-20170728/source/compiler/aslrestype1.c +++ acpica-unix2-20170831/source/compiler/aslrestype1.c
@@ -142,6 +142,11 @@ RsDoMemory24Descriptor ( @@ -142,6 +142,11 @@ RsDoMemory24Descriptor (
ACPI_PARSE_OBJECT *LengthOp = NULL; ACPI_PARSE_OBJECT *LengthOp = NULL;
ASL_RESOURCE_NODE *Rnode; ASL_RESOURCE_NODE *Rnode;
@ -490,10 +490,10 @@ Index: acpica-unix2-20170728/source/compiler/aslrestype1.c
RsCreateDwordField (InitializerOp, ACPI_RESTAG_LENGTH, RsCreateDwordField (InitializerOp, ACPI_RESTAG_LENGTH,
CurrentByteOffset + ASL_RESDESC_OFFSET (FixedMemory32.AddressLength)); CurrentByteOffset + ASL_RESDESC_OFFSET (FixedMemory32.AddressLength));
break; break;
Index: acpica-unix2-20170728/source/compiler/aslrestype1i.c Index: acpica-unix2-20170831/source/compiler/aslrestype1i.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslrestype1i.c --- acpica-unix2-20170831.orig/source/compiler/aslrestype1i.c
+++ acpica-unix2-20170728/source/compiler/aslrestype1i.c +++ acpica-unix2-20170831/source/compiler/aslrestype1i.c
@@ -198,6 +198,8 @@ RsDoFixedDmaDescriptor ( @@ -198,6 +198,8 @@ RsDoFixedDmaDescriptor (
ACPI_PARSE_OBJECT *InitializerOp; ACPI_PARSE_OBJECT *InitializerOp;
ASL_RESOURCE_NODE *Rnode; ASL_RESOURCE_NODE *Rnode;
@ -630,10 +630,10 @@ Index: acpica-unix2-20170728/source/compiler/aslrestype1i.c
+ ACPI_MOVE_16_TO_16(&Descriptor->Irq.IrqMask, &IrqMask); + ACPI_MOVE_16_TO_16(&Descriptor->Irq.IrqMask, &IrqMask);
return (Rnode); return (Rnode);
} }
Index: acpica-unix2-20170728/source/compiler/aslrestype2.c Index: acpica-unix2-20170831/source/compiler/aslrestype2.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslrestype2.c --- acpica-unix2-20170831.orig/source/compiler/aslrestype2.c
+++ acpica-unix2-20170728/source/compiler/aslrestype2.c +++ acpica-unix2-20170831/source/compiler/aslrestype2.c
@@ -76,6 +76,7 @@ RsDoGeneralRegisterDescriptor ( @@ -76,6 +76,7 @@ RsDoGeneralRegisterDescriptor (
ACPI_PARSE_OBJECT *InitializerOp; ACPI_PARSE_OBJECT *InitializerOp;
ASL_RESOURCE_NODE *Rnode; ASL_RESOURCE_NODE *Rnode;
@ -774,10 +774,10 @@ Index: acpica-unix2-20170728/source/compiler/aslrestype2.c
/* Point to end-of-descriptor for vendor data */ /* Point to end-of-descriptor for vendor data */
Index: acpica-unix2-20170728/source/compiler/aslrestype2d.c Index: acpica-unix2-20170831/source/compiler/aslrestype2d.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslrestype2d.c --- acpica-unix2-20170831.orig/source/compiler/aslrestype2d.c
+++ acpica-unix2-20170728/source/compiler/aslrestype2d.c +++ acpica-unix2-20170831/source/compiler/aslrestype2d.c
@@ -79,7 +79,13 @@ RsDoDwordIoDescriptor ( @@ -79,7 +79,13 @@ RsDoDwordIoDescriptor (
ACPI_PARSE_OBJECT *GranOp = NULL; ACPI_PARSE_OBJECT *GranOp = NULL;
ASL_RESOURCE_NODE *Rnode; ASL_RESOURCE_NODE *Rnode;
@ -1133,10 +1133,10 @@ Index: acpica-unix2-20170728/source/compiler/aslrestype2d.c
Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) + Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) +
OptionIndex + StringLength; OptionIndex + StringLength;
return (Rnode); return (Rnode);
Index: acpica-unix2-20170728/source/compiler/aslrestype2e.c Index: acpica-unix2-20170831/source/compiler/aslrestype2e.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslrestype2e.c --- acpica-unix2-20170831.orig/source/compiler/aslrestype2e.c
+++ acpica-unix2-20170728/source/compiler/aslrestype2e.c +++ acpica-unix2-20170831/source/compiler/aslrestype2e.c
@@ -78,6 +78,13 @@ RsDoExtendedIoDescriptor ( @@ -78,6 +78,13 @@ RsDoExtendedIoDescriptor (
ACPI_PARSE_OBJECT *GranOp = NULL; ACPI_PARSE_OBJECT *GranOp = NULL;
ASL_RESOURCE_NODE *Rnode; ASL_RESOURCE_NODE *Rnode;
@ -1242,10 +1242,10 @@ Index: acpica-unix2-20170728/source/compiler/aslrestype2e.c
Rnode->BufferLength = sizeof (AML_RESOURCE_EXTENDED_ADDRESS64) + Rnode->BufferLength = sizeof (AML_RESOURCE_EXTENDED_ADDRESS64) +
StringLength; StringLength;
return (Rnode); return (Rnode);
Index: acpica-unix2-20170728/source/compiler/aslrestype2q.c Index: acpica-unix2-20170831/source/compiler/aslrestype2q.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslrestype2q.c --- acpica-unix2-20170831.orig/source/compiler/aslrestype2q.c
+++ acpica-unix2-20170728/source/compiler/aslrestype2q.c +++ acpica-unix2-20170831/source/compiler/aslrestype2q.c
@@ -80,7 +80,13 @@ RsDoQwordIoDescriptor ( @@ -80,7 +80,13 @@ RsDoQwordIoDescriptor (
ASL_RESOURCE_NODE *Rnode; ASL_RESOURCE_NODE *Rnode;
UINT8 *OptionalFields; UINT8 *OptionalFields;
@ -1584,10 +1584,10 @@ Index: acpica-unix2-20170728/source/compiler/aslrestype2q.c
Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS64) + Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS64) +
OptionIndex + StringLength; OptionIndex + StringLength;
return (Rnode); return (Rnode);
Index: acpica-unix2-20170728/source/compiler/aslrestype2s.c Index: acpica-unix2-20170831/source/compiler/aslrestype2s.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslrestype2s.c --- acpica-unix2-20170831.orig/source/compiler/aslrestype2s.c
+++ acpica-unix2-20170728/source/compiler/aslrestype2s.c +++ acpica-unix2-20170831/source/compiler/aslrestype2s.c
@@ -340,9 +340,14 @@ RsDoGpioIntDescriptor ( @@ -340,9 +340,14 @@ RsDoGpioIntDescriptor (
UINT16 VendorLength; UINT16 VendorLength;
UINT16 InterruptLength; UINT16 InterruptLength;
@ -2053,10 +2053,10 @@ Index: acpica-unix2-20170728/source/compiler/aslrestype2s.c
MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource); MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource);
return (Rnode); return (Rnode);
} }
Index: acpica-unix2-20170728/source/compiler/aslrestype2w.c Index: acpica-unix2-20170831/source/compiler/aslrestype2w.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslrestype2w.c --- acpica-unix2-20170831.orig/source/compiler/aslrestype2w.c
+++ acpica-unix2-20170728/source/compiler/aslrestype2w.c +++ acpica-unix2-20170831/source/compiler/aslrestype2w.c
@@ -81,6 +81,12 @@ RsDoWordIoDescriptor ( @@ -81,6 +81,12 @@ RsDoWordIoDescriptor (
UINT8 *OptionalFields; UINT8 *OptionalFields;
UINT16 StringLength = 0; UINT16 StringLength = 0;
@ -2400,10 +2400,10 @@ Index: acpica-unix2-20170728/source/compiler/aslrestype2w.c
Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) + Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) +
OptionIndex + StringLength; OptionIndex + StringLength;
return (Rnode); return (Rnode);
Index: acpica-unix2-20170728/source/include/acmacros.h Index: acpica-unix2-20170831/source/include/acmacros.h
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/include/acmacros.h --- acpica-unix2-20170831.orig/source/include/acmacros.h
+++ acpica-unix2-20170728/source/include/acmacros.h +++ acpica-unix2-20170831/source/include/acmacros.h
@@ -98,9 +98,12 @@ @@ -98,9 +98,12 @@
((UINT8 *)(void *)(d))[6] = ((UINT8 *)(void *)(s))[1];\ ((UINT8 *)(void *)(d))[6] = ((UINT8 *)(void *)(s))[1];\
((UINT8 *)(void *)(d))[7] = ((UINT8 *)(void *)(s))[0];} ((UINT8 *)(void *)(d))[7] = ((UINT8 *)(void *)(s))[0];}
@ -2482,10 +2482,10 @@ Index: acpica-unix2-20170728/source/include/acmacros.h
#define ACPI_MOVE_32_TO_16(d, s) ACPI_MOVE_16_TO_16(d, s) /* Truncate to 16 */ #define ACPI_MOVE_32_TO_16(d, s) ACPI_MOVE_16_TO_16(d, s) /* Truncate to 16 */
Index: acpica-unix2-20170728/source/include/platform/aclinux.h Index: acpica-unix2-20170831/source/include/platform/aclinux.h
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/include/platform/aclinux.h --- acpica-unix2-20170831.orig/source/include/platform/aclinux.h
+++ acpica-unix2-20170728/source/include/platform/aclinux.h +++ acpica-unix2-20170831/source/include/platform/aclinux.h
@@ -191,6 +191,7 @@ @@ -191,6 +191,7 @@
#ifdef ACPI_USE_STANDARD_HEADERS #ifdef ACPI_USE_STANDARD_HEADERS
@ -2505,10 +2505,10 @@ Index: acpica-unix2-20170728/source/include/platform/aclinux.h
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* __ACLINUX_H__ */ #endif /* __ACLINUX_H__ */
Index: acpica-unix2-20170728/source/compiler/aslanalyze.c Index: acpica-unix2-20170831/source/compiler/aslanalyze.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslanalyze.c --- acpica-unix2-20170831.orig/source/compiler/aslanalyze.c
+++ acpica-unix2-20170728/source/compiler/aslanalyze.c +++ acpica-unix2-20170831/source/compiler/aslanalyze.c
@@ -461,7 +461,7 @@ ApCheckForGpeNameConflict ( @@ -461,7 +461,7 @@ ApCheckForGpeNameConflict (
/* Need a null-terminated string version of NameSeg */ /* Need a null-terminated string version of NameSeg */
@ -2527,10 +2527,10 @@ Index: acpica-unix2-20170728/source/compiler/aslanalyze.c
/* Inject opposite letter ("L" versus "E") */ /* Inject opposite letter ("L" versus "E") */
Index: acpica-unix2-20170728/source/compiler/asllookup.c Index: acpica-unix2-20170831/source/compiler/asllookup.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/asllookup.c --- acpica-unix2-20170831.orig/source/compiler/asllookup.c
+++ acpica-unix2-20170728/source/compiler/asllookup.c +++ acpica-unix2-20170831/source/compiler/asllookup.c
@@ -119,6 +119,7 @@ LkIsObjectUsed ( @@ -119,6 +119,7 @@ LkIsObjectUsed (
{ {
ACPI_NAMESPACE_NODE *Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle); ACPI_NAMESPACE_NODE *Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle);
@ -2561,10 +2561,10 @@ Index: acpica-unix2-20170728/source/compiler/asllookup.c
AslError (ASL_REMARK, ASL_MSG_NOT_REFERENCED, AslError (ASL_REMARK, ASL_MSG_NOT_REFERENCED,
LkGetNameOp (Node->Op), MsgBuffer); LkGetNameOp (Node->Op), MsgBuffer);
return (AE_OK); return (AE_OK);
Index: acpica-unix2-20170728/source/compiler/aslmain.c Index: acpica-unix2-20170831/source/compiler/aslmain.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslmain.c --- acpica-unix2-20170831.orig/source/compiler/aslmain.c
+++ acpica-unix2-20170728/source/compiler/aslmain.c +++ acpica-unix2-20170831/source/compiler/aslmain.c
@@ -102,18 +102,6 @@ main ( @@ -102,18 +102,6 @@ main (
signal (SIGINT, AslSignalHandler); signal (SIGINT, AslSignalHandler);
signal (SIGSEGV, AslSignalHandler); signal (SIGSEGV, AslSignalHandler);
@ -2584,10 +2584,10 @@ Index: acpica-unix2-20170728/source/compiler/aslmain.c
AcpiOsInitialize (); AcpiOsInitialize ();
ACPI_DEBUG_INITIALIZE (); /* For debug version only */ ACPI_DEBUG_INITIALIZE (); /* For debug version only */
Index: acpica-unix2-20170728/source/common/acfileio.c Index: acpica-unix2-20170831/source/common/acfileio.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/common/acfileio.c --- acpica-unix2-20170831.orig/source/common/acfileio.c
+++ acpica-unix2-20170728/source/common/acfileio.c +++ acpica-unix2-20170831/source/common/acfileio.c
@@ -280,6 +280,7 @@ AcGetOneTableFromFile ( @@ -280,6 +280,7 @@ AcGetOneTableFromFile (
ACPI_TABLE_HEADER *Table; ACPI_TABLE_HEADER *Table;
INT32 Count; INT32 Count;
@ -2649,10 +2649,10 @@ Index: acpica-unix2-20170728/source/common/acfileio.c
(UINT32) (FileSize - TableOffset)); (UINT32) (FileSize - TableOffset));
return (AE_BAD_HEADER); return (AE_BAD_HEADER);
} }
Index: acpica-unix2-20170728/source/common/dmtable.c Index: acpica-unix2-20170831/source/common/dmtable.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/common/dmtable.c --- acpica-unix2-20170831.orig/source/common/dmtable.c
+++ acpica-unix2-20170728/source/common/dmtable.c +++ acpica-unix2-20170831/source/common/dmtable.c
@@ -524,7 +524,7 @@ AcpiDmDumpDataTable ( @@ -524,7 +524,7 @@ AcpiDmDumpDataTable (
*/ */
if (ACPI_COMPARE_NAME (Table->Signature, ACPI_SIG_FACS)) if (ACPI_COMPARE_NAME (Table->Signature, ACPI_SIG_FACS))
@ -2751,10 +2751,10 @@ Index: acpica-unix2-20170728/source/common/dmtable.c
AcpiDmNfitSubnames[Temp16]); AcpiDmNfitSubnames[Temp16]);
break; break;
Index: acpica-unix2-20170728/source/common/dmtables.c Index: acpica-unix2-20170831/source/common/dmtables.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/common/dmtables.c --- acpica-unix2-20170831.orig/source/common/dmtables.c
+++ acpica-unix2-20170728/source/common/dmtables.c +++ acpica-unix2-20170831/source/common/dmtables.c
@@ -142,7 +142,9 @@ AdCreateTableHeader ( @@ -142,7 +142,9 @@ AdCreateTableHeader (
ACPI_TABLE_HEADER *Table) ACPI_TABLE_HEADER *Table)
{ {
@ -2820,10 +2820,10 @@ Index: acpica-unix2-20170728/source/common/dmtables.c
AmlStart = ((UINT8 *) Table + sizeof (ACPI_TABLE_HEADER)); AmlStart = ((UINT8 *) Table + sizeof (ACPI_TABLE_HEADER));
ASL_CV_INIT_FILETREE(Table, AmlStart, AmlLength); ASL_CV_INIT_FILETREE(Table, AmlStart, AmlLength);
Index: acpica-unix2-20170728/source/common/dmtbdump.c Index: acpica-unix2-20170831/source/common/dmtbdump.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/common/dmtbdump.c --- acpica-unix2-20170831.orig/source/common/dmtbdump.c
+++ acpica-unix2-20170728/source/common/dmtbdump.c +++ acpica-unix2-20170831/source/common/dmtbdump.c
@@ -277,6 +277,8 @@ AcpiDmDumpRsdt ( @@ -277,6 +277,8 @@ AcpiDmDumpRsdt (
UINT32 Entries; UINT32 Entries;
UINT32 Offset; UINT32 Offset;
@ -4745,10 +4745,10 @@ Index: acpica-unix2-20170728/source/common/dmtbdump.c
+ (void) AcpiDmDumpTable (Length, 0, Table, ArgumentsLength, + (void) AcpiDmDumpTable (Length, 0, Table, ArgumentsLength,
AcpiDmTableInfoWpbt0); AcpiDmTableInfoWpbt0);
} }
Index: acpica-unix2-20170728/source/compiler/dtfield.c Index: acpica-unix2-20170831/source/compiler/dtfield.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/dtfield.c --- acpica-unix2-20170831.orig/source/compiler/dtfield.c
+++ acpica-unix2-20170728/source/compiler/dtfield.c +++ acpica-unix2-20170831/source/compiler/dtfield.c
@@ -360,7 +360,27 @@ DtCompileInteger ( @@ -360,7 +360,27 @@ DtCompileInteger (
DtError (ASL_ERROR, ASL_MSG_INTEGER_SIZE, Field, MsgBuffer); DtError (ASL_ERROR, ASL_MSG_INTEGER_SIZE, Field, MsgBuffer);
} }
@ -4778,10 +4778,10 @@ Index: acpica-unix2-20170728/source/compiler/dtfield.c
return; return;
} }
Index: acpica-unix2-20170728/source/compiler/dtsubtable.c Index: acpica-unix2-20170831/source/compiler/dtsubtable.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/dtsubtable.c --- acpica-unix2-20170831.orig/source/compiler/dtsubtable.c
+++ acpica-unix2-20170728/source/compiler/dtsubtable.c +++ acpica-unix2-20170831/source/compiler/dtsubtable.c
@@ -379,6 +379,21 @@ DtSetSubtableLength ( @@ -379,6 +379,21 @@ DtSetSubtableLength (
return; return;
} }
@ -4806,10 +4806,10 @@ Index: acpica-unix2-20170728/source/compiler/dtsubtable.c
+ Subtable->SizeOfLengthField); + Subtable->SizeOfLengthField);
+ } + }
} }
Index: acpica-unix2-20170728/source/compiler/dttable1.c Index: acpica-unix2-20170831/source/compiler/dttable1.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/dttable1.c --- acpica-unix2-20170831.orig/source/compiler/dttable1.c
+++ acpica-unix2-20170728/source/compiler/dttable1.c +++ acpica-unix2-20170831/source/compiler/dttable1.c
@@ -282,6 +282,8 @@ DtCompileCsrt ( @@ -282,6 +282,8 @@ DtCompileCsrt (
DT_FIELD **PFieldList = (DT_FIELD **) List; DT_FIELD **PFieldList = (DT_FIELD **) List;
UINT32 DescriptorCount; UINT32 DescriptorCount;
@ -5181,10 +5181,10 @@ Index: acpica-unix2-20170728/source/compiler/dttable1.c
return (AE_OK); return (AE_OK);
} }
Index: acpica-unix2-20170728/source/compiler/dttable2.c Index: acpica-unix2-20170831/source/compiler/dttable2.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/dttable2.c --- acpica-unix2-20170831.orig/source/compiler/dttable2.c
+++ acpica-unix2-20170728/source/compiler/dttable2.c +++ acpica-unix2-20170831/source/compiler/dttable2.c
@@ -346,7 +346,7 @@ DtCompileMpst ( @@ -346,7 +346,7 @@ DtCompileMpst (
DtPushSubtable (Subtable); DtPushSubtable (Subtable);
@ -5341,10 +5341,10 @@ Index: acpica-unix2-20170728/source/compiler/dttable2.c
ParentTable = DtPeekSubtable (); ParentTable = DtPeekSubtable ();
DtInsertSubtable (ParentTable, Subtable); DtInsertSubtable (ParentTable, Subtable);
Index: acpica-unix2-20170728/source/components/disassembler/dmbuffer.c Index: acpica-unix2-20170831/source/components/disassembler/dmbuffer.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/disassembler/dmbuffer.c --- acpica-unix2-20170831.orig/source/components/disassembler/dmbuffer.c
+++ acpica-unix2-20170728/source/components/disassembler/dmbuffer.c +++ acpica-unix2-20170831/source/components/disassembler/dmbuffer.c
@@ -204,7 +204,7 @@ AcpiDmByteList ( @@ -204,7 +204,7 @@ AcpiDmByteList (
@ -5420,10 +5420,10 @@ Index: acpica-unix2-20170728/source/components/disassembler/dmbuffer.c
NextOp = AcpiPsGetDepthNext (NULL, Op); NextOp = AcpiPsGetDepthNext (NULL, Op);
if (!NextOp) if (!NextOp)
Index: acpica-unix2-20170728/source/components/disassembler/dmopcode.c Index: acpica-unix2-20170831/source/components/disassembler/dmopcode.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/disassembler/dmopcode.c --- acpica-unix2-20170831.orig/source/components/disassembler/dmopcode.c
+++ acpica-unix2-20170728/source/components/disassembler/dmopcode.c +++ acpica-unix2-20170831/source/components/disassembler/dmopcode.c
@@ -244,6 +244,7 @@ AcpiDmPredefinedDescription ( @@ -244,6 +244,7 @@ AcpiDmPredefinedDescription (
char *NameString; char *NameString;
int LastCharIsDigit; int LastCharIsDigit;
@ -5494,10 +5494,10 @@ Index: acpica-unix2-20170728/source/components/disassembler/dmopcode.c
Info->Level += 1; Info->Level += 1;
Info->MappingOp = Op; Info->MappingOp = Op;
Index: acpica-unix2-20170728/source/components/disassembler/dmresrcl.c Index: acpica-unix2-20170831/source/components/disassembler/dmresrcl.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/disassembler/dmresrcl.c --- acpica-unix2-20170831.orig/source/components/disassembler/dmresrcl.c
+++ acpica-unix2-20170728/source/components/disassembler/dmresrcl.c +++ acpica-unix2-20170831/source/components/disassembler/dmresrcl.c
@@ -141,7 +141,8 @@ AcpiDmMemoryFields ( @@ -141,7 +141,8 @@ AcpiDmMemoryFields (
UINT32 Level) UINT32 Level)
{ {
@ -5646,10 +5646,10 @@ Index: acpica-unix2-20170728/source/components/disassembler/dmresrcl.c
} }
AcpiDmIndent (Level); AcpiDmIndent (Level);
Index: acpica-unix2-20170728/source/components/disassembler/dmresrcl2.c Index: acpica-unix2-20170831/source/components/disassembler/dmresrcl2.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/disassembler/dmresrcl2.c --- acpica-unix2-20170831.orig/source/components/disassembler/dmresrcl2.c
+++ acpica-unix2-20170728/source/components/disassembler/dmresrcl2.c +++ acpica-unix2-20170831/source/components/disassembler/dmresrcl2.c
@@ -191,22 +191,24 @@ AcpiDmGpioCommon ( @@ -191,22 +191,24 @@ AcpiDmGpioCommon (
char *DeviceName = NULL; char *DeviceName = NULL;
UINT32 PinCount; UINT32 PinCount;
@ -5873,10 +5873,10 @@ Index: acpica-unix2-20170728/source/components/disassembler/dmresrcl2.c
DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset); DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset);
AcpiUtPrintString (DeviceName, ACPI_UINT16_MAX); AcpiUtPrintString (DeviceName, ACPI_UINT16_MAX);
Index: acpica-unix2-20170728/source/components/disassembler/dmresrcs.c Index: acpica-unix2-20170831/source/components/disassembler/dmresrcs.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/disassembler/dmresrcs.c --- acpica-unix2-20170831.orig/source/components/disassembler/dmresrcs.c
+++ acpica-unix2-20170728/source/components/disassembler/dmresrcs.c +++ acpica-unix2-20170831/source/components/disassembler/dmresrcs.c
@@ -72,6 +72,7 @@ AcpiDmIrqDescriptor ( @@ -72,6 +72,7 @@ AcpiDmIrqDescriptor (
UINT32 Length, UINT32 Length,
UINT32 Level) UINT32 Level)
@ -5933,10 +5933,10 @@ Index: acpica-unix2-20170728/source/components/disassembler/dmresrcs.c
AcpiDmIndent (Level + 1); AcpiDmIndent (Level + 1);
AcpiDmDumpInteger8 (Resource->FixedIo.AddressLength, "Length"); AcpiDmDumpInteger8 (Resource->FixedIo.AddressLength, "Length");
Index: acpica-unix2-20170728/source/components/dispatcher/dsfield.c Index: acpica-unix2-20170831/source/components/dispatcher/dsfield.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/dispatcher/dsfield.c --- acpica-unix2-20170831.orig/source/components/dispatcher/dsfield.c
+++ acpica-unix2-20170728/source/components/dispatcher/dsfield.c +++ acpica-unix2-20170831/source/components/dispatcher/dsfield.c
@@ -320,6 +320,7 @@ AcpiDsGetFieldNames ( @@ -320,6 +320,7 @@ AcpiDsGetFieldNames (
ACPI_STATUS Status; ACPI_STATUS Status;
UINT64 Position; UINT64 Position;
@ -5981,10 +5981,10 @@ Index: acpica-unix2-20170728/source/components/dispatcher/dsfield.c
if (ACPI_FAILURE (Status)) if (ACPI_FAILURE (Status))
{ {
ACPI_ERROR_NAMESPACE ((char *) &Arg->Named.Name, Status); ACPI_ERROR_NAMESPACE ((char *) &Arg->Named.Name, Status);
Index: acpica-unix2-20170728/source/components/events/evgpeblk.c Index: acpica-unix2-20170831/source/components/events/evgpeblk.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/events/evgpeblk.c --- acpica-unix2-20170831.orig/source/components/events/evgpeblk.c
+++ acpica-unix2-20170728/source/components/events/evgpeblk.c +++ acpica-unix2-20170831/source/components/events/evgpeblk.c
@@ -376,6 +376,7 @@ AcpiEvCreateGpeBlock ( @@ -376,6 +376,7 @@ AcpiEvCreateGpeBlock (
ACPI_STATUS Status; ACPI_STATUS Status;
ACPI_GPE_BLOCK_INFO *GpeBlock; ACPI_GPE_BLOCK_INFO *GpeBlock;
@ -6017,10 +6017,10 @@ Index: acpica-unix2-20170728/source/components/events/evgpeblk.c
InterruptNumber == AcpiGbl_FADT.SciInterrupt ? " (SCI)" : "")); InterruptNumber == AcpiGbl_FADT.SciInterrupt ? " (SCI)" : ""));
/* Update global count of currently available GPEs */ /* Update global count of currently available GPEs */
Index: acpica-unix2-20170728/source/components/hardware/hwregs.c Index: acpica-unix2-20170831/source/components/hardware/hwregs.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/hardware/hwregs.c --- acpica-unix2-20170831.orig/source/components/hardware/hwregs.c
+++ acpica-unix2-20170728/source/components/hardware/hwregs.c +++ acpica-unix2-20170831/source/components/hardware/hwregs.c
@@ -197,7 +197,7 @@ AcpiHwValidateRegister ( @@ -197,7 +197,7 @@ AcpiHwValidateRegister (
* Address must not be null. A null address also indicates an optional * Address must not be null. A null address also indicates an optional
* ACPI register that is not supported, so no error message. * ACPI register that is not supported, so no error message.
@ -6030,10 +6030,10 @@ Index: acpica-unix2-20170728/source/components/hardware/hwregs.c
if (!(*Address)) if (!(*Address))
{ {
return (AE_BAD_ADDRESS); return (AE_BAD_ADDRESS);
Index: acpica-unix2-20170728/source/components/hardware/hwvalid.c Index: acpica-unix2-20170831/source/components/hardware/hwvalid.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/hardware/hwvalid.c --- acpica-unix2-20170831.orig/source/components/hardware/hwvalid.c
+++ acpica-unix2-20170728/source/components/hardware/hwvalid.c +++ acpica-unix2-20170831/source/components/hardware/hwvalid.c
@@ -135,6 +135,8 @@ AcpiHwValidateIoRequest ( @@ -135,6 +135,8 @@ AcpiHwValidateIoRequest (
UINT32 ByteWidth; UINT32 ByteWidth;
ACPI_IO_ADDRESS LastAddress; ACPI_IO_ADDRESS LastAddress;
@ -6055,10 +6055,10 @@ Index: acpica-unix2-20170728/source/components/hardware/hwvalid.c
{ {
ACPI_ERROR ((AE_INFO, ACPI_ERROR ((AE_INFO,
"Illegal I/O port address/length above 64K: %8.8X%8.8X/0x%X", "Illegal I/O port address/length above 64K: %8.8X%8.8X/0x%X",
Index: acpica-unix2-20170728/source/components/namespace/nsaccess.c Index: acpica-unix2-20170831/source/components/namespace/nsaccess.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/namespace/nsaccess.c --- acpica-unix2-20170831.orig/source/components/namespace/nsaccess.c
+++ acpica-unix2-20170728/source/components/namespace/nsaccess.c +++ acpica-unix2-20170831/source/components/namespace/nsaccess.c
@@ -313,6 +313,7 @@ AcpiNsLookup ( @@ -313,6 +313,7 @@ AcpiNsLookup (
ACPI_OBJECT_TYPE ThisSearchType; ACPI_OBJECT_TYPE ThisSearchType;
UINT32 SearchParentFlag = ACPI_NS_SEARCH_PARENT; UINT32 SearchParentFlag = ACPI_NS_SEARCH_PARENT;
@ -6079,10 +6079,10 @@ Index: acpica-unix2-20170728/source/components/namespace/nsaccess.c
AcpiUtGetTypeName (ThisNode->Type), AcpiUtGetTypeName (ThisNode->Type),
AcpiUtGetTypeName (TypeToCheckFor))); AcpiUtGetTypeName (TypeToCheckFor)));
} }
Index: acpica-unix2-20170728/source/components/namespace/nsparse.c Index: acpica-unix2-20170831/source/components/namespace/nsparse.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/namespace/nsparse.c --- acpica-unix2-20170831.orig/source/components/namespace/nsparse.c
+++ acpica-unix2-20170728/source/components/namespace/nsparse.c +++ acpica-unix2-20170831/source/components/namespace/nsparse.c
@@ -196,13 +196,14 @@ AcpiNsOneCompleteParse ( @@ -196,13 +196,14 @@ AcpiNsOneCompleteParse (
/* Table must consist of at least a complete header */ /* Table must consist of at least a complete header */
@ -6100,10 +6100,10 @@ Index: acpica-unix2-20170728/source/components/namespace/nsparse.c
Status = AcpiTbGetOwnerId (TableIndex, &OwnerId); Status = AcpiTbGetOwnerId (TableIndex, &OwnerId);
if (ACPI_FAILURE (Status)) if (ACPI_FAILURE (Status))
Index: acpica-unix2-20170728/source/components/tables/tbdata.c Index: acpica-unix2-20170831/source/components/tables/tbdata.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/tables/tbdata.c --- acpica-unix2-20170831.orig/source/components/tables/tbdata.c
+++ acpica-unix2-20170728/source/components/tables/tbdata.c +++ acpica-unix2-20170831/source/components/tables/tbdata.c
@@ -552,6 +552,7 @@ AcpiTbVerifyTempTable ( @@ -552,6 +552,7 @@ AcpiTbVerifyTempTable (
UINT32 *TableIndex) UINT32 *TableIndex)
{ {
@ -6122,10 +6122,10 @@ Index: acpica-unix2-20170728/source/components/tables/tbdata.c
if (ACPI_FAILURE (Status)) if (ACPI_FAILURE (Status))
{ {
ACPI_EXCEPTION ((AE_INFO, AE_NO_MEMORY, ACPI_EXCEPTION ((AE_INFO, AE_NO_MEMORY,
Index: acpica-unix2-20170728/source/components/tables/tbfadt.c Index: acpica-unix2-20170831/source/components/tables/tbfadt.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/tables/tbfadt.c --- acpica-unix2-20170831.orig/source/components/tables/tbfadt.c
+++ acpica-unix2-20170728/source/components/tables/tbfadt.c +++ acpica-unix2-20170831/source/components/tables/tbfadt.c
@@ -424,18 +424,20 @@ AcpiTbCreateLocalFadt ( @@ -424,18 +424,20 @@ AcpiTbCreateLocalFadt (
ACPI_TABLE_HEADER *Table, ACPI_TABLE_HEADER *Table,
UINT32 Length) UINT32 Length)
@ -6237,10 +6237,10 @@ Index: acpica-unix2-20170728/source/components/tables/tbfadt.c
"PmRegisters", 0); "PmRegisters", 0);
} }
} }
Index: acpica-unix2-20170728/source/components/tables/tbfind.c Index: acpica-unix2-20170831/source/components/tables/tbfind.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/tables/tbfind.c --- acpica-unix2-20170831.orig/source/components/tables/tbfind.c
+++ acpica-unix2-20170728/source/components/tables/tbfind.c +++ acpica-unix2-20170831/source/components/tables/tbfind.c
@@ -108,8 +108,11 @@ AcpiTbFindTable ( @@ -108,8 +108,11 @@ AcpiTbFindTable (
(void) AcpiUtAcquireMutex (ACPI_MTX_TABLES); (void) AcpiUtAcquireMutex (ACPI_MTX_TABLES);
for (i = 0; i < AcpiGbl_RootTableList.CurrentTableCount; ++i) for (i = 0; i < AcpiGbl_RootTableList.CurrentTableCount; ++i)
@ -6254,10 +6254,10 @@ Index: acpica-unix2-20170728/source/components/tables/tbfind.c
{ {
/* Not the requested table */ /* Not the requested table */
Index: acpica-unix2-20170728/source/components/tables/tbprint.c Index: acpica-unix2-20170831/source/components/tables/tbprint.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/tables/tbprint.c --- acpica-unix2-20170831.orig/source/components/tables/tbprint.c
+++ acpica-unix2-20170728/source/components/tables/tbprint.c +++ acpica-unix2-20170831/source/components/tables/tbprint.c
@@ -143,15 +143,18 @@ AcpiTbPrintTableHeader ( @@ -143,15 +143,18 @@ AcpiTbPrintTableHeader (
ACPI_TABLE_HEADER *Header) ACPI_TABLE_HEADER *Header)
{ {
@ -6299,10 +6299,10 @@ Index: acpica-unix2-20170728/source/components/tables/tbprint.c
} }
} }
Index: acpica-unix2-20170728/source/components/tables/tbutils.c Index: acpica-unix2-20170831/source/components/tables/tbutils.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/tables/tbutils.c --- acpica-unix2-20170831.orig/source/components/tables/tbutils.c
+++ acpica-unix2-20170728/source/components/tables/tbutils.c +++ acpica-unix2-20170831/source/components/tables/tbutils.c
@@ -238,7 +238,7 @@ AcpiTbGetRootTableEntry ( @@ -238,7 +238,7 @@ AcpiTbGetRootTableEntry (
* 64-bit platform, XSDT: Move (unaligned) 64-bit to local, * 64-bit platform, XSDT: Move (unaligned) 64-bit to local,
* return 64-bit * return 64-bit
@ -6362,11 +6362,11 @@ Index: acpica-unix2-20170728/source/components/tables/tbutils.c
{ {
AcpiGbl_FadtIndex = TableIndex; AcpiGbl_FadtIndex = TableIndex;
AcpiTbParseFadt (); AcpiTbParseFadt ();
Index: acpica-unix2-20170728/source/components/tables/tbxface.c Index: acpica-unix2-20170831/source/components/tables/tbxface.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/tables/tbxface.c --- acpica-unix2-20170831.orig/source/components/tables/tbxface.c
+++ acpica-unix2-20170728/source/components/tables/tbxface.c +++ acpica-unix2-20170831/source/components/tables/tbxface.c
@@ -290,8 +290,11 @@ AcpiGetTableHeader ( @@ -293,8 +293,11 @@ AcpiGetTableHeader (
for (i = 0, j = 0; i < AcpiGbl_RootTableList.CurrentTableCount; i++) for (i = 0, j = 0; i < AcpiGbl_RootTableList.CurrentTableCount; i++)
{ {
@ -6379,10 +6379,10 @@ Index: acpica-unix2-20170728/source/components/tables/tbxface.c
{ {
continue; continue;
} }
Index: acpica-unix2-20170728/source/components/tables/tbxfload.c Index: acpica-unix2-20170831/source/components/tables/tbxfload.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/tables/tbxfload.c --- acpica-unix2-20170831.orig/source/components/tables/tbxfload.c
+++ acpica-unix2-20170728/source/components/tables/tbxfload.c +++ acpica-unix2-20170831/source/components/tables/tbxfload.c
@@ -156,6 +156,7 @@ AcpiTbLoadNamespace ( @@ -156,6 +156,7 @@ AcpiTbLoadNamespace (
ACPI_TABLE_DESC *Table; ACPI_TABLE_DESC *Table;
UINT32 TablesLoaded = 0; UINT32 TablesLoaded = 0;
@ -6402,10 +6402,10 @@ Index: acpica-unix2-20170728/source/components/tables/tbxfload.c
ACPI_FAILURE (AcpiTbValidateTable (Table))) ACPI_FAILURE (AcpiTbValidateTable (Table)))
{ {
Status = AE_NO_ACPI_TABLES; Status = AE_NO_ACPI_TABLES;
Index: acpica-unix2-20170728/source/tools/acpiexec/aetables.c Index: acpica-unix2-20170831/source/tools/acpiexec/aetables.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/tools/acpiexec/aetables.c --- acpica-unix2-20170831.orig/source/tools/acpiexec/aetables.c
+++ acpica-unix2-20170728/source/tools/acpiexec/aetables.c +++ acpica-unix2-20170831/source/tools/acpiexec/aetables.c
@@ -146,21 +146,25 @@ AeInitializeTableHeader ( @@ -146,21 +146,25 @@ AeInitializeTableHeader (
char *Signature, char *Signature,
UINT32 Length) UINT32 Length)
@ -6557,10 +6557,10 @@ Index: acpica-unix2-20170728/source/tools/acpiexec/aetables.c
} }
return (AE_OK); return (AE_OK);
Index: acpica-unix2-20170728/source/common/dmswitch.c Index: acpica-unix2-20170831/source/common/dmswitch.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/common/dmswitch.c --- acpica-unix2-20170831.orig/source/common/dmswitch.c
+++ acpica-unix2-20170728/source/common/dmswitch.c +++ acpica-unix2-20170831/source/common/dmswitch.c
@@ -88,13 +88,15 @@ AcpiDmProcessSwitch ( @@ -88,13 +88,15 @@ AcpiDmProcessSwitch (
ACPI_PARSE_OBJECT_LIST *Current; ACPI_PARSE_OBJECT_LIST *Current;
ACPI_PARSE_OBJECT_LIST *Previous; ACPI_PARSE_OBJECT_LIST *Previous;

View File

@ -8,10 +8,10 @@ From: Al Stone <ahs3@redhat.com>
generate/unix/iasl/Makefile | 13 +++++++------ generate/unix/iasl/Makefile | 13 +++++++------
2 files changed, 9 insertions(+), 6 deletions(-) 2 files changed, 9 insertions(+), 6 deletions(-)
Index: acpica-unix2-20170728/generate/unix/Makefile.config Index: acpica-unix2-20170831/generate/unix/Makefile.config
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/generate/unix/Makefile.config --- acpica-unix2-20170831.orig/generate/unix/Makefile.config
+++ acpica-unix2-20170728/generate/unix/Makefile.config +++ acpica-unix2-20170831/generate/unix/Makefile.config
@@ -182,6 +182,8 @@ ifneq ($(NOFORTIFY),TRUE) @@ -182,6 +182,8 @@ ifneq ($(NOFORTIFY),TRUE)
OPT_CFLAGS += -D_FORTIFY_SOURCE=2 OPT_CFLAGS += -D_FORTIFY_SOURCE=2
endif endif
@ -21,11 +21,11 @@ Index: acpica-unix2-20170728/generate/unix/Makefile.config
CFLAGS += \ CFLAGS += \
-D$(HOST)\ -D$(HOST)\
-D_GNU_SOURCE\ -D_GNU_SOURCE\
Index: acpica-unix2-20170728/generate/unix/iasl/Makefile Index: acpica-unix2-20170831/generate/unix/iasl/Makefile
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/generate/unix/iasl/Makefile --- acpica-unix2-20170831.orig/generate/unix/iasl/Makefile
+++ acpica-unix2-20170728/generate/unix/iasl/Makefile +++ acpica-unix2-20170831/generate/unix/iasl/Makefile
@@ -335,26 +335,27 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prpa @@ -336,26 +336,27 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prpa
# Cannot use the common compile warning flags since the C files are created # Cannot use the common compile warning flags since the C files are created
# by the utilities above and they are not necessarily ANSI C, etc. # by the utilities above and they are not necessarily ANSI C, etc.
# #

View File

@ -24,10 +24,10 @@ From: Al Stone <ahs3@redhat.com>
source/tools/acpiexec/aemain.c | 2 +- source/tools/acpiexec/aemain.c | 2 +-
18 files changed, 28 insertions(+), 28 deletions(-) 18 files changed, 28 insertions(+), 28 deletions(-)
Index: acpica-unix2-20170728/source/compiler/aslcompile.c Index: acpica-unix2-20170831/source/compiler/aslcompile.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslcompile.c --- acpica-unix2-20170831.orig/source/compiler/aslcompile.c
+++ acpica-unix2-20170728/source/compiler/aslcompile.c +++ acpica-unix2-20170831/source/compiler/aslcompile.c
@@ -751,7 +751,7 @@ CmCleanupAndExit ( @@ -751,7 +751,7 @@ CmCleanupAndExit (
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT) if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
@ -37,11 +37,11 @@ Index: acpica-unix2-20170728/source/compiler/aslcompile.c
ASL_MAX_ERROR_COUNT); ASL_MAX_ERROR_COUNT);
} }
Index: acpica-unix2-20170728/source/compiler/aslerror.c Index: acpica-unix2-20170831/source/compiler/aslerror.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslerror.c --- acpica-unix2-20170831.orig/source/compiler/aslerror.c
+++ acpica-unix2-20170728/source/compiler/aslerror.c +++ acpica-unix2-20170831/source/compiler/aslerror.c
@@ -697,7 +697,7 @@ AslCommonError ( @@ -702,7 +702,7 @@ AslCommonError (
Gbl_ExceptionCount[Level]++; Gbl_ExceptionCount[Level]++;
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT) if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
{ {
@ -50,7 +50,7 @@ Index: acpica-unix2-20170728/source/compiler/aslerror.c
Gbl_SourceLine = 0; Gbl_SourceLine = 0;
Gbl_NextError = Gbl_ErrorLog; Gbl_NextError = Gbl_ErrorLog;
@@ -852,7 +852,7 @@ AslDisableException ( @@ -857,7 +857,7 @@ AslDisableException (
if (Gbl_DisabledMessagesIndex >= ASL_MAX_DISABLED_MESSAGES) if (Gbl_DisabledMessagesIndex >= ASL_MAX_DISABLED_MESSAGES)
{ {
@ -59,10 +59,10 @@ Index: acpica-unix2-20170728/source/compiler/aslerror.c
ASL_MAX_DISABLED_MESSAGES); ASL_MAX_DISABLED_MESSAGES);
return (AE_LIMIT); return (AE_LIMIT);
} }
Index: acpica-unix2-20170728/source/compiler/aslopt.c Index: acpica-unix2-20170831/source/compiler/aslopt.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslopt.c --- acpica-unix2-20170831.orig/source/compiler/aslopt.c
+++ acpica-unix2-20170728/source/compiler/aslopt.c +++ acpica-unix2-20170831/source/compiler/aslopt.c
@@ -584,7 +584,7 @@ OptOptimizeNamePath ( @@ -584,7 +584,7 @@ OptOptimizeNamePath (
} }
@ -72,10 +72,10 @@ Index: acpica-unix2-20170728/source/compiler/aslopt.c
Op->Asl.LogicalLineNumber, Op->Asl.LogicalLineNumber,
AcpiPsGetOpcodeName (Op->Common.Parent->Common.AmlOpcode), AcpiPsGetOpcodeName (Op->Common.Parent->Common.AmlOpcode),
AcpiPsGetOpcodeName (Op->Common.AmlOpcode))); AcpiPsGetOpcodeName (Op->Common.AmlOpcode)));
Index: acpica-unix2-20170728/source/compiler/aslpredef.c Index: acpica-unix2-20170831/source/compiler/aslpredef.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslpredef.c --- acpica-unix2-20170831.orig/source/compiler/aslpredef.c
+++ acpica-unix2-20170728/source/compiler/aslpredef.c +++ acpica-unix2-20170831/source/compiler/aslpredef.c
@@ -114,7 +114,7 @@ ApCheckForPredefinedMethod ( @@ -114,7 +114,7 @@ ApCheckForPredefinedMethod (
if (MethodInfo->NumArguments != 0) if (MethodInfo->NumArguments != 0)
@ -85,10 +85,10 @@ Index: acpica-unix2-20170728/source/compiler/aslpredef.c
AslError (ASL_WARNING, ASL_MSG_RESERVED_ARG_COUNT_HI, Op, AslError (ASL_WARNING, ASL_MSG_RESERVED_ARG_COUNT_HI, Op,
MsgBuffer); MsgBuffer);
Index: acpica-unix2-20170728/source/compiler/aslprepkg.c Index: acpica-unix2-20170831/source/compiler/aslprepkg.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/compiler/aslprepkg.c --- acpica-unix2-20170831.orig/source/compiler/aslprepkg.c
+++ acpica-unix2-20170728/source/compiler/aslprepkg.c +++ acpica-unix2-20170831/source/compiler/aslprepkg.c
@@ -309,7 +309,7 @@ ApCheckPackage ( @@ -309,7 +309,7 @@ ApCheckPackage (
if (Count & 1) if (Count & 1)
@ -98,10 +98,10 @@ Index: acpica-unix2-20170728/source/compiler/aslprepkg.c
Predefined->Info.Name, Count); Predefined->Info.Name, Count);
AslError (ASL_ERROR, ASL_MSG_RESERVED_PACKAGE_LENGTH, AslError (ASL_ERROR, ASL_MSG_RESERVED_PACKAGE_LENGTH,
Index: acpica-unix2-20170728/source/components/debugger/dbexec.c Index: acpica-unix2-20170831/source/components/debugger/dbexec.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/debugger/dbexec.c --- acpica-unix2-20170831.orig/source/components/debugger/dbexec.c
+++ acpica-unix2-20170728/source/components/debugger/dbexec.c +++ acpica-unix2-20170831/source/components/debugger/dbexec.c
@@ -226,7 +226,7 @@ AcpiDbExecuteMethod ( @@ -226,7 +226,7 @@ AcpiDbExecuteMethod (
ACPI_ERROR ((AE_INFO, ACPI_ERROR ((AE_INFO,
"Possible overflow of internal debugger " "Possible overflow of internal debugger "
@ -111,10 +111,10 @@ Index: acpica-unix2-20170728/source/components/debugger/dbexec.c
} }
} }
Index: acpica-unix2-20170728/source/components/dispatcher/dsmthdat.c Index: acpica-unix2-20170831/source/components/dispatcher/dsmthdat.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/dispatcher/dsmthdat.c --- acpica-unix2-20170831.orig/source/components/dispatcher/dsmthdat.c
+++ acpica-unix2-20170728/source/components/dispatcher/dsmthdat.c +++ acpica-unix2-20170831/source/components/dispatcher/dsmthdat.c
@@ -291,7 +291,7 @@ AcpiDsMethodDataGetNode ( @@ -291,7 +291,7 @@ AcpiDsMethodDataGetNode (
if (Index > ACPI_METHOD_MAX_LOCAL) if (Index > ACPI_METHOD_MAX_LOCAL)
{ {
@ -133,10 +133,10 @@ Index: acpica-unix2-20170728/source/components/dispatcher/dsmthdat.c
Index, ACPI_METHOD_MAX_ARG)); Index, ACPI_METHOD_MAX_ARG));
return_ACPI_STATUS (AE_AML_INVALID_INDEX); return_ACPI_STATUS (AE_AML_INVALID_INDEX);
} }
Index: acpica-unix2-20170728/source/components/dispatcher/dsutils.c Index: acpica-unix2-20170831/source/components/dispatcher/dsutils.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/dispatcher/dsutils.c --- acpica-unix2-20170831.orig/source/components/dispatcher/dsutils.c
+++ acpica-unix2-20170728/source/components/dispatcher/dsutils.c +++ acpica-unix2-20170831/source/components/dispatcher/dsutils.c
@@ -787,7 +787,7 @@ AcpiDsCreateOperands ( @@ -787,7 +787,7 @@ AcpiDsCreateOperands (
} }
@ -146,10 +146,10 @@ Index: acpica-unix2-20170728/source/components/dispatcher/dsutils.c
WalkState->NumOperands, ArgCount, Index)); WalkState->NumOperands, ArgCount, Index));
/* Create the interpreter arguments, in reverse order */ /* Create the interpreter arguments, in reverse order */
Index: acpica-unix2-20170728/source/components/dispatcher/dswscope.c Index: acpica-unix2-20170831/source/components/dispatcher/dswscope.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/dispatcher/dswscope.c --- acpica-unix2-20170831.orig/source/components/dispatcher/dswscope.c
+++ acpica-unix2-20170728/source/components/dispatcher/dswscope.c +++ acpica-unix2-20170831/source/components/dispatcher/dswscope.c
@@ -149,7 +149,7 @@ AcpiDsScopeStackPush ( @@ -149,7 +149,7 @@ AcpiDsScopeStackPush (
WalkState->ScopeDepth++; WalkState->ScopeDepth++;
@ -168,10 +168,10 @@ Index: acpica-unix2-20170728/source/components/dispatcher/dswscope.c
(UINT32) WalkState->ScopeDepth, (UINT32) WalkState->ScopeDepth,
AcpiUtGetNodeName (ScopeInfo->Scope.Node), AcpiUtGetNodeName (ScopeInfo->Scope.Node),
AcpiUtGetTypeName (ScopeInfo->Common.Value))); AcpiUtGetTypeName (ScopeInfo->Common.Value)));
Index: acpica-unix2-20170728/source/components/events/evgpe.c Index: acpica-unix2-20170831/source/components/events/evgpe.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/events/evgpe.c --- acpica-unix2-20170831.orig/source/components/events/evgpe.c
+++ acpica-unix2-20170728/source/components/events/evgpe.c +++ acpica-unix2-20170831/source/components/events/evgpe.c
@@ -494,7 +494,7 @@ AcpiEvGpeDetect ( @@ -494,7 +494,7 @@ AcpiEvGpeDetect (
"Ignore disabled registers for GPE %02X-%02X: " "Ignore disabled registers for GPE %02X-%02X: "
"RunEnable=%02X, WakeEnable=%02X\n", "RunEnable=%02X, WakeEnable=%02X\n",
@ -187,13 +187,13 @@ Index: acpica-unix2-20170728/source/components/events/evgpe.c
GpeRegisterInfo->BaseGpeNumber, GpeRegisterInfo->BaseGpeNumber,
- GpeRegisterInfo->BaseGpeNumber + (ACPI_GPE_REGISTER_WIDTH - 1), - GpeRegisterInfo->BaseGpeNumber + (ACPI_GPE_REGISTER_WIDTH - 1),
+ (unsigned int) (GpeRegisterInfo->BaseGpeNumber + (ACPI_GPE_REGISTER_WIDTH - 1)), + (unsigned int) (GpeRegisterInfo->BaseGpeNumber + (ACPI_GPE_REGISTER_WIDTH - 1)),
StatusReg, EnableReg, (UINT32) StatusReg, (UINT32) EnableReg,
GpeRegisterInfo->EnableForRun, GpeRegisterInfo->EnableForRun,
GpeRegisterInfo->EnableForWake)); GpeRegisterInfo->EnableForWake));
Index: acpica-unix2-20170728/source/components/executer/exdump.c Index: acpica-unix2-20170831/source/components/executer/exdump.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/executer/exdump.c --- acpica-unix2-20170831.orig/source/components/executer/exdump.c
+++ acpica-unix2-20170728/source/components/executer/exdump.c +++ acpica-unix2-20170831/source/components/executer/exdump.c
@@ -678,7 +678,7 @@ AcpiExDumpOperand ( @@ -678,7 +678,7 @@ AcpiExDumpOperand (
if (Depth > 0) if (Depth > 0)
{ {
@ -203,10 +203,10 @@ Index: acpica-unix2-20170728/source/components/executer/exdump.c
} }
else else
{ {
Index: acpica-unix2-20170728/source/components/executer/exfldio.c Index: acpica-unix2-20170831/source/components/executer/exfldio.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/executer/exfldio.c --- acpica-unix2-20170831.orig/source/components/executer/exfldio.c
+++ acpica-unix2-20170728/source/components/executer/exfldio.c +++ acpica-unix2-20170831/source/components/executer/exfldio.c
@@ -681,8 +681,8 @@ AcpiExWriteWithUpdateRule ( @@ -681,8 +681,8 @@ AcpiExWriteWithUpdateRule (
ACPI_ERROR ((AE_INFO, ACPI_ERROR ((AE_INFO,
@ -218,10 +218,10 @@ Index: acpica-unix2-20170728/source/components/executer/exfldio.c
return_ACPI_STATUS (AE_AML_OPERAND_VALUE); return_ACPI_STATUS (AE_AML_OPERAND_VALUE);
} }
} }
Index: acpica-unix2-20170728/source/components/executer/exnames.c Index: acpica-unix2-20170831/source/components/executer/exnames.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/executer/exnames.c --- acpica-unix2-20170831.orig/source/components/executer/exnames.c
+++ acpica-unix2-20170728/source/components/executer/exnames.c +++ acpica-unix2-20170831/source/components/executer/exnames.c
@@ -240,7 +240,7 @@ AcpiExNameSegment ( @@ -240,7 +240,7 @@ AcpiExNameSegment (
*/ */
ACPI_DEBUG_PRINT ((ACPI_DB_INFO, ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
@ -240,11 +240,11 @@ Index: acpica-unix2-20170728/source/components/executer/exnames.c
} }
*InAmlAddress = ACPI_CAST_PTR (UINT8, AmlAddress); *InAmlAddress = ACPI_CAST_PTR (UINT8, AmlAddress);
Index: acpica-unix2-20170728/source/components/hardware/hwregs.c Index: acpica-unix2-20170831/source/components/hardware/hwregs.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/hardware/hwregs.c --- acpica-unix2-20170831.orig/source/components/hardware/hwregs.c
+++ acpica-unix2-20170728/source/components/hardware/hwregs.c +++ acpica-unix2-20170831/source/components/hardware/hwregs.c
@@ -464,7 +464,7 @@ AcpiHwClearAcpiStatus ( @@ -460,7 +460,7 @@ AcpiHwClearAcpiStatus (
ACPI_DEBUG_PRINT ((ACPI_DB_IO, "About to write %04X to %8.8X%8.8X\n", ACPI_DEBUG_PRINT ((ACPI_DB_IO, "About to write %04X to %8.8X%8.8X\n",
@ -253,10 +253,10 @@ Index: acpica-unix2-20170728/source/components/hardware/hwregs.c
ACPI_FORMAT_UINT64 (AcpiGbl_XPm1aStatus.Address))); ACPI_FORMAT_UINT64 (AcpiGbl_XPm1aStatus.Address)));
LockFlags = AcpiOsAcquireLock (AcpiGbl_HardwareLock); LockFlags = AcpiOsAcquireLock (AcpiGbl_HardwareLock);
Index: acpica-unix2-20170728/source/components/tables/tbfadt.c Index: acpica-unix2-20170831/source/components/tables/tbfadt.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/tables/tbfadt.c --- acpica-unix2-20170831.orig/source/components/tables/tbfadt.c
+++ acpica-unix2-20170728/source/components/tables/tbfadt.c +++ acpica-unix2-20170831/source/components/tables/tbfadt.c
@@ -233,7 +233,7 @@ AcpiTbInitGenericAddress ( @@ -233,7 +233,7 @@ AcpiTbInitGenericAddress (
if (!(Flags & ACPI_FADT_GPE_REGISTER)) if (!(Flags & ACPI_FADT_GPE_REGISTER))
{ {
@ -284,10 +284,10 @@ Index: acpica-unix2-20170728/source/components/tables/tbfadt.c
Name, Address32, Name, Address32,
ACPI_FORMAT_UINT64 (Address64->Address), ACPI_FORMAT_UINT64 (Address64->Address),
AcpiGbl_Use32BitFadtAddresses ? 32 : 64)); AcpiGbl_Use32BitFadtAddresses ? 32 : 64));
Index: acpica-unix2-20170728/source/components/tables/tbxfroot.c Index: acpica-unix2-20170831/source/components/tables/tbxfroot.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/tables/tbxfroot.c --- acpica-unix2-20170831.orig/source/components/tables/tbxfroot.c
+++ acpica-unix2-20170728/source/components/tables/tbxfroot.c +++ acpica-unix2-20170831/source/components/tables/tbxfroot.c
@@ -177,7 +177,7 @@ AcpiFindRootPointer ( @@ -177,7 +177,7 @@ AcpiFindRootPointer (
{ {
ACPI_ERROR ((AE_INFO, ACPI_ERROR ((AE_INFO,
@ -315,10 +315,10 @@ Index: acpica-unix2-20170728/source/components/tables/tbxfroot.c
return_ACPI_STATUS (AE_NO_MEMORY); return_ACPI_STATUS (AE_NO_MEMORY);
} }
Index: acpica-unix2-20170728/source/components/utilities/utownerid.c Index: acpica-unix2-20170831/source/components/utilities/utownerid.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/components/utilities/utownerid.c --- acpica-unix2-20170831.orig/source/components/utilities/utownerid.c
+++ acpica-unix2-20170728/source/components/utilities/utownerid.c +++ acpica-unix2-20170831/source/components/utilities/utownerid.c
@@ -237,7 +237,7 @@ AcpiUtReleaseOwnerId ( @@ -237,7 +237,7 @@ AcpiUtReleaseOwnerId (
else else
{ {
@ -328,10 +328,10 @@ Index: acpica-unix2-20170728/source/components/utilities/utownerid.c
} }
(void) AcpiUtReleaseMutex (ACPI_MTX_CACHES); (void) AcpiUtReleaseMutex (ACPI_MTX_CACHES);
Index: acpica-unix2-20170728/source/tools/acpiexec/aemain.c Index: acpica-unix2-20170831/source/tools/acpiexec/aemain.c
=================================================================== ===================================================================
--- acpica-unix2-20170728.orig/source/tools/acpiexec/aemain.c --- acpica-unix2-20170831.orig/source/tools/acpiexec/aemain.c
+++ acpica-unix2-20170728/source/tools/acpiexec/aemain.c +++ acpica-unix2-20170831/source/tools/acpiexec/aemain.c
@@ -203,7 +203,7 @@ AeDoOptions ( @@ -203,7 +203,7 @@ AeDoOptions (
if (strlen (AcpiGbl_Optarg) > (AE_BUFFER_SIZE -1)) if (strlen (AcpiGbl_Optarg) > (AE_BUFFER_SIZE -1))

View File

@ -1,2 +1,2 @@
SHA512 (acpica-unix2-20170728.tar.gz) = 6d66a733016c291443e3b0355191b287eafb3ead9da9fec154e6c1d15a4c73bb2542e8262754b313004132f0a1bfc421d31c5fa77aa3272ae2ef967bb256ca4e SHA512 (acpica-unix2-20170831.tar.gz) = 5c8ba2587b765078e40ca3d1f292dd1555f5fb8753bfdea7f4aef15f53e7e33b5bf57375e4c6caacac743328a2d025fd00bc34b1f37e2b4573e20e64bdd194fb
SHA512 (acpitests-unix-20170728.tar.gz) = 1e0fdb4fc12cd1ef60bf10712a211089fac3986cf58b0b1188888fb33f53af904ee9b1178e154b11a82c08bb185f92ac7efee6915351326193376f8e64bf4a81 SHA512 (acpitests-unix-20170831.tar.gz) = e2ef1c26c202ee9efb93b4bdd169576792580e25b8fd622d0c33eeab8daf6f1195f4a6befd3b911242ebb3700d1f8316f4fd93218c76d2504c2daec5d8722f0b