Update to 20170531 upstream sources
Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
parent
f975950b88
commit
b0fde58d3b
2
.gitignore
vendored
2
.gitignore
vendored
@ -68,3 +68,5 @@
|
||||
/acpitests-unix-20170224.tar.gz
|
||||
/acpica-unix2-20170303.tar.gz
|
||||
/acpitests-unix-20170303.tar.gz
|
||||
/acpica-unix2-20170531.tar.gz
|
||||
/acpitests-unix-20170531.tar.gz
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: acpica-tools
|
||||
Version: 20170303
|
||||
Release: 5%{?dist}
|
||||
Version: 20170531
|
||||
Release: 1%{?dist}
|
||||
Summary: ACPICA tools for the development and debug of ACPI tables
|
||||
|
||||
Group: Development/Languages
|
||||
@ -194,6 +194,9 @@ fi
|
||||
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
@ -85,25 +85,25 @@ Warning 3144 - Method Local is set but never used ^ (Local0)
|
||||
badcode.asl 126: Method (MTH5) {Store (MTH4(), Local0)}
|
||||
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)
|
||||
|
||||
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)
|
||||
|
||||
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)
|
||||
|
||||
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)
|
||||
|
||||
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)
|
||||
|
||||
badcode.asl 152: Name (_HID, "") /* Illegal Null HID
|
||||
badcode.asl 152: Name (_HID, "") // Illegal Null HID
|
||||
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
|
||||
|
||||
badcode.asl 158: Name (_PRW, 4)
|
||||
@ -157,49 +157,49 @@ Error 6019 - ^ Dependent function macros can
|
||||
badcode.asl 225: })
|
||||
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
|
||||
|
||||
badcode.asl 247: 0x00001001, /* Range Minimum
|
||||
badcode.asl 247: 0x00001001, // Range Minimum
|
||||
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
|
||||
|
||||
badcode.asl 255: 0xFFFF, /* Address
|
||||
badcode.asl 255: 0xFFFF, // Address
|
||||
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)
|
||||
|
||||
badcode.asl 268: QWordSpace (0xB0, ResourceConsumer, PosDecode, MinFixed, MaxFixed, 0xA5,
|
||||
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
|
||||
|
||||
badcode.asl 291: 0x00001002, /* Length
|
||||
badcode.asl 291: 0x00001002, // Length
|
||||
Error 6049 - ^ Length is larger than Min/Max window
|
||||
|
||||
badcode.asl 296: 0x00000010,
|
||||
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
|
||||
|
||||
badcode.asl 315: 0x00000000002FFFFE, /* Range Maximum
|
||||
badcode.asl 315: 0x00000000002FFFFE, // Range Maximum
|
||||
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
|
||||
|
||||
badcode.asl 335: 0x00000100, /* Length
|
||||
badcode.asl 335: 0x00000100, // Length
|
||||
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
|
||||
|
||||
badcode.asl 349: 0x0000000F, /* Granularity
|
||||
badcode.asl 349: 0x0000000F, // Granularity
|
||||
Error 6047 - ^ Granularity must be zero for fixed Min/Max
|
||||
|
||||
badcode.asl 358: DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
|
||||
|
@ -18,10 +18,10 @@ support
|
||||
source/include/platform/aclinux.h | 8 ++
|
||||
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-20170224/source/compiler/aslcodegen.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslcodegen.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslcodegen.c
|
||||
@@ -238,16 +238,12 @@ CgWriteAmlOpcode (
|
||||
ACPI_PARSE_OBJECT *Op)
|
||||
{
|
||||
@ -263,10 +263,10 @@ Index: acpica-unix2-20170224/source/compiler/aslcodegen.c
|
||||
|
||||
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-20170224/source/compiler/aslopcodes.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslopcodes.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslopcodes.c
|
||||
@@ -485,6 +485,7 @@ OpcDoUnicode (
|
||||
UINT32 i;
|
||||
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-20170224/source/compiler/aslrestype1.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslrestype1.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslrestype1.c
|
||||
@@ -142,6 +142,11 @@ RsDoMemory24Descriptor (
|
||||
ACPI_PARSE_OBJECT *LengthOp = NULL;
|
||||
ASL_RESOURCE_NODE *Rnode;
|
||||
@ -485,10 +485,10 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype1.c
|
||||
RsCreateDwordField (InitializerOp, ACPI_RESTAG_LENGTH,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (FixedMemory32.AddressLength));
|
||||
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-20170224/source/compiler/aslrestype1i.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslrestype1i.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslrestype1i.c
|
||||
@@ -198,6 +198,8 @@ RsDoFixedDmaDescriptor (
|
||||
ACPI_PARSE_OBJECT *InitializerOp;
|
||||
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);
|
||||
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-20170224/source/compiler/aslrestype2.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslrestype2.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslrestype2.c
|
||||
@@ -76,6 +76,7 @@ RsDoGeneralRegisterDescriptor (
|
||||
ACPI_PARSE_OBJECT *InitializerOp;
|
||||
ASL_RESOURCE_NODE *Rnode;
|
||||
@ -725,10 +725,10 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2.c
|
||||
|
||||
/* 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-20170224/source/compiler/aslrestype2d.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslrestype2d.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslrestype2d.c
|
||||
@@ -79,7 +79,13 @@ RsDoDwordIoDescriptor (
|
||||
ACPI_PARSE_OBJECT *GranOp = NULL;
|
||||
ASL_RESOURCE_NODE *Rnode;
|
||||
@ -1084,10 +1084,10 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2d.c
|
||||
Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) +
|
||||
OptionIndex + StringLength;
|
||||
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-20170224/source/compiler/aslrestype2e.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslrestype2e.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslrestype2e.c
|
||||
@@ -78,6 +78,13 @@ RsDoExtendedIoDescriptor (
|
||||
ACPI_PARSE_OBJECT *GranOp = NULL;
|
||||
ASL_RESOURCE_NODE *Rnode;
|
||||
@ -1193,10 +1193,10 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2e.c
|
||||
Rnode->BufferLength = sizeof (AML_RESOURCE_EXTENDED_ADDRESS64) +
|
||||
StringLength;
|
||||
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-20170224/source/compiler/aslrestype2q.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslrestype2q.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslrestype2q.c
|
||||
@@ -80,7 +80,13 @@ RsDoQwordIoDescriptor (
|
||||
ASL_RESOURCE_NODE *Rnode;
|
||||
UINT8 *OptionalFields;
|
||||
@ -1535,11 +1535,11 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2q.c
|
||||
Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS64) +
|
||||
OptionIndex + StringLength;
|
||||
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-20170224/source/compiler/aslrestype2s.c
|
||||
@@ -290,6 +290,9 @@ RsDoGpioIntDescriptor (
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslrestype2s.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslrestype2s.c
|
||||
@@ -340,6 +340,9 @@ RsDoGpioIntDescriptor (
|
||||
UINT16 VendorLength;
|
||||
UINT16 InterruptLength;
|
||||
UINT16 DescriptorSize;
|
||||
@ -1549,7 +1549,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
UINT32 CurrentByteOffset;
|
||||
UINT32 PinCount = 0;
|
||||
UINT32 i;
|
||||
@@ -346,21 +349,21 @@ RsDoGpioIntDescriptor (
|
||||
@@ -396,21 +399,21 @@ RsDoGpioIntDescriptor (
|
||||
{
|
||||
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,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.IntFlags), 3, 2);
|
||||
break;
|
||||
@@ -374,7 +377,7 @@ RsDoGpioIntDescriptor (
|
||||
@@ -424,7 +427,7 @@ RsDoGpioIntDescriptor (
|
||||
|
||||
case 4: /* Debounce Timeout [WORD] (_DBT) */
|
||||
|
||||
@ -1583,7 +1583,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
RsCreateWordField (InitializerOp, ACPI_RESTAG_DEBOUNCETIME,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.DebounceTimeout));
|
||||
break;
|
||||
@@ -401,7 +404,7 @@ RsDoGpioIntDescriptor (
|
||||
@@ -451,7 +454,7 @@ RsDoGpioIntDescriptor (
|
||||
|
||||
case 7: /* Resource Usage (consumer/producer) */
|
||||
|
||||
@ -1592,7 +1592,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
break;
|
||||
|
||||
case 8: /* Resource Tag (Descriptor Name) */
|
||||
@@ -466,6 +469,10 @@ RsDoGpioIntDescriptor (
|
||||
@@ -516,6 +519,10 @@ RsDoGpioIntDescriptor (
|
||||
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
|
||||
}
|
||||
|
||||
@ -1603,7 +1603,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
MpSaveGpioInfo (Info->MappingOp, Descriptor,
|
||||
PinCount, PinList, ResourceSource);
|
||||
return (Rnode);
|
||||
@@ -499,6 +506,10 @@ RsDoGpioIoDescriptor (
|
||||
@@ -549,6 +556,10 @@ RsDoGpioIoDescriptor (
|
||||
UINT16 VendorLength;
|
||||
UINT16 InterruptLength;
|
||||
UINT16 DescriptorSize;
|
||||
@ -1614,7 +1614,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
UINT32 CurrentByteOffset;
|
||||
UINT32 PinCount = 0;
|
||||
UINT32 i;
|
||||
@@ -555,7 +566,7 @@ RsDoGpioIoDescriptor (
|
||||
@@ -605,7 +616,7 @@ RsDoGpioIoDescriptor (
|
||||
{
|
||||
case 0: /* Share Type [Flags] (_SHR) */
|
||||
|
||||
@ -1623,7 +1623,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
RsCreateBitField (InitializerOp, ACPI_RESTAG_INTERRUPTSHARE,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.IntFlags), 3);
|
||||
break;
|
||||
@@ -569,21 +580,21 @@ RsDoGpioIoDescriptor (
|
||||
@@ -619,21 +630,21 @@ RsDoGpioIoDescriptor (
|
||||
|
||||
case 2: /* Debounce Timeout [WORD] (_DBT) */
|
||||
|
||||
@ -1648,7 +1648,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
RsCreateMultiBitField (InitializerOp, ACPI_RESTAG_IORESTRICTION,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (Gpio.IntFlags), 0, 2);
|
||||
break;
|
||||
@@ -609,7 +620,7 @@ RsDoGpioIoDescriptor (
|
||||
@@ -659,7 +670,7 @@ RsDoGpioIoDescriptor (
|
||||
|
||||
case 7: /* Resource Usage (consumer/producer) */
|
||||
|
||||
@ -1657,7 +1657,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
break;
|
||||
|
||||
case 8: /* Resource Tag (Descriptor Name) */
|
||||
@@ -673,6 +684,11 @@ RsDoGpioIoDescriptor (
|
||||
@@ -723,6 +734,11 @@ RsDoGpioIoDescriptor (
|
||||
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
|
||||
}
|
||||
|
||||
@ -1669,7 +1669,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
MpSaveGpioInfo (Info->MappingOp, Descriptor,
|
||||
PinCount, PinList, ResourceSource);
|
||||
return (Rnode);
|
||||
@@ -703,6 +719,9 @@ RsDoI2cSerialBusDescriptor (
|
||||
@@ -753,6 +769,9 @@ RsDoI2cSerialBusDescriptor (
|
||||
UINT16 ResSourceLength;
|
||||
UINT16 VendorLength;
|
||||
UINT16 DescriptorSize;
|
||||
@ -1679,7 +1679,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
UINT32 CurrentByteOffset;
|
||||
UINT32 i;
|
||||
|
||||
@@ -752,7 +771,7 @@ RsDoI2cSerialBusDescriptor (
|
||||
@@ -802,7 +821,7 @@ RsDoI2cSerialBusDescriptor (
|
||||
{
|
||||
case 0: /* Slave Address [WORD] (_ADR) */
|
||||
|
||||
@ -1688,7 +1688,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
RsCreateWordField (InitializerOp, ACPI_RESTAG_ADDRESS,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (I2cSerialBus.SlaveAddress));
|
||||
break;
|
||||
@@ -766,14 +785,14 @@ RsDoI2cSerialBusDescriptor (
|
||||
@@ -816,14 +835,14 @@ RsDoI2cSerialBusDescriptor (
|
||||
|
||||
case 2: /* Connection Speed [DWORD] (_SPE) */
|
||||
|
||||
@ -1705,7 +1705,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
RsCreateBitField (InitializerOp, ACPI_RESTAG_MODE,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (I2cSerialBus.TypeSpecificFlags), 0);
|
||||
break;
|
||||
@@ -833,6 +852,9 @@ RsDoI2cSerialBusDescriptor (
|
||||
@@ -883,6 +902,9 @@ RsDoI2cSerialBusDescriptor (
|
||||
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
|
||||
}
|
||||
|
||||
@ -1715,7 +1715,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource);
|
||||
return (Rnode);
|
||||
}
|
||||
@@ -862,6 +884,9 @@ RsDoSpiSerialBusDescriptor (
|
||||
@@ -912,6 +934,9 @@ RsDoSpiSerialBusDescriptor (
|
||||
UINT16 ResSourceLength;
|
||||
UINT16 VendorLength;
|
||||
UINT16 DescriptorSize;
|
||||
@ -1725,7 +1725,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
UINT32 CurrentByteOffset;
|
||||
UINT32 i;
|
||||
|
||||
@@ -912,21 +937,21 @@ RsDoSpiSerialBusDescriptor (
|
||||
@@ -962,21 +987,21 @@ RsDoSpiSerialBusDescriptor (
|
||||
{
|
||||
case 0: /* Device Selection [WORD] (_ADR) */
|
||||
|
||||
@ -1750,7 +1750,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
RsCreateBitField (InitializerOp, ACPI_RESTAG_MODE,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (SpiSerialBus.TypeSpecificFlags), 0);
|
||||
break;
|
||||
@@ -947,7 +972,7 @@ RsDoSpiSerialBusDescriptor (
|
||||
@@ -997,7 +1022,7 @@ RsDoSpiSerialBusDescriptor (
|
||||
|
||||
case 5: /* Connection Speed [DWORD] (_SPE) */
|
||||
|
||||
@ -1759,7 +1759,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
RsCreateDwordField (InitializerOp, ACPI_RESTAG_SPEED,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (SpiSerialBus.ConnectionSpeed));
|
||||
break;
|
||||
@@ -1021,6 +1046,10 @@ RsDoSpiSerialBusDescriptor (
|
||||
@@ -1071,6 +1096,10 @@ RsDoSpiSerialBusDescriptor (
|
||||
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
|
||||
}
|
||||
|
||||
@ -1770,7 +1770,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource);
|
||||
return (Rnode);
|
||||
}
|
||||
@@ -1050,6 +1079,10 @@ RsDoUartSerialBusDescriptor (
|
||||
@@ -1100,6 +1129,10 @@ RsDoUartSerialBusDescriptor (
|
||||
UINT16 ResSourceLength;
|
||||
UINT16 VendorLength;
|
||||
UINT16 DescriptorSize;
|
||||
@ -1781,7 +1781,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
UINT32 CurrentByteOffset;
|
||||
UINT32 i;
|
||||
|
||||
@@ -1099,21 +1132,21 @@ RsDoUartSerialBusDescriptor (
|
||||
@@ -1149,21 +1182,21 @@ RsDoUartSerialBusDescriptor (
|
||||
{
|
||||
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,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (UartSerialBus.TypeSpecificFlags), 2, 2);
|
||||
break;
|
||||
@@ -1127,7 +1160,7 @@ RsDoUartSerialBusDescriptor (
|
||||
@@ -1177,7 +1210,7 @@ RsDoUartSerialBusDescriptor (
|
||||
|
||||
case 4: /* Endianness [Flag] (_END) */
|
||||
|
||||
@ -1815,7 +1815,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
RsCreateBitField (InitializerOp, ACPI_RESTAG_ENDIANNESS,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (UartSerialBus.TypeSpecificFlags), 7);
|
||||
break;
|
||||
@@ -1141,21 +1174,21 @@ RsDoUartSerialBusDescriptor (
|
||||
@@ -1191,21 +1224,21 @@ RsDoUartSerialBusDescriptor (
|
||||
|
||||
case 6: /* Flow Control [Flags] (_FLC) */
|
||||
|
||||
@ -1840,7 +1840,7 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
RsCreateWordField (InitializerOp, ACPI_RESTAG_LENGTH_TX,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (UartSerialBus.TxFifoSize));
|
||||
break;
|
||||
@@ -1225,6 +1258,11 @@ RsDoUartSerialBusDescriptor (
|
||||
@@ -1275,6 +1308,11 @@ RsDoUartSerialBusDescriptor (
|
||||
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
|
||||
}
|
||||
|
||||
@ -1852,10 +1852,10 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2s.c
|
||||
MpSaveSerialInfo (Info->MappingOp, Descriptor, ResourceSource);
|
||||
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-20170224/source/compiler/aslrestype2w.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslrestype2w.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslrestype2w.c
|
||||
@@ -81,6 +81,12 @@ RsDoWordIoDescriptor (
|
||||
UINT8 *OptionalFields;
|
||||
UINT16 StringLength = 0;
|
||||
@ -2199,10 +2199,10 @@ Index: acpica-unix2-20170224/source/compiler/aslrestype2w.c
|
||||
Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) +
|
||||
OptionIndex + StringLength;
|
||||
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-20170224/source/include/acmacros.h
|
||||
--- acpica-unix2-20170531.orig/source/include/acmacros.h
|
||||
+++ acpica-unix2-20170531/source/include/acmacros.h
|
||||
@@ -100,7 +100,8 @@
|
||||
|
||||
/* 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_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-20170224/source/include/platform/aclinux.h
|
||||
--- acpica-unix2-20170531.orig/source/include/platform/aclinux.h
|
||||
+++ acpica-unix2-20170531/source/include/platform/aclinux.h
|
||||
@@ -185,6 +185,7 @@
|
||||
|
||||
#ifdef ACPI_USE_STANDARD_HEADERS
|
||||
|
@ -18,11 +18,11 @@ Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
||||
source/include/actypes.h | 26 +++++++++++++-------------
|
||||
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-20170224/source/compiler/asltree.c
|
||||
@@ -998,28 +998,31 @@ TrCreateValuedLeafNode (
|
||||
--- acpica-unix2-20170531.orig/source/compiler/asltree.c
|
||||
+++ acpica-unix2-20170531/source/compiler/asltree.c
|
||||
@@ -995,28 +995,31 @@ TrCreateValuedLeafNode (
|
||||
"Op %s Value %8.8X%8.8X ",
|
||||
Op->Asl.LineNumber, Op->Asl.Column, Op, UtGetOpName(ParseOpcode),
|
||||
ACPI_FORMAT_UINT64 (Value));
|
||||
@ -59,7 +59,7 @@ Index: acpica-unix2-20170224/source/compiler/asltree.c
|
||||
break;
|
||||
|
||||
case PARSEOP_METHOD:
|
||||
@@ -1029,12 +1032,14 @@ TrCreateValuedLeafNode (
|
||||
@@ -1026,12 +1029,14 @@ TrCreateValuedLeafNode (
|
||||
|
||||
case PARSEOP_INTEGER:
|
||||
|
||||
@ -74,10 +74,10 @@ Index: acpica-unix2-20170224/source/compiler/asltree.c
|
||||
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-20170224/source/components/executer/exoparg2.c
|
||||
--- acpica-unix2-20170531.orig/source/components/executer/exoparg2.c
|
||||
+++ acpica-unix2-20170531/source/components/executer/exoparg2.c
|
||||
@@ -172,6 +172,8 @@ AcpiExOpcode_2A_2T_1R (
|
||||
ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0];
|
||||
ACPI_OPERAND_OBJECT *ReturnDesc1 = NULL;
|
||||
@ -118,10 +118,10 @@ Index: acpica-unix2-20170224/source/components/executer/exoparg2.c
|
||||
break;
|
||||
|
||||
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-20170224/source/include/actypes.h
|
||||
--- acpica-unix2-20170531.orig/source/include/actypes.h
|
||||
+++ acpica-unix2-20170531/source/include/actypes.h
|
||||
@@ -143,6 +143,19 @@ typedef COMPILER_DEPENDENT_INT64
|
||||
*/
|
||||
#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_USE_NATIVE_DIVIDE /* Has native 64-bit integer support */
|
||||
|
||||
-/*
|
||||
- * In the case of the Itanium Processor Family (IPF), the hardware does not
|
||||
- * support misaligned memory transfers. Set the MISALIGNMENT_NOT_SUPPORTED flag
|
||||
- * to indicate that special precautions must be taken to avoid alignment faults.
|
||||
- * (IA64 or ia64 is currently used by existing compilers to indicate IPF.)
|
||||
- * support misaligned memory transfers. Set the MISALIGNMENT_NOT_SUPPORTED
|
||||
- * flag to indicate that special precautions must be taken to avoid alignment
|
||||
- * faults. (IA64 or ia64 is currently used by existing compilers to indicate
|
||||
- * IPF.)
|
||||
- *
|
||||
- * Note: EM64T and other X86-64 processors support misaligned transfers,
|
||||
- * so there is no need to define this flag.
|
||||
|
@ -8,10 +8,10 @@ From: Al Stone <ahs3@redhat.com>
|
||||
generate/unix/iasl/Makefile | 13 +++++++------
|
||||
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-20170303/generate/unix/Makefile.config
|
||||
--- acpica-unix2-20170531.orig/generate/unix/Makefile.config
|
||||
+++ acpica-unix2-20170531/generate/unix/Makefile.config
|
||||
@@ -180,6 +180,8 @@ ifneq ($(NOFORTIFY),TRUE)
|
||||
OPT_CFLAGS += -D_FORTIFY_SOURCE=2
|
||||
endif
|
||||
@ -21,35 +21,41 @@ Index: acpica-unix2-20170303/generate/unix/Makefile.config
|
||||
CFLAGS += \
|
||||
-D$(HOST)\
|
||||
-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-20170303/generate/unix/iasl/Makefile
|
||||
@@ -322,20 +322,21 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prpa
|
||||
--- acpica-unix2-20170531.orig/generate/unix/iasl/Makefile
|
||||
+++ acpica-unix2-20170531/generate/unix/iasl/Makefile
|
||||
@@ -333,26 +333,27 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prpa
|
||||
# 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.
|
||||
#
|
||||
+HARDENING_FLAGS = -fPIC -pie
|
||||
$(OBJDIR)/aslcompilerlex.o : $(OBJDIR)/aslcompilerlex.c
|
||||
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
@echo "- " "Intermediate" $<
|
||||
- @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
|
||||
$(OBJDIR)/aslcompilerparse.o : $(OBJDIR)/aslcompilerparse.c
|
||||
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
@echo "- " "Intermediate" $<
|
||||
- @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
|
||||
$(OBJDIR)/dtparserlex.o : $(OBJDIR)/dtparserlex.c
|
||||
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
@echo "- " "Intermediate" $<
|
||||
- @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
|
||||
$(OBJDIR)/dtparserparse.o : $(OBJDIR)/dtparserparse.c
|
||||
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
@echo "- " "Intermediate" $<
|
||||
- @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
|
||||
$(OBJDIR)/prparserlex.o : $(OBJDIR)/prparserlex.c
|
||||
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
@echo "- " "Intermediate" $<
|
||||
- @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
|
||||
$(OBJDIR)/prparserparse.o : $(OBJDIR)/prparserparse.c
|
||||
- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ $(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
@echo "- " "Intermediate" $<
|
||||
- @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
|
||||
+ @$(CC) -c $(CFLAGS) $(HARDENING_FLAGS) -Wall -Werror -o$@ $<
|
||||
|
@ -256,7 +256,7 @@ Remark 2063 - ^ Initializer list shorter than
|
||||
grammar.asl 6190: Device (C19B)
|
||||
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)
|
||||
|
||||
grammar.asl 6244: Device (DWDF)
|
||||
@ -307,10 +307,10 @@ Warning 3046 - Invalid or unknown escape sequence ^
|
||||
grammar.asl 6709: Device (BITI)
|
||||
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)
|
||||
|
||||
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)
|
||||
|
||||
grammar.asl 6912: Device (IDX3)
|
||||
|
120
int-format.patch
120
int-format.patch
@ -24,10 +24,10 @@ From: Al Stone <ahs3@redhat.com>
|
||||
source/tools/acpiexec/aemain.c | 2 +-
|
||||
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-20170224/source/compiler/aslcompile.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslcompile.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslcompile.c
|
||||
@@ -750,7 +750,7 @@ CmCleanupAndExit (
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
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-20170224/source/compiler/aslerror.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslerror.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslerror.c
|
||||
@@ -687,7 +687,7 @@ AslCommonError (
|
||||
Gbl_ExceptionCount[Level]++;
|
||||
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);
|
||||
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-20170224/source/compiler/aslopt.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslopt.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslopt.c
|
||||
@@ -584,7 +584,7 @@ OptOptimizeNamePath (
|
||||
}
|
||||
|
||||
@ -72,10 +72,10 @@ Index: acpica-unix2-20170224/source/compiler/aslopt.c
|
||||
Op->Asl.LogicalLineNumber,
|
||||
AcpiPsGetOpcodeName (Op->Common.Parent->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-20170224/source/compiler/aslpredef.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslpredef.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslpredef.c
|
||||
@@ -114,7 +114,7 @@ ApCheckForPredefinedMethod (
|
||||
|
||||
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,
|
||||
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-20170224/source/compiler/aslprepkg.c
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslprepkg.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslprepkg.c
|
||||
@@ -309,7 +309,7 @@ ApCheckPackage (
|
||||
|
||||
if (Count & 1)
|
||||
@ -98,11 +98,11 @@ Index: acpica-unix2-20170224/source/compiler/aslprepkg.c
|
||||
Predefined->Info.Name, Count);
|
||||
|
||||
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-20170224/source/components/debugger/dbexec.c
|
||||
@@ -214,7 +214,7 @@ AcpiDbExecuteMethod (
|
||||
--- acpica-unix2-20170531.orig/source/components/debugger/dbexec.c
|
||||
+++ acpica-unix2-20170531/source/components/debugger/dbexec.c
|
||||
@@ -226,7 +226,7 @@ AcpiDbExecuteMethod (
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"Possible overflow of internal debugger "
|
||||
"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-20170224/source/components/dispatcher/dsmthdat.c
|
||||
--- acpica-unix2-20170531.orig/source/components/dispatcher/dsmthdat.c
|
||||
+++ acpica-unix2-20170531/source/components/dispatcher/dsmthdat.c
|
||||
@@ -291,7 +291,7 @@ AcpiDsMethodDataGetNode (
|
||||
if (Index > ACPI_METHOD_MAX_LOCAL)
|
||||
{
|
||||
@ -133,11 +133,11 @@ Index: acpica-unix2-20170224/source/components/dispatcher/dsmthdat.c
|
||||
Index, ACPI_METHOD_MAX_ARG));
|
||||
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-20170224/source/components/dispatcher/dsutils.c
|
||||
@@ -793,7 +793,7 @@ AcpiDsCreateOperands (
|
||||
--- acpica-unix2-20170531.orig/source/components/dispatcher/dsutils.c
|
||||
+++ acpica-unix2-20170531/source/components/dispatcher/dsutils.c
|
||||
@@ -787,7 +787,7 @@ AcpiDsCreateOperands (
|
||||
}
|
||||
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH,
|
||||
@ -146,10 +146,10 @@ Index: acpica-unix2-20170224/source/components/dispatcher/dsutils.c
|
||||
WalkState->NumOperands, ArgCount, Index));
|
||||
|
||||
/* 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-20170224/source/components/dispatcher/dswscope.c
|
||||
--- acpica-unix2-20170531.orig/source/components/dispatcher/dswscope.c
|
||||
+++ acpica-unix2-20170531/source/components/dispatcher/dswscope.c
|
||||
@@ -149,7 +149,7 @@ AcpiDsScopeStackPush (
|
||||
WalkState->ScopeDepth++;
|
||||
|
||||
@ -168,10 +168,10 @@ Index: acpica-unix2-20170224/source/components/dispatcher/dswscope.c
|
||||
(UINT32) WalkState->ScopeDepth,
|
||||
AcpiUtGetNodeName (ScopeInfo->Scope.Node),
|
||||
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-20170224/source/components/events/evgpe.c
|
||||
--- acpica-unix2-20170531.orig/source/components/events/evgpe.c
|
||||
+++ acpica-unix2-20170531/source/components/events/evgpe.c
|
||||
@@ -494,7 +494,7 @@ AcpiEvGpeDetect (
|
||||
"Ignore disabled registers for GPE %02X-%02X: "
|
||||
"RunEnable=%02X, WakeEnable=%02X\n",
|
||||
@ -190,23 +190,23 @@ Index: acpica-unix2-20170224/source/components/events/evgpe.c
|
||||
StatusReg, EnableReg,
|
||||
GpeRegisterInfo->EnableForRun,
|
||||
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-20170224/source/components/executer/exdump.c
|
||||
--- acpica-unix2-20170531.orig/source/components/executer/exdump.c
|
||||
+++ acpica-unix2-20170531/source/components/executer/exdump.c
|
||||
@@ -668,7 +668,7 @@ AcpiExDumpOperand (
|
||||
if (Depth > 0)
|
||||
{
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "%*s[%u] %p ",
|
||||
- Depth, " ", Depth, ObjDesc));
|
||||
+ (int) Depth, " ", Depth, ObjDesc));
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "%*s[%u] %p Refs=%u ",
|
||||
- Depth, " ", Depth, ObjDesc, ObjDesc->Common.ReferenceCount));
|
||||
+ (int) Depth, " ", Depth, ObjDesc, ObjDesc->Common.ReferenceCount));
|
||||
}
|
||||
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-20170224/source/components/executer/exfldio.c
|
||||
--- acpica-unix2-20170531.orig/source/components/executer/exfldio.c
|
||||
+++ acpica-unix2-20170531/source/components/executer/exfldio.c
|
||||
@@ -681,8 +681,8 @@ AcpiExWriteWithUpdateRule (
|
||||
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
@ -218,10 +218,10 @@ Index: acpica-unix2-20170224/source/components/executer/exfldio.c
|
||||
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-20170224/source/components/executer/exnames.c
|
||||
--- acpica-unix2-20170531.orig/source/components/executer/exnames.c
|
||||
+++ acpica-unix2-20170531/source/components/executer/exnames.c
|
||||
@@ -240,7 +240,7 @@ AcpiExNameSegment (
|
||||
*/
|
||||
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);
|
||||
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-20170224/source/components/hardware/hwregs.c
|
||||
--- acpica-unix2-20170531.orig/source/components/hardware/hwregs.c
|
||||
+++ acpica-unix2-20170531/source/components/hardware/hwregs.c
|
||||
@@ -464,7 +464,7 @@ AcpiHwClearAcpiStatus (
|
||||
|
||||
|
||||
@ -253,10 +253,10 @@ Index: acpica-unix2-20170224/source/components/hardware/hwregs.c
|
||||
ACPI_FORMAT_UINT64 (AcpiGbl_XPm1aStatus.Address)));
|
||||
|
||||
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-20170224/source/components/tables/tbfadt.c
|
||||
--- acpica-unix2-20170531.orig/source/components/tables/tbfadt.c
|
||||
+++ acpica-unix2-20170531/source/components/tables/tbfadt.c
|
||||
@@ -233,7 +233,7 @@ AcpiTbInitGenericAddress (
|
||||
if (!(Flags & ACPI_FADT_GPE_REGISTER))
|
||||
{
|
||||
@ -284,10 +284,10 @@ Index: acpica-unix2-20170224/source/components/tables/tbfadt.c
|
||||
Name, Address32,
|
||||
ACPI_FORMAT_UINT64 (Address64->Address),
|
||||
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-20170224/source/components/tables/tbxfroot.c
|
||||
--- acpica-unix2-20170531.orig/source/components/tables/tbxfroot.c
|
||||
+++ acpica-unix2-20170531/source/components/tables/tbxfroot.c
|
||||
@@ -177,7 +177,7 @@ AcpiFindRootPointer (
|
||||
{
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
@ -315,11 +315,11 @@ Index: acpica-unix2-20170224/source/components/tables/tbxfroot.c
|
||||
|
||||
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-20170224/source/components/utilities/utownerid.c
|
||||
@@ -231,7 +231,7 @@ AcpiUtReleaseOwnerId (
|
||||
--- acpica-unix2-20170531.orig/source/components/utilities/utownerid.c
|
||||
+++ acpica-unix2-20170531/source/components/utilities/utownerid.c
|
||||
@@ -237,7 +237,7 @@ AcpiUtReleaseOwnerId (
|
||||
else
|
||||
{
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
@ -328,10 +328,10 @@ Index: acpica-unix2-20170224/source/components/utilities/utownerid.c
|
||||
}
|
||||
|
||||
(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-20170224/source/tools/acpiexec/aemain.c
|
||||
--- acpica-unix2-20170531.orig/source/tools/acpiexec/aemain.c
|
||||
+++ acpica-unix2-20170531/source/tools/acpiexec/aemain.c
|
||||
@@ -203,7 +203,7 @@ AeDoOptions (
|
||||
|
||||
if (strlen (AcpiGbl_Optarg) > (AE_BUFFER_SIZE -1))
|
||||
|
@ -7,13 +7,13 @@ Al Stone <ahs3@redhat.com>
|
||||
source/compiler/aslmain.c | 12 ------------
|
||||
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-20161222/source/compiler/aslmain.c
|
||||
@@ -99,18 +99,6 @@ main (
|
||||
int ReturnStatus = 0;
|
||||
|
||||
--- acpica-unix2-20170531.orig/source/compiler/aslmain.c
|
||||
+++ acpica-unix2-20170531/source/compiler/aslmain.c
|
||||
@@ -102,18 +102,6 @@ main (
|
||||
signal (SIGINT, AslSignalHandler);
|
||||
signal (SIGSEGV, AslSignalHandler);
|
||||
|
||||
- /*
|
||||
- * Big-endian machines are not currently supported. ACPI tables must
|
||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
||||
SHA512 (acpica-unix2-20170303.tar.gz) = 22478b2df4cebfcc09539c9f0d16175319de93dccfc4224cf0b3e0a61970f45b41690adae69ac192e614c02929db6b8a6be2b01b9a5f2c6b83dbcf13cdeb01e5
|
||||
SHA512 (acpitests-unix-20170303.tar.gz) = 251479440bc83b5cbcc21aea69d8bfec2aaa2429e87b2a9cd13b01ecc8f294a16d892a2fa02f5a4a8adad8777dad5daf1325aeacec97a0b63ad11677341e8bf0
|
||||
SHA512 (acpica-unix2-20170531.tar.gz) = 055563bbc7762fd18de4d1e3d59d5592485270ffd1b5f5ca09e4996f063b8478de3d142064a3f785d3fbfc1fd9c276751b7c3fcda914dec751cd1289de2d6ea5
|
||||
SHA512 (acpitests-unix-20170531.tar.gz) = 978f7fba5cd2498ef6c2eafe71836538ba909294eb3848972378e88487fa59a123076dd21761eb3e7630e44d8eb3359d10820ca9011a72473919e7e0c1fff5c2
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user