Update to 20170531 upstream sources

Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
Al Stone 2017-08-11 16:17:24 -06:00
parent f975950b88
commit b0fde58d3b
11 changed files with 409 additions and 397 deletions

2
.gitignore vendored
View File

@ -68,3 +68,5 @@
/acpitests-unix-20170224.tar.gz /acpitests-unix-20170224.tar.gz
/acpica-unix2-20170303.tar.gz /acpica-unix2-20170303.tar.gz
/acpitests-unix-20170303.tar.gz /acpitests-unix-20170303.tar.gz
/acpica-unix2-20170531.tar.gz
/acpitests-unix-20170531.tar.gz

View File

@ -1,6 +1,6 @@
Name: acpica-tools Name: acpica-tools
Version: 20170303 Version: 20170531
Release: 5%{?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
@ -194,6 +194,9 @@ fi
%changelog %changelog
* Fri Aug 11 2017 Al Stone <ahs3@redhat.com> - 20170531-1
- Update to 20170531 source tree, including patch refeshes
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170303-5 * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170303-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -85,25 +85,25 @@ Warning 3144 - Method Local is set but never used ^ (Local0)
badcode.asl 126: Method (MTH5) {Store (MTH4(), Local0)} badcode.asl 126: Method (MTH5) {Store (MTH4(), Local0)}
Error 6080 - Called method returns no value ^ Error 6080 - Called method returns no value ^
badcode.asl 132: Name (_HID, "*PNP0C0A") /* Illegal leading asterisk badcode.asl 132: Name (_HID, "*PNP0C0A") // Illegal leading asterisk
Error 6061 - Invalid leading asterisk ^ (*PNP0C0A) Error 6061 - Invalid leading asterisk ^ (*PNP0C0A)
badcode.asl 136: Name (_HID, "PNP") /* Too short, must be 7 or 8 chars badcode.asl 136: Name (_HID, "PNP") // Too short, must be 7 or 8 chars
Error 6033 - ^ _HID string must be exactly 7 or 8 characters (PNP) Error 6033 - ^ _HID string must be exactly 7 or 8 characters (PNP)
badcode.asl 140: Name (_HID, "MYDEVICE01") /* Too long, must be 7 or 8 chars badcode.asl 140: Name (_HID, "MYDEVICE01") // Too long, must be 7 or 8 chars
Error 6033 - ^ _HID string must be exactly 7 or 8 characters (MYDEVICE01) Error 6033 - ^ _HID string must be exactly 7 or 8 characters (MYDEVICE01)
badcode.asl 144: Name (_HID, "acpi0001") /* non-hex chars must be uppercase badcode.asl 144: Name (_HID, "acpi0001") // non-hex chars must be uppercase
Error 6034 - ^ _HID prefix must be all uppercase or decimal digits (acpi0001) Error 6034 - ^ _HID prefix must be all uppercase or decimal digits (acpi0001)
badcode.asl 148: Name (_HID, "PNP-123") /* HID must be alphanumeric badcode.asl 148: Name (_HID, "PNP-123") // HID must be alphanumeric
Error 6002 - ^ String must be entirely alphanumeric (PNP-123) Error 6002 - ^ String must be entirely alphanumeric (PNP-123)
badcode.asl 152: Name (_HID, "") /* Illegal Null HID badcode.asl 152: Name (_HID, "") // Illegal Null HID
Error 6091 - ^ Invalid zero-length (null) string Error 6091 - ^ Invalid zero-length (null) string
badcode.asl 153: Name (_CID, "") /* Illegal Null CID badcode.asl 153: Name (_CID, "") // Illegal Null CID
Error 6091 - ^ Invalid zero-length (null) string Error 6091 - ^ Invalid zero-length (null) string
badcode.asl 158: Name (_PRW, 4) badcode.asl 158: Name (_PRW, 4)
@ -157,49 +157,49 @@ Error 6019 - ^ Dependent function macros can
badcode.asl 225: }) badcode.asl 225: })
Error 6070 - ^ Missing EndDependentFn() macro in dependent resource list Error 6070 - ^ Missing EndDependentFn() macro in dependent resource list
badcode.asl 242: 0x00002000, /* Length badcode.asl 242: 0x00002000, // Length
Error 6049 - ^ Length is larger than Min/Max window Error 6049 - ^ Length is larger than Min/Max window
badcode.asl 247: 0x00001001, /* Range Minimum badcode.asl 247: 0x00001001, // Range Minimum
Error 6001 - ^ Must be a multiple of alignment/granularity value Error 6001 - ^ Must be a multiple of alignment/granularity value
badcode.asl 248: 0x00002002, /* Range Maximum badcode.asl 248: 0x00002002, // Range Maximum
Error 6001 - ^ Must be a multiple of alignment/granularity value Error 6001 - ^ Must be a multiple of alignment/granularity value
badcode.asl 255: 0xFFFF, /* Address badcode.asl 255: 0xFFFF, // Address
Warning 3060 - ^ Maximum 10-bit ISA address (0x3FF) Warning 3060 - ^ Maximum 10-bit ISA address (0x3FF)
badcode.asl 264: 0x05 /* Access Size badcode.asl 264: 0x05 // Access Size
Error 6042 - ^ Invalid AccessSize (Maximum is 4 - QWord access) Error 6042 - ^ Invalid AccessSize (Maximum is 4 - QWord access)
badcode.asl 268: QWordSpace (0xB0, ResourceConsumer, PosDecode, MinFixed, MaxFixed, 0xA5, badcode.asl 268: QWordSpace (0xB0, ResourceConsumer, PosDecode, MinFixed, MaxFixed, 0xA5,
Error 6139 - Constant out of range ^ (0xB0, allowable: 0xC0-0xFF) Error 6139 - Constant out of range ^ (0xB0, allowable: 0xC0-0xFF)
badcode.asl 279: 0x0200, /* Range Minimum badcode.asl 279: 0x0200, // Range Minimum
Error 6051 - ^ Address Min is greater than Address Max Error 6051 - ^ Address Min is greater than Address Max
badcode.asl 291: 0x00001002, /* Length badcode.asl 291: 0x00001002, // Length
Error 6049 - ^ Length is larger than Min/Max window Error 6049 - ^ Length is larger than Min/Max window
badcode.asl 296: 0x00000010, badcode.asl 296: 0x00000010,
Error 6048 - ^ Granularity must be zero or a power of two minus one Error 6048 - ^ Granularity must be zero or a power of two minus one
badcode.asl 305: 0x0000000000000B02, /* Range Minimum badcode.asl 305: 0x0000000000000B02, // Range Minimum
Error 6001 - ^ Must be a multiple of alignment/granularity value Error 6001 - ^ Must be a multiple of alignment/granularity value
badcode.asl 315: 0x00000000002FFFFE, /* Range Maximum badcode.asl 315: 0x00000000002FFFFE, // Range Maximum
Error 6001 - ^ Must be a multiple of alignment/granularity value (-1) Error 6001 - ^ Must be a multiple of alignment/granularity value (-1)
badcode.asl 326: 0x00000000, /* Length badcode.asl 326: 0x00000000, // Length
Error 6043 - ^ Invalid combination of Length and Min/Max fixed flags Error 6043 - ^ Invalid combination of Length and Min/Max fixed flags
badcode.asl 335: 0x00000100, /* Length badcode.asl 335: 0x00000100, // Length
Error 6043 - ^ Invalid combination of Length and Min/Max fixed flags Error 6043 - ^ Invalid combination of Length and Min/Max fixed flags
badcode.asl 344: 0x00000200, /* Length badcode.asl 344: 0x00000200, // Length
Error 6043 - ^ Invalid combination of Length and Min/Max fixed flags Error 6043 - ^ Invalid combination of Length and Min/Max fixed flags
badcode.asl 349: 0x0000000F, /* Granularity badcode.asl 349: 0x0000000F, // Granularity
Error 6047 - ^ Granularity must be zero for fixed Min/Max Error 6047 - ^ Granularity must be zero for fixed Min/Max
badcode.asl 358: DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, badcode.asl 358: DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,

View File

@ -18,10 +18,10 @@ support
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-20170224/source/compiler/aslcodegen.c Index: acpica-unix2-20170531/source/compiler/aslcodegen.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslcodegen.c --- acpica-unix2-20170531.orig/source/compiler/aslcodegen.c
+++ acpica-unix2-20170224/source/compiler/aslcodegen.c +++ acpica-unix2-20170531/source/compiler/aslcodegen.c
@@ -238,16 +238,12 @@ CgWriteAmlOpcode ( @@ -238,16 +238,12 @@ CgWriteAmlOpcode (
ACPI_PARSE_OBJECT *Op) ACPI_PARSE_OBJECT *Op)
{ {
@ -263,10 +263,10 @@ Index: acpica-unix2-20170224/source/compiler/aslcodegen.c
case AML_RAW_DATA_BUFFER: case AML_RAW_DATA_BUFFER:
Index: acpica-unix2-20170224/source/compiler/aslopcodes.c Index: acpica-unix2-20170531/source/compiler/aslopcodes.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslopcodes.c --- acpica-unix2-20170531.orig/source/compiler/aslopcodes.c
+++ acpica-unix2-20170224/source/compiler/aslopcodes.c +++ acpica-unix2-20170531/source/compiler/aslopcodes.c
@@ -485,6 +485,7 @@ OpcDoUnicode ( @@ -485,6 +485,7 @@ OpcDoUnicode (
UINT32 i; UINT32 i;
UINT8 *AsciiString; UINT8 *AsciiString;
@ -285,10 +285,10 @@ Index: acpica-unix2-20170224/source/compiler/aslopcodes.c
} }
/* /*
Index: acpica-unix2-20170224/source/compiler/aslrestype1.c Index: acpica-unix2-20170531/source/compiler/aslrestype1.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslrestype1.c --- acpica-unix2-20170531.orig/source/compiler/aslrestype1.c
+++ acpica-unix2-20170224/source/compiler/aslrestype1.c +++ acpica-unix2-20170531/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;
@ -485,10 +485,10 @@ Index: acpica-unix2-20170224/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-20170224/source/compiler/aslrestype1i.c Index: acpica-unix2-20170531/source/compiler/aslrestype1i.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslrestype1i.c --- acpica-unix2-20170531.orig/source/compiler/aslrestype1i.c
+++ acpica-unix2-20170224/source/compiler/aslrestype1i.c +++ acpica-unix2-20170531/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;
@ -625,10 +625,10 @@ Index: acpica-unix2-20170224/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-20170224/source/compiler/aslrestype2.c Index: acpica-unix2-20170531/source/compiler/aslrestype2.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslrestype2.c --- acpica-unix2-20170531.orig/source/compiler/aslrestype2.c
+++ acpica-unix2-20170224/source/compiler/aslrestype2.c +++ acpica-unix2-20170531/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;
@ -725,10 +725,10 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2.c
/* Point to end-of-descriptor for vendor data */ /* Point to end-of-descriptor for vendor data */
Index: acpica-unix2-20170224/source/compiler/aslrestype2d.c Index: acpica-unix2-20170531/source/compiler/aslrestype2d.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslrestype2d.c --- acpica-unix2-20170531.orig/source/compiler/aslrestype2d.c
+++ acpica-unix2-20170224/source/compiler/aslrestype2d.c +++ acpica-unix2-20170531/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;
@ -1084,10 +1084,10 @@ Index: acpica-unix2-20170224/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-20170224/source/compiler/aslrestype2e.c Index: acpica-unix2-20170531/source/compiler/aslrestype2e.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslrestype2e.c --- acpica-unix2-20170531.orig/source/compiler/aslrestype2e.c
+++ acpica-unix2-20170224/source/compiler/aslrestype2e.c +++ acpica-unix2-20170531/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;
@ -1193,10 +1193,10 @@ Index: acpica-unix2-20170224/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-20170224/source/compiler/aslrestype2q.c Index: acpica-unix2-20170531/source/compiler/aslrestype2q.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslrestype2q.c --- acpica-unix2-20170531.orig/source/compiler/aslrestype2q.c
+++ acpica-unix2-20170224/source/compiler/aslrestype2q.c +++ acpica-unix2-20170531/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;
@ -1535,11 +1535,11 @@ Index: acpica-unix2-20170224/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-20170224/source/compiler/aslrestype2s.c Index: acpica-unix2-20170531/source/compiler/aslrestype2s.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslrestype2s.c --- acpica-unix2-20170531.orig/source/compiler/aslrestype2s.c
+++ acpica-unix2-20170224/source/compiler/aslrestype2s.c +++ acpica-unix2-20170531/source/compiler/aslrestype2s.c
@@ -290,6 +290,9 @@ RsDoGpioIntDescriptor ( @@ -340,6 +340,9 @@ RsDoGpioIntDescriptor (
UINT16 VendorLength; UINT16 VendorLength;
UINT16 InterruptLength; UINT16 InterruptLength;
UINT16 DescriptorSize; UINT16 DescriptorSize;
@ -1549,7 +1549,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
UINT32 CurrentByteOffset; UINT32 CurrentByteOffset;
UINT32 PinCount = 0; UINT32 PinCount = 0;
UINT32 i; UINT32 i;
@@ -346,21 +349,21 @@ RsDoGpioIntDescriptor ( @@ -396,21 +399,21 @@ RsDoGpioIntDescriptor (
{ {
case 0: /* Interrupt Mode - edge/level [Flag] (_MOD) */ case 0: /* Interrupt Mode - edge/level [Flag] (_MOD) */
@ -1574,7 +1574,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateMultiBitField (InitializerOp, ACPI_RESTAG_INTERRUPTSHARE, RsCreateMultiBitField (InitializerOp, ACPI_RESTAG_INTERRUPTSHARE,
CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.IntFlags), 3, 2); CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.IntFlags), 3, 2);
break; break;
@@ -374,7 +377,7 @@ RsDoGpioIntDescriptor ( @@ -424,7 +427,7 @@ RsDoGpioIntDescriptor (
case 4: /* Debounce Timeout [WORD] (_DBT) */ case 4: /* Debounce Timeout [WORD] (_DBT) */
@ -1583,7 +1583,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateWordField (InitializerOp, ACPI_RESTAG_DEBOUNCETIME, RsCreateWordField (InitializerOp, ACPI_RESTAG_DEBOUNCETIME,
CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.DebounceTimeout)); CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.DebounceTimeout));
break; break;
@@ -401,7 +404,7 @@ RsDoGpioIntDescriptor ( @@ -451,7 +454,7 @@ RsDoGpioIntDescriptor (
case 7: /* Resource Usage (consumer/producer) */ case 7: /* Resource Usage (consumer/producer) */
@ -1592,7 +1592,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
break; break;
case 8: /* Resource Tag (Descriptor Name) */ case 8: /* Resource Tag (Descriptor Name) */
@@ -466,6 +469,10 @@ RsDoGpioIntDescriptor ( @@ -516,6 +519,10 @@ RsDoGpioIntDescriptor (
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp); InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
} }
@ -1603,7 +1603,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
MpSaveGpioInfo (Info->MappingOp, Descriptor, MpSaveGpioInfo (Info->MappingOp, Descriptor,
PinCount, PinList, ResourceSource); PinCount, PinList, ResourceSource);
return (Rnode); return (Rnode);
@@ -499,6 +506,10 @@ RsDoGpioIoDescriptor ( @@ -549,6 +556,10 @@ RsDoGpioIoDescriptor (
UINT16 VendorLength; UINT16 VendorLength;
UINT16 InterruptLength; UINT16 InterruptLength;
UINT16 DescriptorSize; UINT16 DescriptorSize;
@ -1614,7 +1614,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
UINT32 CurrentByteOffset; UINT32 CurrentByteOffset;
UINT32 PinCount = 0; UINT32 PinCount = 0;
UINT32 i; UINT32 i;
@@ -555,7 +566,7 @@ RsDoGpioIoDescriptor ( @@ -605,7 +616,7 @@ RsDoGpioIoDescriptor (
{ {
case 0: /* Share Type [Flags] (_SHR) */ case 0: /* Share Type [Flags] (_SHR) */
@ -1623,7 +1623,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateBitField (InitializerOp, ACPI_RESTAG_INTERRUPTSHARE, RsCreateBitField (InitializerOp, ACPI_RESTAG_INTERRUPTSHARE,
CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.IntFlags), 3); CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.IntFlags), 3);
break; break;
@@ -569,21 +580,21 @@ RsDoGpioIoDescriptor ( @@ -619,21 +630,21 @@ RsDoGpioIoDescriptor (
case 2: /* Debounce Timeout [WORD] (_DBT) */ case 2: /* Debounce Timeout [WORD] (_DBT) */
@ -1648,7 +1648,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateMultiBitField (InitializerOp, ACPI_RESTAG_IORESTRICTION, RsCreateMultiBitField (InitializerOp, ACPI_RESTAG_IORESTRICTION,
CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.IntFlags), 0, 2); CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.IntFlags), 0, 2);
break; break;
@@ -609,7 +620,7 @@ RsDoGpioIoDescriptor ( @@ -659,7 +670,7 @@ RsDoGpioIoDescriptor (
case 7: /* Resource Usage (consumer/producer) */ case 7: /* Resource Usage (consumer/producer) */
@ -1657,7 +1657,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
break; break;
case 8: /* Resource Tag (Descriptor Name) */ case 8: /* Resource Tag (Descriptor Name) */
@@ -673,6 +684,11 @@ RsDoGpioIoDescriptor ( @@ -723,6 +734,11 @@ RsDoGpioIoDescriptor (
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp); InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
} }
@ -1669,7 +1669,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
MpSaveGpioInfo (Info->MappingOp, Descriptor, MpSaveGpioInfo (Info->MappingOp, Descriptor,
PinCount, PinList, ResourceSource); PinCount, PinList, ResourceSource);
return (Rnode); return (Rnode);
@@ -703,6 +719,9 @@ RsDoI2cSerialBusDescriptor ( @@ -753,6 +769,9 @@ RsDoI2cSerialBusDescriptor (
UINT16 ResSourceLength; UINT16 ResSourceLength;
UINT16 VendorLength; UINT16 VendorLength;
UINT16 DescriptorSize; UINT16 DescriptorSize;
@ -1679,7 +1679,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
UINT32 CurrentByteOffset; UINT32 CurrentByteOffset;
UINT32 i; UINT32 i;
@@ -752,7 +771,7 @@ RsDoI2cSerialBusDescriptor ( @@ -802,7 +821,7 @@ RsDoI2cSerialBusDescriptor (
{ {
case 0: /* Slave Address [WORD] (_ADR) */ case 0: /* Slave Address [WORD] (_ADR) */
@ -1688,7 +1688,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateWordField (InitializerOp, ACPI_RESTAG_ADDRESS, RsCreateWordField (InitializerOp, ACPI_RESTAG_ADDRESS,
CurrentByteOffset + ASL_RESDESC_OFFSET (I2cSerialBus.SlaveAddress)); CurrentByteOffset + ASL_RESDESC_OFFSET (I2cSerialBus.SlaveAddress));
break; break;
@@ -766,14 +785,14 @@ RsDoI2cSerialBusDescriptor ( @@ -816,14 +835,14 @@ RsDoI2cSerialBusDescriptor (
case 2: /* Connection Speed [DWORD] (_SPE) */ case 2: /* Connection Speed [DWORD] (_SPE) */
@ -1705,7 +1705,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateBitField (InitializerOp, ACPI_RESTAG_MODE, RsCreateBitField (InitializerOp, ACPI_RESTAG_MODE,
CurrentByteOffset + ASL_RESDESC_OFFSET (I2cSerialBus.TypeSpecificFlags), 0); CurrentByteOffset + ASL_RESDESC_OFFSET (I2cSerialBus.TypeSpecificFlags), 0);
break; break;
@@ -833,6 +852,9 @@ RsDoI2cSerialBusDescriptor ( @@ -883,6 +902,9 @@ RsDoI2cSerialBusDescriptor (
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp); InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
} }
@ -1715,7 +1715,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource); MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource);
return (Rnode); return (Rnode);
} }
@@ -862,6 +884,9 @@ RsDoSpiSerialBusDescriptor ( @@ -912,6 +934,9 @@ RsDoSpiSerialBusDescriptor (
UINT16 ResSourceLength; UINT16 ResSourceLength;
UINT16 VendorLength; UINT16 VendorLength;
UINT16 DescriptorSize; UINT16 DescriptorSize;
@ -1725,7 +1725,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
UINT32 CurrentByteOffset; UINT32 CurrentByteOffset;
UINT32 i; UINT32 i;
@@ -912,21 +937,21 @@ RsDoSpiSerialBusDescriptor ( @@ -962,21 +987,21 @@ RsDoSpiSerialBusDescriptor (
{ {
case 0: /* Device Selection [WORD] (_ADR) */ case 0: /* Device Selection [WORD] (_ADR) */
@ -1750,7 +1750,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateBitField (InitializerOp, ACPI_RESTAG_MODE, RsCreateBitField (InitializerOp, ACPI_RESTAG_MODE,
CurrentByteOffset + ASL_RESDESC_OFFSET (SpiSerialBus.TypeSpecificFlags), 0); CurrentByteOffset + ASL_RESDESC_OFFSET (SpiSerialBus.TypeSpecificFlags), 0);
break; break;
@@ -947,7 +972,7 @@ RsDoSpiSerialBusDescriptor ( @@ -997,7 +1022,7 @@ RsDoSpiSerialBusDescriptor (
case 5: /* Connection Speed [DWORD] (_SPE) */ case 5: /* Connection Speed [DWORD] (_SPE) */
@ -1759,7 +1759,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateDwordField (InitializerOp, ACPI_RESTAG_SPEED, RsCreateDwordField (InitializerOp, ACPI_RESTAG_SPEED,
CurrentByteOffset + ASL_RESDESC_OFFSET (SpiSerialBus.ConnectionSpeed)); CurrentByteOffset + ASL_RESDESC_OFFSET (SpiSerialBus.ConnectionSpeed));
break; break;
@@ -1021,6 +1046,10 @@ RsDoSpiSerialBusDescriptor ( @@ -1071,6 +1096,10 @@ RsDoSpiSerialBusDescriptor (
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp); InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
} }
@ -1770,7 +1770,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource); MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource);
return (Rnode); return (Rnode);
} }
@@ -1050,6 +1079,10 @@ RsDoUartSerialBusDescriptor ( @@ -1100,6 +1129,10 @@ RsDoUartSerialBusDescriptor (
UINT16 ResSourceLength; UINT16 ResSourceLength;
UINT16 VendorLength; UINT16 VendorLength;
UINT16 DescriptorSize; UINT16 DescriptorSize;
@ -1781,7 +1781,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
UINT32 CurrentByteOffset; UINT32 CurrentByteOffset;
UINT32 i; UINT32 i;
@@ -1099,21 +1132,21 @@ RsDoUartSerialBusDescriptor ( @@ -1149,21 +1182,21 @@ RsDoUartSerialBusDescriptor (
{ {
case 0: /* Connection Speed (Baud Rate) [DWORD] (_SPE) */ case 0: /* Connection Speed (Baud Rate) [DWORD] (_SPE) */
@ -1806,7 +1806,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateMultiBitField (InitializerOp, ACPI_RESTAG_STOPBITS, RsCreateMultiBitField (InitializerOp, ACPI_RESTAG_STOPBITS,
CurrentByteOffset + ASL_RESDESC_OFFSET (UartSerialBus.TypeSpecificFlags), 2, 2); CurrentByteOffset + ASL_RESDESC_OFFSET (UartSerialBus.TypeSpecificFlags), 2, 2);
break; break;
@@ -1127,7 +1160,7 @@ RsDoUartSerialBusDescriptor ( @@ -1177,7 +1210,7 @@ RsDoUartSerialBusDescriptor (
case 4: /* Endianness [Flag] (_END) */ case 4: /* Endianness [Flag] (_END) */
@ -1815,7 +1815,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateBitField (InitializerOp, ACPI_RESTAG_ENDIANNESS, RsCreateBitField (InitializerOp, ACPI_RESTAG_ENDIANNESS,
CurrentByteOffset + ASL_RESDESC_OFFSET (UartSerialBus.TypeSpecificFlags), 7); CurrentByteOffset + ASL_RESDESC_OFFSET (UartSerialBus.TypeSpecificFlags), 7);
break; break;
@@ -1141,21 +1174,21 @@ RsDoUartSerialBusDescriptor ( @@ -1191,21 +1224,21 @@ RsDoUartSerialBusDescriptor (
case 6: /* Flow Control [Flags] (_FLC) */ case 6: /* Flow Control [Flags] (_FLC) */
@ -1840,7 +1840,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
RsCreateWordField (InitializerOp, ACPI_RESTAG_LENGTH_TX, RsCreateWordField (InitializerOp, ACPI_RESTAG_LENGTH_TX,
CurrentByteOffset + ASL_RESDESC_OFFSET (UartSerialBus.TxFifoSize)); CurrentByteOffset + ASL_RESDESC_OFFSET (UartSerialBus.TxFifoSize));
break; break;
@@ -1225,6 +1258,11 @@ RsDoUartSerialBusDescriptor ( @@ -1275,6 +1308,11 @@ RsDoUartSerialBusDescriptor (
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp); InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
} }
@ -1852,10 +1852,10 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource); MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource);
return (Rnode); return (Rnode);
} }
Index: acpica-unix2-20170224/source/compiler/aslrestype2w.c Index: acpica-unix2-20170531/source/compiler/aslrestype2w.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslrestype2w.c --- acpica-unix2-20170531.orig/source/compiler/aslrestype2w.c
+++ acpica-unix2-20170224/source/compiler/aslrestype2w.c +++ acpica-unix2-20170531/source/compiler/aslrestype2w.c
@@ -81,6 +81,12 @@ RsDoWordIoDescriptor ( @@ -81,6 +81,12 @@ RsDoWordIoDescriptor (
UINT8 *OptionalFields; UINT8 *OptionalFields;
UINT16 StringLength = 0; UINT16 StringLength = 0;
@ -2199,10 +2199,10 @@ Index: acpica-unix2-20170224/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-20170224/source/include/acmacros.h Index: acpica-unix2-20170531/source/include/acmacros.h
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/include/acmacros.h --- acpica-unix2-20170531.orig/source/include/acmacros.h
+++ acpica-unix2-20170224/source/include/acmacros.h +++ acpica-unix2-20170531/source/include/acmacros.h
@@ -100,7 +100,8 @@ @@ -100,7 +100,8 @@
/* 32-bit source, 16/32/64 destination */ /* 32-bit source, 16/32/64 destination */
@ -2240,10 +2240,10 @@ Index: acpica-unix2-20170224/source/include/acmacros.h
#define ACPI_MOVE_32_TO_32(d, s) *(UINT32 *)(void *)(d) = *(UINT32 *)(void *)(s) #define ACPI_MOVE_32_TO_32(d, s) *(UINT32 *)(void *)(d) = *(UINT32 *)(void *)(s)
#define ACPI_MOVE_32_TO_64(d, s) *(UINT64 *)(void *)(d) = *(UINT32 *)(void *)(s) #define ACPI_MOVE_32_TO_64(d, s) *(UINT64 *)(void *)(d) = *(UINT32 *)(void *)(s)
Index: acpica-unix2-20170224/source/include/platform/aclinux.h Index: acpica-unix2-20170531/source/include/platform/aclinux.h
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/include/platform/aclinux.h --- acpica-unix2-20170531.orig/source/include/platform/aclinux.h
+++ acpica-unix2-20170224/source/include/platform/aclinux.h +++ acpica-unix2-20170531/source/include/platform/aclinux.h
@@ -185,6 +185,7 @@ @@ -185,6 +185,7 @@
#ifdef ACPI_USE_STANDARD_HEADERS #ifdef ACPI_USE_STANDARD_HEADERS

View File

@ -18,11 +18,11 @@ Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
source/include/actypes.h | 26 +++++++++++++------------- source/include/actypes.h | 26 +++++++++++++-------------
3 files changed, 32 insertions(+), 21 deletions(-) 3 files changed, 32 insertions(+), 21 deletions(-)
Index: acpica-unix2-20170224/source/compiler/asltree.c Index: acpica-unix2-20170531/source/compiler/asltree.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/asltree.c --- acpica-unix2-20170531.orig/source/compiler/asltree.c
+++ acpica-unix2-20170224/source/compiler/asltree.c +++ acpica-unix2-20170531/source/compiler/asltree.c
@@ -998,28 +998,31 @@ TrCreateValuedLeafNode ( @@ -995,28 +995,31 @@ TrCreateValuedLeafNode (
"Op %s Value %8.8X%8.8X ", "Op %s Value %8.8X%8.8X ",
Op->Asl.LineNumber, Op->Asl.Column, Op, UtGetOpName(ParseOpcode), Op->Asl.LineNumber, Op->Asl.Column, Op, UtGetOpName(ParseOpcode),
ACPI_FORMAT_UINT64 (Value)); ACPI_FORMAT_UINT64 (Value));
@ -59,7 +59,7 @@ Index: acpica-unix2-20170224/source/compiler/asltree.c
break; break;
case PARSEOP_METHOD: case PARSEOP_METHOD:
@@ -1029,12 +1032,14 @@ TrCreateValuedLeafNode ( @@ -1026,12 +1029,14 @@ TrCreateValuedLeafNode (
case PARSEOP_INTEGER: case PARSEOP_INTEGER:
@ -74,10 +74,10 @@ Index: acpica-unix2-20170224/source/compiler/asltree.c
break; break;
} }
Index: acpica-unix2-20170224/source/components/executer/exoparg2.c Index: acpica-unix2-20170531/source/components/executer/exoparg2.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/executer/exoparg2.c --- acpica-unix2-20170531.orig/source/components/executer/exoparg2.c
+++ acpica-unix2-20170224/source/components/executer/exoparg2.c +++ acpica-unix2-20170531/source/components/executer/exoparg2.c
@@ -172,6 +172,8 @@ AcpiExOpcode_2A_2T_1R ( @@ -172,6 +172,8 @@ AcpiExOpcode_2A_2T_1R (
ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0];
ACPI_OPERAND_OBJECT *ReturnDesc1 = NULL; ACPI_OPERAND_OBJECT *ReturnDesc1 = NULL;
@ -118,10 +118,10 @@ Index: acpica-unix2-20170224/source/components/executer/exoparg2.c
break; break;
case AML_CONCATENATE_OP: /* Concatenate (Data1, Data2, Result) */ case AML_CONCATENATE_OP: /* Concatenate (Data1, Data2, Result) */
Index: acpica-unix2-20170224/source/include/actypes.h Index: acpica-unix2-20170531/source/include/actypes.h
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/include/actypes.h --- acpica-unix2-20170531.orig/source/include/actypes.h
+++ acpica-unix2-20170224/source/include/actypes.h +++ acpica-unix2-20170531/source/include/actypes.h
@@ -143,6 +143,19 @@ typedef COMPILER_DEPENDENT_INT64 @@ -143,6 +143,19 @@ typedef COMPILER_DEPENDENT_INT64
*/ */
#define ACPI_THREAD_ID UINT64 #define ACPI_THREAD_ID UINT64
@ -142,15 +142,16 @@ Index: acpica-unix2-20170224/source/include/actypes.h
/******************************************************************************* /*******************************************************************************
* *
@@ -169,19 +182,6 @@ typedef UINT64 @@ -169,20 +182,6 @@ typedef UINT64
#define ACPI_SIZE_MAX ACPI_UINT64_MAX #define ACPI_SIZE_MAX ACPI_UINT64_MAX
#define ACPI_USE_NATIVE_DIVIDE /* Has native 64-bit integer support */ #define ACPI_USE_NATIVE_DIVIDE /* Has native 64-bit integer support */
-/* -/*
- * In the case of the Itanium Processor Family (IPF), the hardware does not - * In the case of the Itanium Processor Family (IPF), the hardware does not
- * support misaligned memory transfers. Set the MISALIGNMENT_NOT_SUPPORTED flag - * support misaligned memory transfers. Set the MISALIGNMENT_NOT_SUPPORTED
- * to indicate that special precautions must be taken to avoid alignment faults. - * flag to indicate that special precautions must be taken to avoid alignment
- * (IA64 or ia64 is currently used by existing compilers to indicate IPF.) - * faults. (IA64 or ia64 is currently used by existing compilers to indicate
- * IPF.)
- * - *
- * Note: EM64T and other X86-64 processors support misaligned transfers, - * Note: EM64T and other X86-64 processors support misaligned transfers,
- * so there is no need to define this flag. - * so there is no need to define this flag.

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-20170303/generate/unix/Makefile.config Index: acpica-unix2-20170531/generate/unix/Makefile.config
=================================================================== ===================================================================
--- acpica-unix2-20170303.orig/generate/unix/Makefile.config --- acpica-unix2-20170531.orig/generate/unix/Makefile.config
+++ acpica-unix2-20170303/generate/unix/Makefile.config +++ acpica-unix2-20170531/generate/unix/Makefile.config
@@ -180,6 +180,8 @@ ifneq ($(NOFORTIFY),TRUE) @@ -180,6 +180,8 @@ ifneq ($(NOFORTIFY),TRUE)
OPT_CFLAGS += -D_FORTIFY_SOURCE=2 OPT_CFLAGS += -D_FORTIFY_SOURCE=2
endif endif
@ -21,35 +21,41 @@ Index: acpica-unix2-20170303/generate/unix/Makefile.config
CFLAGS += \ CFLAGS += \
-D$(HOST)\ -D$(HOST)\
-D_GNU_SOURCE\ -D_GNU_SOURCE\
Index: acpica-unix2-20170303/generate/unix/iasl/Makefile Index: acpica-unix2-20170531/generate/unix/iasl/Makefile
=================================================================== ===================================================================
--- acpica-unix2-20170303.orig/generate/unix/iasl/Makefile --- acpica-unix2-20170531.orig/generate/unix/iasl/Makefile
+++ acpica-unix2-20170303/generate/unix/iasl/Makefile +++ acpica-unix2-20170531/generate/unix/iasl/Makefile
@@ -322,20 +322,21 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prpa @@ -333,26 +333,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.
# #
+HARDENING_FLAGS = -fPIC -pie +HARDENING_FLAGS = -fPIC -pie
$(OBJDIR)/aslcompilerlex.o : $(OBJDIR)/aslcompilerlex.c $(OBJDIR)/aslcompilerlex.o : $(OBJDIR)/aslcompilerlex.c
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $< @echo "- " "Intermediate" $<
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $< - @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
$(OBJDIR)/aslcompilerparse.o : $(OBJDIR)/aslcompilerparse.c $(OBJDIR)/aslcompilerparse.o : $(OBJDIR)/aslcompilerparse.c
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $< @echo "- " "Intermediate" $<
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $< - @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
$(OBJDIR)/dtparserlex.o : $(OBJDIR)/dtparserlex.c $(OBJDIR)/dtparserlex.o : $(OBJDIR)/dtparserlex.c
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $< @echo "- " "Intermediate" $<
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $< - @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
$(OBJDIR)/dtparserparse.o : $(OBJDIR)/dtparserparse.c $(OBJDIR)/dtparserparse.o : $(OBJDIR)/dtparserparse.c
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $< @echo "- " "Intermediate" $<
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $< - @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
$(OBJDIR)/prparserlex.o : $(OBJDIR)/prparserlex.c $(OBJDIR)/prparserlex.o : $(OBJDIR)/prparserlex.c
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $< @echo "- " "Intermediate" $<
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $< - @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
$(OBJDIR)/prparserparse.o : $(OBJDIR)/prparserparse.c $(OBJDIR)/prparserparse.o : $(OBJDIR)/prparserparse.c
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $< @echo "- " "Intermediate" $<
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $< - @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<

View File

@ -256,7 +256,7 @@ Remark 2063 - ^ Initializer list shorter than
grammar.asl 6190: Device (C19B) grammar.asl 6190: Device (C19B)
Warning 3141 - Missing dependency ^ (Device object requires a _HID or _ADR in same scope) Warning 3141 - Missing dependency ^ (Device object requires a _HID or _ADR in same scope)
grammar.asl 6199: Divide (Local1, 10, Local0, Local2) /* Local0 = Local1 / 10 grammar.asl 6199: Divide (Local1, 10, Local0, Local2) // Local0 = Local1 / 10
Warning 3144 - Method Local is set but never used ^ (Local0) Warning 3144 - Method Local is set but never used ^ (Local0)
grammar.asl 6244: Device (DWDF) grammar.asl 6244: Device (DWDF)
@ -307,10 +307,10 @@ Warning 3046 - Invalid or unknown escape sequence ^
grammar.asl 6709: Device (BITI) grammar.asl 6709: Device (BITI)
Warning 3141 - Missing dependency ^ (Device object requires a _HID or _ADR in same scope) Warning 3141 - Missing dependency ^ (Device object requires a _HID or _ADR in same scope)
grammar.asl 6817: And (Local0, 1, Local0) /* Local0 &= 1 grammar.asl 6817: And (Local0, 1, Local0) // Local0 &= 1
Error 6066 - ^ Method local variable is not initialized (Local0) Error 6066 - ^ Method local variable is not initialized (Local0)
grammar.asl 6903: Name (_HID, "*PNP0C0A") /* Control Method Battey ID grammar.asl 6903: Name (_HID, "*PNP0C0A") // Control Method Battey ID
Error 6061 - Invalid leading asterisk ^ (*PNP0C0A) Error 6061 - Invalid leading asterisk ^ (*PNP0C0A)
grammar.asl 6912: Device (IDX3) grammar.asl 6912: Device (IDX3)

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-20170224/source/compiler/aslcompile.c Index: acpica-unix2-20170531/source/compiler/aslcompile.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslcompile.c --- acpica-unix2-20170531.orig/source/compiler/aslcompile.c
+++ acpica-unix2-20170224/source/compiler/aslcompile.c +++ acpica-unix2-20170531/source/compiler/aslcompile.c
@@ -750,7 +750,7 @@ CmCleanupAndExit ( @@ -750,7 +750,7 @@ CmCleanupAndExit (
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT) if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
@ -37,10 +37,10 @@ Index: acpica-unix2-20170224/source/compiler/aslcompile.c
ASL_MAX_ERROR_COUNT); ASL_MAX_ERROR_COUNT);
} }
Index: acpica-unix2-20170224/source/compiler/aslerror.c Index: acpica-unix2-20170531/source/compiler/aslerror.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslerror.c --- acpica-unix2-20170531.orig/source/compiler/aslerror.c
+++ acpica-unix2-20170224/source/compiler/aslerror.c +++ acpica-unix2-20170531/source/compiler/aslerror.c
@@ -687,7 +687,7 @@ AslCommonError ( @@ -687,7 +687,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)
@ -59,10 +59,10 @@ Index: acpica-unix2-20170224/source/compiler/aslerror.c
ASL_MAX_DISABLED_MESSAGES); ASL_MAX_DISABLED_MESSAGES);
return (AE_LIMIT); return (AE_LIMIT);
} }
Index: acpica-unix2-20170224/source/compiler/aslopt.c Index: acpica-unix2-20170531/source/compiler/aslopt.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslopt.c --- acpica-unix2-20170531.orig/source/compiler/aslopt.c
+++ acpica-unix2-20170224/source/compiler/aslopt.c +++ acpica-unix2-20170531/source/compiler/aslopt.c
@@ -584,7 +584,7 @@ OptOptimizeNamePath ( @@ -584,7 +584,7 @@ OptOptimizeNamePath (
} }
@ -72,10 +72,10 @@ Index: acpica-unix2-20170224/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-20170224/source/compiler/aslpredef.c Index: acpica-unix2-20170531/source/compiler/aslpredef.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslpredef.c --- acpica-unix2-20170531.orig/source/compiler/aslpredef.c
+++ acpica-unix2-20170224/source/compiler/aslpredef.c +++ acpica-unix2-20170531/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-20170224/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-20170224/source/compiler/aslprepkg.c Index: acpica-unix2-20170531/source/compiler/aslprepkg.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/compiler/aslprepkg.c --- acpica-unix2-20170531.orig/source/compiler/aslprepkg.c
+++ acpica-unix2-20170224/source/compiler/aslprepkg.c +++ acpica-unix2-20170531/source/compiler/aslprepkg.c
@@ -309,7 +309,7 @@ ApCheckPackage ( @@ -309,7 +309,7 @@ ApCheckPackage (
if (Count & 1) if (Count & 1)
@ -98,11 +98,11 @@ Index: acpica-unix2-20170224/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-20170224/source/components/debugger/dbexec.c Index: acpica-unix2-20170531/source/components/debugger/dbexec.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/debugger/dbexec.c --- acpica-unix2-20170531.orig/source/components/debugger/dbexec.c
+++ acpica-unix2-20170224/source/components/debugger/dbexec.c +++ acpica-unix2-20170531/source/components/debugger/dbexec.c
@@ -214,7 +214,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 "
"buffer (size 0x%X needed 0x%X)", "buffer (size 0x%X needed 0x%X)",
@ -111,10 +111,10 @@ Index: acpica-unix2-20170224/source/components/debugger/dbexec.c
} }
} }
Index: acpica-unix2-20170224/source/components/dispatcher/dsmthdat.c Index: acpica-unix2-20170531/source/components/dispatcher/dsmthdat.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/dispatcher/dsmthdat.c --- acpica-unix2-20170531.orig/source/components/dispatcher/dsmthdat.c
+++ acpica-unix2-20170224/source/components/dispatcher/dsmthdat.c +++ acpica-unix2-20170531/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,11 +133,11 @@ Index: acpica-unix2-20170224/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-20170224/source/components/dispatcher/dsutils.c Index: acpica-unix2-20170531/source/components/dispatcher/dsutils.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/dispatcher/dsutils.c --- acpica-unix2-20170531.orig/source/components/dispatcher/dsutils.c
+++ acpica-unix2-20170224/source/components/dispatcher/dsutils.c +++ acpica-unix2-20170531/source/components/dispatcher/dsutils.c
@@ -793,7 +793,7 @@ AcpiDsCreateOperands ( @@ -787,7 +787,7 @@ AcpiDsCreateOperands (
} }
ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH,
@ -146,10 +146,10 @@ Index: acpica-unix2-20170224/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-20170224/source/components/dispatcher/dswscope.c Index: acpica-unix2-20170531/source/components/dispatcher/dswscope.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/dispatcher/dswscope.c --- acpica-unix2-20170531.orig/source/components/dispatcher/dswscope.c
+++ acpica-unix2-20170224/source/components/dispatcher/dswscope.c +++ acpica-unix2-20170531/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-20170224/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-20170224/source/components/events/evgpe.c Index: acpica-unix2-20170531/source/components/events/evgpe.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/events/evgpe.c --- acpica-unix2-20170531.orig/source/components/events/evgpe.c
+++ acpica-unix2-20170224/source/components/events/evgpe.c +++ acpica-unix2-20170531/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",
@ -190,23 +190,23 @@ Index: acpica-unix2-20170224/source/components/events/evgpe.c
StatusReg, EnableReg, StatusReg, EnableReg,
GpeRegisterInfo->EnableForRun, GpeRegisterInfo->EnableForRun,
GpeRegisterInfo->EnableForWake)); GpeRegisterInfo->EnableForWake));
Index: acpica-unix2-20170224/source/components/executer/exdump.c Index: acpica-unix2-20170531/source/components/executer/exdump.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/executer/exdump.c --- acpica-unix2-20170531.orig/source/components/executer/exdump.c
+++ acpica-unix2-20170224/source/components/executer/exdump.c +++ acpica-unix2-20170531/source/components/executer/exdump.c
@@ -668,7 +668,7 @@ AcpiExDumpOperand ( @@ -668,7 +668,7 @@ AcpiExDumpOperand (
if (Depth > 0) if (Depth > 0)
{ {
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "%*s[%u] %p ", ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "%*s[%u] %p Refs=%u ",
- Depth, " ", Depth, ObjDesc)); - Depth, " ", Depth, ObjDesc, ObjDesc->Common.ReferenceCount));
+ (int) Depth, " ", Depth, ObjDesc)); + (int) Depth, " ", Depth, ObjDesc, ObjDesc->Common.ReferenceCount));
} }
else else
{ {
Index: acpica-unix2-20170224/source/components/executer/exfldio.c Index: acpica-unix2-20170531/source/components/executer/exfldio.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/executer/exfldio.c --- acpica-unix2-20170531.orig/source/components/executer/exfldio.c
+++ acpica-unix2-20170224/source/components/executer/exfldio.c +++ acpica-unix2-20170531/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-20170224/source/components/executer/exfldio.c
return_ACPI_STATUS (AE_AML_OPERAND_VALUE); return_ACPI_STATUS (AE_AML_OPERAND_VALUE);
} }
} }
Index: acpica-unix2-20170224/source/components/executer/exnames.c Index: acpica-unix2-20170531/source/components/executer/exnames.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/executer/exnames.c --- acpica-unix2-20170531.orig/source/components/executer/exnames.c
+++ acpica-unix2-20170224/source/components/executer/exnames.c +++ acpica-unix2-20170531/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,10 +240,10 @@ Index: acpica-unix2-20170224/source/components/executer/exnames.c
} }
*InAmlAddress = ACPI_CAST_PTR (UINT8, AmlAddress); *InAmlAddress = ACPI_CAST_PTR (UINT8, AmlAddress);
Index: acpica-unix2-20170224/source/components/hardware/hwregs.c Index: acpica-unix2-20170531/source/components/hardware/hwregs.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/hardware/hwregs.c --- acpica-unix2-20170531.orig/source/components/hardware/hwregs.c
+++ acpica-unix2-20170224/source/components/hardware/hwregs.c +++ acpica-unix2-20170531/source/components/hardware/hwregs.c
@@ -464,7 +464,7 @@ AcpiHwClearAcpiStatus ( @@ -464,7 +464,7 @@ AcpiHwClearAcpiStatus (
@ -253,10 +253,10 @@ Index: acpica-unix2-20170224/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-20170224/source/components/tables/tbfadt.c Index: acpica-unix2-20170531/source/components/tables/tbfadt.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/tables/tbfadt.c --- acpica-unix2-20170531.orig/source/components/tables/tbfadt.c
+++ acpica-unix2-20170224/source/components/tables/tbfadt.c +++ acpica-unix2-20170531/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-20170224/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-20170224/source/components/tables/tbxfroot.c Index: acpica-unix2-20170531/source/components/tables/tbxfroot.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/tables/tbxfroot.c --- acpica-unix2-20170531.orig/source/components/tables/tbxfroot.c
+++ acpica-unix2-20170224/source/components/tables/tbxfroot.c +++ acpica-unix2-20170531/source/components/tables/tbxfroot.c
@@ -177,7 +177,7 @@ AcpiFindRootPointer ( @@ -177,7 +177,7 @@ AcpiFindRootPointer (
{ {
ACPI_ERROR ((AE_INFO, ACPI_ERROR ((AE_INFO,
@ -315,11 +315,11 @@ Index: acpica-unix2-20170224/source/components/tables/tbxfroot.c
return_ACPI_STATUS (AE_NO_MEMORY); return_ACPI_STATUS (AE_NO_MEMORY);
} }
Index: acpica-unix2-20170224/source/components/utilities/utownerid.c Index: acpica-unix2-20170531/source/components/utilities/utownerid.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/components/utilities/utownerid.c --- acpica-unix2-20170531.orig/source/components/utilities/utownerid.c
+++ acpica-unix2-20170224/source/components/utilities/utownerid.c +++ acpica-unix2-20170531/source/components/utilities/utownerid.c
@@ -231,7 +231,7 @@ AcpiUtReleaseOwnerId ( @@ -237,7 +237,7 @@ AcpiUtReleaseOwnerId (
else else
{ {
ACPI_ERROR ((AE_INFO, ACPI_ERROR ((AE_INFO,
@ -328,10 +328,10 @@ Index: acpica-unix2-20170224/source/components/utilities/utownerid.c
} }
(void) AcpiUtReleaseMutex (ACPI_MTX_CACHES); (void) AcpiUtReleaseMutex (ACPI_MTX_CACHES);
Index: acpica-unix2-20170224/source/tools/acpiexec/aemain.c Index: acpica-unix2-20170531/source/tools/acpiexec/aemain.c
=================================================================== ===================================================================
--- acpica-unix2-20170224.orig/source/tools/acpiexec/aemain.c --- acpica-unix2-20170531.orig/source/tools/acpiexec/aemain.c
+++ acpica-unix2-20170224/source/tools/acpiexec/aemain.c +++ acpica-unix2-20170531/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

@ -7,13 +7,13 @@ Al Stone <ahs3@redhat.com>
source/compiler/aslmain.c | 12 ------------ source/compiler/aslmain.c | 12 ------------
1 file changed, 12 deletions(-) 1 file changed, 12 deletions(-)
Index: acpica-unix2-20161222/source/compiler/aslmain.c Index: acpica-unix2-20170531/source/compiler/aslmain.c
=================================================================== ===================================================================
--- acpica-unix2-20161222.orig/source/compiler/aslmain.c --- acpica-unix2-20170531.orig/source/compiler/aslmain.c
+++ acpica-unix2-20161222/source/compiler/aslmain.c +++ acpica-unix2-20170531/source/compiler/aslmain.c
@@ -99,18 +99,6 @@ main ( @@ -102,18 +102,6 @@ main (
int ReturnStatus = 0; signal (SIGINT, AslSignalHandler);
signal (SIGSEGV, AslSignalHandler);
- /* - /*
- * Big-endian machines are not currently supported. ACPI tables must - * Big-endian machines are not currently supported. ACPI tables must

View File

@ -1,2 +1,2 @@
SHA512 (acpica-unix2-20170303.tar.gz) = 22478b2df4cebfcc09539c9f0d16175319de93dccfc4224cf0b3e0a61970f45b41690adae69ac192e614c02929db6b8a6be2b01b9a5f2c6b83dbcf13cdeb01e5 SHA512 (acpica-unix2-20170531.tar.gz) = 055563bbc7762fd18de4d1e3d59d5592485270ffd1b5f5ca09e4996f063b8478de3d142064a3f785d3fbfc1fd9c276751b7c3fcda914dec751cd1289de2d6ea5
SHA512 (acpitests-unix-20170303.tar.gz) = 251479440bc83b5cbcc21aea69d8bfec2aaa2429e87b2a9cd13b01ecc8f294a16d892a2fa02f5a4a8adad8777dad5daf1325aeacec97a0b63ad11677341e8bf0 SHA512 (acpitests-unix-20170531.tar.gz) = 978f7fba5cd2498ef6c2eafe71836538ba909294eb3848972378e88487fa59a123076dd21761eb3e7630e44d8eb3359d10820ca9011a72473919e7e0c1fff5c2

File diff suppressed because it is too large Load Diff