Permalink
Browse files

MFC: r319365, r321670

Merge ACPICA 20170728.
  • Loading branch information...
juikim committed Aug 25, 2017
1 parent bd63851 commit 1c5a17e1a7dd5063e58cee0a717989c5ce609bdc
Showing with 11,311 additions and 4,135 deletions.
  1. +2 −0 sys/conf/files
  2. +282 −0 sys/contrib/dev/acpica/changes.txt
  3. +30 −2 sys/contrib/dev/acpica/common/acfileio.c
  4. +0 −10 sys/contrib/dev/acpica/common/adfile.c
  5. +10 −4 sys/contrib/dev/acpica/common/adisasm.c
  6. +72 −41 sys/contrib/dev/acpica/common/adwalk.c
  7. +1 −0 sys/contrib/dev/acpica/common/ahids.c
  8. +15 −0 sys/contrib/dev/acpica/common/ahpredef.c
  9. +4 −0 sys/contrib/dev/acpica/common/ahtable.c
  10. +4 −0 sys/contrib/dev/acpica/common/ahuuids.c
  11. +443 −77 sys/contrib/dev/acpica/common/dmextern.c
  12. +34 −2 sys/contrib/dev/acpica/common/dmrestag.c
  13. +679 −0 sys/contrib/dev/acpica/common/dmswitch.c
  14. +80 −0 sys/contrib/dev/acpica/common/dmtable.c
  15. +350 −0 sys/contrib/dev/acpica/common/dmtbdump.c
  16. +334 −6 sys/contrib/dev/acpica/common/dmtbinfo.c
  17. +2 −2 sys/contrib/dev/acpica/compiler/aslanalyze.c
  18. +4 −1 sys/contrib/dev/acpica/compiler/aslascii.c
  19. +1 −1 sys/contrib/dev/acpica/compiler/aslbtypes.c
  20. +3 −1 sys/contrib/dev/acpica/compiler/aslcodegen.c
  21. +2 −1 sys/contrib/dev/acpica/compiler/aslcompile.c
  22. +79 −54 sys/contrib/dev/acpica/compiler/aslcompiler.h
  23. +6 −1 sys/contrib/dev/acpica/compiler/aslcompiler.l
  24. +83 −83 sys/contrib/dev/acpica/compiler/aslcstyle.y
  25. +3 −3 sys/contrib/dev/acpica/compiler/asldefine.h
  26. +162 −3 sys/contrib/dev/acpica/compiler/aslerror.c
  27. +16 −7 sys/contrib/dev/acpica/compiler/aslexternal.c
  28. +20 −20 sys/contrib/dev/acpica/compiler/aslfold.c
  29. +34 −4 sys/contrib/dev/acpica/compiler/aslglobal.h
  30. +9 −5 sys/contrib/dev/acpica/compiler/aslhelp.c
  31. +26 −17 sys/contrib/dev/acpica/compiler/aslhelpers.y
  32. +174 −174 sys/contrib/dev/acpica/compiler/aslkeywords.y
  33. +3 −3 sys/contrib/dev/acpica/compiler/asllength.c
  34. +5 −5 sys/contrib/dev/acpica/compiler/asllisting.c
  35. +92 −16 sys/contrib/dev/acpica/compiler/aslload.c
  36. +1 −1 sys/contrib/dev/acpica/compiler/asllookup.c
  37. +35 −6 sys/contrib/dev/acpica/compiler/aslmain.c
  38. +26 −21 sys/contrib/dev/acpica/compiler/aslmap.c
  39. +1 −1 sys/contrib/dev/acpica/compiler/aslmapoutput.c
  40. +2 −1 sys/contrib/dev/acpica/compiler/aslmessages.c
  41. +1 −0 sys/contrib/dev/acpica/compiler/aslmessages.h
  42. +15 −15 sys/contrib/dev/acpica/compiler/aslmethod.c
  43. +2 −3 sys/contrib/dev/acpica/compiler/asloffset.c
  44. +6 −6 sys/contrib/dev/acpica/compiler/aslopcodes.c
  45. +2 −2 sys/contrib/dev/acpica/compiler/aslopt.c
  46. +19 −2 sys/contrib/dev/acpica/compiler/asloptions.c
  47. +953 −0 sys/contrib/dev/acpica/compiler/aslparseop.c
  48. +1 −1 sys/contrib/dev/acpica/compiler/aslparser.y
  49. +3 −3 sys/contrib/dev/acpica/compiler/aslpld.c
  50. +1 −1 sys/contrib/dev/acpica/compiler/aslpredef.c
  51. +274 −274 sys/contrib/dev/acpica/compiler/aslprimaries.y
  52. +7 −7 sys/contrib/dev/acpica/compiler/aslprintf.c
  53. +33 −8 sys/contrib/dev/acpica/compiler/aslresource.c
  54. +173 −79 sys/contrib/dev/acpica/compiler/aslresources.y
  55. +911 −6 sys/contrib/dev/acpica/compiler/aslrestype2s.c
  56. +115 −116 sys/contrib/dev/acpica/compiler/aslrules.y
  57. +9 −4 sys/contrib/dev/acpica/compiler/aslstartup.c
  58. +5 −10 sys/contrib/dev/acpica/compiler/aslsupport.l
  59. +1 −1 sys/contrib/dev/acpica/compiler/aslsupport.y
  60. +6 −0 sys/contrib/dev/acpica/compiler/asltokens.y
  61. +58 −26 sys/contrib/dev/acpica/compiler/asltransform.c
  62. +193 −1,113 sys/contrib/dev/acpica/compiler/asltree.c
  63. +32 −21 sys/contrib/dev/acpica/compiler/asltypes.h
  64. +6 −0 sys/contrib/dev/acpica/compiler/asltypes.y
  65. +40 −33 sys/contrib/dev/acpica/compiler/aslutils.c
  66. +1 −1 sys/contrib/dev/acpica/compiler/aslwalks.c
  67. +11 −8 sys/contrib/dev/acpica/compiler/aslxref.c
  68. +117 −86 sys/contrib/dev/acpica/compiler/cvcompiler.c
  69. +41 −21 sys/contrib/dev/acpica/compiler/cvdisasm.c
  70. +112 −71 sys/contrib/dev/acpica/compiler/cvparser.c
  71. +12 −9 sys/contrib/dev/acpica/compiler/dtcompile.c
  72. +12 −0 sys/contrib/dev/acpica/compiler/dtcompiler.h
  73. +30 −0 sys/contrib/dev/acpica/compiler/dtfield.c
  74. +228 −0 sys/contrib/dev/acpica/compiler/dttable1.c
  75. +134 −0 sys/contrib/dev/acpica/compiler/dttable2.c
  76. +154 −30 sys/contrib/dev/acpica/compiler/dttemplate.h
  77. +13 −1 sys/contrib/dev/acpica/compiler/dtutils.c
  78. +1 −1 sys/contrib/dev/acpica/compiler/prmacros.c
  79. +29 −4 sys/contrib/dev/acpica/components/debugger/dbdisply.c
  80. +12 −0 sys/contrib/dev/acpica/components/debugger/dbexec.c
  81. +3 −3 sys/contrib/dev/acpica/components/debugger/dbobject.c
  82. +1 −1 sys/contrib/dev/acpica/components/debugger/dbxface.c
  83. +2 −2 sys/contrib/dev/acpica/components/disassembler/dmbuffer.c
  84. +3 −3 sys/contrib/dev/acpica/components/disassembler/dmdeferred.c
  85. +13 −430 sys/contrib/dev/acpica/components/disassembler/dmopcode.c
  86. +15 −2 sys/contrib/dev/acpica/components/disassembler/dmresrc.c
  87. +466 −0 sys/contrib/dev/acpica/components/disassembler/dmresrcl2.c
  88. +11 −14 sys/contrib/dev/acpica/components/disassembler/dmwalk.c
  89. +3 −2 sys/contrib/dev/acpica/components/dispatcher/dsargs.c
  90. +1 −0 sys/contrib/dev/acpica/components/dispatcher/dsdebug.c
  91. +4 −0 sys/contrib/dev/acpica/components/dispatcher/dsfield.c
  92. +11 −3 sys/contrib/dev/acpica/components/dispatcher/dsmethod.c
  93. +64 −328 sys/contrib/dev/acpica/components/dispatcher/dsobject.c
  94. +13 −4 sys/contrib/dev/acpica/components/dispatcher/dsopcode.c
  95. +635 −0 sys/contrib/dev/acpica/components/dispatcher/dspkginit.c
  96. +0 −6 sys/contrib/dev/acpica/components/dispatcher/dsutils.c
  97. +2 −1 sys/contrib/dev/acpica/components/dispatcher/dswexec.c
  98. +37 −1 sys/contrib/dev/acpica/components/dispatcher/dswload.c
  99. +18 −0 sys/contrib/dev/acpica/components/dispatcher/dswload2.c
  100. +21 −0 sys/contrib/dev/acpica/components/events/evxfevnt.c
  101. +17 −42 sys/contrib/dev/acpica/components/executer/excreate.c
  102. +2 −2 sys/contrib/dev/acpica/components/executer/exdebug.c
  103. +49 −19 sys/contrib/dev/acpica/components/executer/exdump.c
  104. +9 −0 sys/contrib/dev/acpica/components/executer/exmisc.c
  105. +21 −5 sys/contrib/dev/acpica/components/executer/exoparg1.c
  106. +2 −0 sys/contrib/dev/acpica/components/executer/exoparg2.c
  107. +19 −5 sys/contrib/dev/acpica/components/executer/exresolv.c
  108. +1 −1 sys/contrib/dev/acpica/components/hardware/hwregs.c
  109. +12 −3 sys/contrib/dev/acpica/components/hardware/hwxfsleep.c
  110. +49 −4 sys/contrib/dev/acpica/components/namespace/nsaccess.c
  111. +18 −4 sys/contrib/dev/acpica/components/namespace/nsarguments.c
  112. +14 −0 sys/contrib/dev/acpica/components/namespace/nsinit.c
  113. +8 −5 sys/contrib/dev/acpica/components/namespace/nsnames.c
  114. +2 −0 sys/contrib/dev/acpica/components/namespace/nsprepkg.c
  115. +1 −1 sys/contrib/dev/acpica/components/namespace/nsutils.c
  116. +31 −10 sys/contrib/dev/acpica/components/namespace/nsxfeval.c
  117. +10 −0 sys/contrib/dev/acpica/components/parser/psloop.c
  118. +40 −0 sys/contrib/dev/acpica/components/parser/psobject.c
  119. +1 −1 sys/contrib/dev/acpica/components/parser/psopcode.c
  120. +12 −2 sys/contrib/dev/acpica/components/parser/psparse.c
  121. +112 −0 sys/contrib/dev/acpica/components/resources/rscalc.c
  122. +47 −0 sys/contrib/dev/acpica/components/resources/rsdump.c
  123. +68 −0 sys/contrib/dev/acpica/components/resources/rsdumpinfo.c
  124. +26 −2 sys/contrib/dev/acpica/components/resources/rsinfo.c
  125. +1 −4 sys/contrib/dev/acpica/components/resources/rsmisc.c
  126. +347 −0 sys/contrib/dev/acpica/components/resources/rsserial.c
  127. +4 −3 sys/contrib/dev/acpica/components/resources/rsxface.c
  128. +227 −34 sys/contrib/dev/acpica/components/tables/tbdata.c
  129. +2 −2 sys/contrib/dev/acpica/components/tables/tbfadt.c
  130. +32 −142 sys/contrib/dev/acpica/components/tables/tbinstal.c
  131. +28 −16 sys/contrib/dev/acpica/components/tables/tbutils.c
  132. +36 −4 sys/contrib/dev/acpica/components/tables/tbxface.c
  133. +2 −2 sys/contrib/dev/acpica/components/tables/tbxfload.c
  134. +3 −2 sys/contrib/dev/acpica/components/utilities/utdecode.c
  135. +3 −1 sys/contrib/dev/acpica/components/utilities/uthex.c
  136. +251 −10 sys/contrib/dev/acpica/components/utilities/utmath.c
  137. +9 −4 sys/contrib/dev/acpica/components/utilities/utmisc.c
  138. +4 −0 sys/contrib/dev/acpica/components/utilities/utobject.c
  139. +9 −3 sys/contrib/dev/acpica/components/utilities/utownerid.c
  140. +461 −0 sys/contrib/dev/acpica/components/utilities/utresdecode.c
  141. +19 −304 sys/contrib/dev/acpica/components/utilities/utresrc.c
  142. +1 −1 sys/contrib/dev/acpica/components/utilities/utstate.c
  143. +4 −4 sys/contrib/dev/acpica/components/utilities/utstrtoul64.c
  144. +8 −2 sys/contrib/dev/acpica/components/utilities/uttrack.c
  145. +4 −0 sys/contrib/dev/acpica/components/utilities/utxfmutex.c
  146. +5 −1 sys/contrib/dev/acpica/include/acapps.h
  147. +101 −6 sys/contrib/dev/acpica/include/acdisasm.h
  148. +17 −0 sys/contrib/dev/acpica/include/acdispat.h
  149. +3 −0 sys/contrib/dev/acpica/include/acglobal.h
  150. +24 −9 sys/contrib/dev/acpica/include/aclocal.h
  151. +1 −0 sys/contrib/dev/acpica/include/acnames.h
  152. +9 −5 sys/contrib/dev/acpica/include/acobject.h
  153. +1 −1 sys/contrib/dev/acpica/include/acopcode.h
  154. +2 −2 sys/contrib/dev/acpica/include/acpi.h
  155. +8 −7 sys/contrib/dev/acpica/include/acpixf.h
  156. +14 −0 sys/contrib/dev/acpica/include/acpredef.h
  157. +13 −1 sys/contrib/dev/acpica/include/acresrc.h
  158. +102 −1 sys/contrib/dev/acpica/include/acrestyp.h
  159. +7 −1 sys/contrib/dev/acpica/include/actables.h
  160. +15 −0 sys/contrib/dev/acpica/include/actbl.h
  161. +274 −18 sys/contrib/dev/acpica/include/actbl1.h
  162. +95 −4 sys/contrib/dev/acpica/include/actbl2.h
  163. +86 −5 sys/contrib/dev/acpica/include/actbl3.h
  164. +44 −31 sys/contrib/dev/acpica/include/actypes.h
  165. +20 −1 sys/contrib/dev/acpica/include/acutils.h
  166. +5 −0 sys/contrib/dev/acpica/include/acuuid.h
  167. +33 −28 sys/contrib/dev/acpica/include/amlcode.h
  168. +118 −0 sys/contrib/dev/acpica/include/amlresrc.h
  169. +5 −0 sys/contrib/dev/acpica/include/platform/acenv.h
  170. +1 −0 sys/contrib/dev/acpica/include/platform/acfreebsd.h
  171. +14 −0 sys/contrib/dev/acpica/include/platform/acgcc.h
  172. +9 −3 sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c
  173. +9 −8 sys/dev/acpica/acpi.c
  174. +6 −5 usr.sbin/acpi/acpidb/Makefile
  175. +19 −18 usr.sbin/acpi/iasl/Makefile
View
@@ -340,6 +340,7 @@ contrib/dev/acpica/components/dispatcher/dsmethod.c optional acpi
contrib/dev/acpica/components/dispatcher/dsmthdat.c optional acpi
contrib/dev/acpica/components/dispatcher/dsobject.c optional acpi
contrib/dev/acpica/components/dispatcher/dsopcode.c optional acpi
contrib/dev/acpica/components/dispatcher/dspkginit.c optional acpi
contrib/dev/acpica/components/dispatcher/dsutils.c optional acpi
contrib/dev/acpica/components/dispatcher/dswexec.c optional acpi
contrib/dev/acpica/components/dispatcher/dswload.c optional acpi
@@ -477,6 +478,7 @@ contrib/dev/acpica/components/utilities/utobject.c optional acpi
contrib/dev/acpica/components/utilities/utosi.c optional acpi
contrib/dev/acpica/components/utilities/utownerid.c optional acpi
contrib/dev/acpica/components/utilities/utpredef.c optional acpi
contrib/dev/acpica/components/utilities/utresdecode.c optional acpi acpi_debug
contrib/dev/acpica/components/utilities/utresrc.c optional acpi
contrib/dev/acpica/components/utilities/utstate.c optional acpi
contrib/dev/acpica/components/utilities/utstring.c optional acpi
@@ -1,3 +1,285 @@
----------------------------------------
28 July 2017. Summary of changes for version 20170728:
1) ACPICA kernel-resident subsystem:
Fixed a regression seen with small resource descriptors that could cause
an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
AML interpreter: Implemented a new feature that allows forward references
from individual named references within package objects that are
contained within blocks of "module-level code". This provides
compatibility with other ACPI implementations and supports existing
firmware that depends on this feature. Example:
Name (ABCD, 1)
If (ABCD) /* An If() at module-level */
{
Name (PKG1, Package()
{
INT1 /* Forward reference to object INT1
*/
})
Name (INT1, 0x1234)
}
AML Interpreter: Fixed a problem with the Alias() operator where aliases
to some ASL objects were not handled properly. Objects affected are:
Mutex, Event, and OperationRegion.
AML Debugger: Enhanced to properly handle AML Alias objects. These
objects have one level of indirection which was not fully supported by
the debugger.
Table Manager: Added support to detect and ignore duplicate SSDTs within
the XSDT/RSDT. This error in the XSDT has been seen in the field.
EFI and EDK2 support:
Enabled /WX flag for MSVC builds
Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
Added local support for 64-bit multiply and shift operations
Added support to compile acpidump.efi on Windows
Added OSL function stubs for interfaces not used under EFI
Added additional support for the _DMA predefined name. _DMA returns a
buffer containing a resource template. This change add support within the
resource manager (AcpiWalkResourceBuffer) to walk and parse this list of
resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
2) iASL Compiler/Disassembler and Tools:
iASL: Fixed a problem where the internal input line buffer(s) could
overflow if there are very long lines in the input ASL source code file.
Implemented buffer management that automatically increases the size of
the buffers as necessary.
iASL: Added an option (-vx) to "expect" particular remarks, warnings and
errors. If the specified exception is not raised during compilation, the
compiler emits an error. This is intended to support the ASL test suite,
but may be useful in other contexts.
iASL: Implemented a new predefined macro, __METHOD__, which returns a
string containing the name of the current control method that is being
compiled.
iASL: Implemented debugger and table compiler support for the SDEI ACPI
table (Software Delegated Exception Interface). James Morse
<james.morse@arm.com>
Unix/Linux makefiles: Added an option to disable compile optimizations.
The disable occurs when the NOOPT flag is set to TRUE.
theracermaster@gmail.com
Acpidump: Added support for multiple DSDT and FACS tables. This can occur
when there are different tables for 32-bit versus 64-bit.
Enhanced error reporting for the ASL test suite (ASLTS) by removing
unnecessary/verbose text, and emit the actual line number where an error
has occurred. These changes are intended to improve the usefulness of the
test suite.
----------------------------------------
29 June 2017. Summary of changes for version 20170629:
1) ACPICA kernel-resident subsystem:
Tables: Implemented a deferred ACPI table verification. This is useful
for operating systems where the tables cannot be verified in the early
initialization stage due to early memory mapping limitations on some
architectures. Lv Zheng.
Tables: Removed the signature validation for dynamically loaded tables.
Provides compatibility with other ACPI implementations. Previously, only
SSDT tables were allowed, as per the ACPI specification. Now, any table
signature can be used via the Load() operator. Lv Zheng.
Tables: Fixed several mutex issues that could cause errors during table
acquisition. Lv Zheng.
Tables: Fixed a problem where an ACPI warning could be generated if a
null pointer was passed to the AcpiPutTable interface. Lv Zheng.
Tables: Added a mechanism to handle imbalances for the AcpiGetTable and
AcpiPutTable interfaces. This applies to the "late stage" table loading
when the use of AcpiPutTable is no longer required (since the system
memory manager is fully running and available). Lv Zheng.
Fixed/Reverted a regression during processing of resource descriptors
that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG
exception in this case.
Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the
I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
Interpreter: Fixed a possible fault if an Alias operator with an invalid
or duplicate target is encountered during Alias creation in
AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
Added an option to use designated initializers for function pointers.
Kees Cook <keescook@google.com>
2) iASL Compiler/Disassembler and Tools:
iASL: Allow compilation of External declarations with target pathnames
that refer to existing named objects within the table. Erik Schmauss.
iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a
FieldUnit name also is declared via External in the same table. Erik
Schmauss.
iASL: Allow existing scope names within pathnames used in External
statements. For example:
External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
Device (ABCD)
iASL: IORT ACPI table: Implemented changes required to decode the new
Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table
compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
Disassembler: Don't abort disassembly on errors from External()
statements. Erik Schmauss.
Disassembler: fixed a possible fault when one of the Create*Field
operators references a Resource Template. ACPICA Bugzilla 1396.
iASL: In the source code, resolved some naming inconsistences across the
parsing support. Fixes confusion between "Parse Op" and "Parse Node".
Adds a new file, aslparseop.c
----------------------------------------
31 May 2017. Summary of changes for version 20170531:
0) ACPI 6.2 support:
The ACPI specification version 6.2 has been released and is available at
http://uefi.org/specifications
This version of ACPICA fully supports the ACPI 6.2 specification. Changes
are summarized below.
New ACPI tables (Table Compiler/Disassembler/Templates):
HMAT (Heterogeneous Memory Attributes Table)
WSMT (Windows SMM Security Mitigation Table)
PPTT (Processor Properties Topology Table)
New subtables for existing ACPI tables:
HEST (New subtable, Arch-deferred machine check)
SRAT (New subtable, Arch-specific affinity structure)
PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
Simple updates for existing ACPI tables:
BGRT (two new flag bits)
HEST (New bit defined for several subtables, GHES_ASSIST)
New Resource Descriptors and Resource macros (Compiler/Disassembler):
PinConfig()
PinFunction()
PinGroup()
PinGroupConfig()
PinGroupFunction()
New type for hardware error notification (section 18.3.2.9)
New predefined names/methods (Compiler/Interpreter):
_HMA (Heterogeneous Memory Attributes)
_LSI (Label Storage Information)
_LSR (Label Storage Read)
_LSW (Label Storage Write)
ASL grammar/macro changes (Compiler):
For() ASL macro, implemented with the AML while operator
Extensions to Concatenate operator
Support for multiple definition blocks in same ASL file
Clarification for Buffer operator
Allow executable AML code underneath all scopes (Devices, etc.)
Clarification/change for the _OSI return value
ASL grammar update for reference operators
Allow a zero-length string for AML filename in DefinitionBlock
Miscellaneous:
New device object notification value
Remove a notify value (0x0C) for graceful shutdown
New UUIDs for processor/cache properties and
physical package property
New _HID, ACPI0014 (Wireless Power Calibration Device)
1) ACPICA kernel-resident subsystem:
Added support to disable ACPI events on hardware-reduced platforms.
Eliminates error messages of the form "Could not enable fixed event". Lv
Zheng
Fixed a problem using Device/Thermal objects with the ObjectType and
DerefOf ASL operators. This support had not been fully/properly
implemented.
Fixed a problem where if a Buffer object containing a resource template
was longer than the actual resource template, an error was generated --
even though the AML is legal. This case has been seen in the field.
Fixed a problem with the header definition of the MADT PCAT_COMPAT flag.
The values for DUAL_PIC and MULTIPLE_APIC were reversed.
Added header file changes for the TPM2 ACPI table. Update to new version
of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex.
These interfaces are intended to be used only in conjunction with the
predefined _DLM method (Device Lock Method). "This object appears in a
device scope when AML access to the device must be synchronized with the
OS environment".
Example Code and Data Size: These are the sizes for the OS-independent
acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
debug version of the code includes the debug output trace mechanism and
has a much larger code and data size.
Current Release:
Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
Debug Version: 204.0K Code, 84.3K Data, 288.3K Total
Previous Release:
Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
2) iASL Compiler/Disassembler and Tools:
iASL: Fixed a problem where an External() declaration could not refer to
a Field Unit. Erik Schmauss.
Disassembler: Improved support for the Switch/Case operators. This
feature will disassemble AML code back to the original Switch operators
when possible, instead of an If..Else sequence. David Box
iASL and disassembler: Improved the handling of multiple extraneous
parentheses for both ASL input and disassembled ASL output.
Improved the behavior of the iASL compiler and disassembler to detect
improper use of external declarations
Disassembler: Now aborts immediately upon detection of an unknown AML
opcode. The AML parser has no real way to recover from this, and can
result in the creation of an ill-formed parse tree that causes errors
later during the disassembly.
All tools: Fixed a problem where the Unix application OSL did not handle
control-c correctly. For example, a control-c could incorrectly wake the
debugger.
AcpiExec: Improved the Control-C handling and added a handler for
segmentation faults (SIGSEGV). Supports both Windows and Unix-like
environments.
Reduced the verbosity of the generic unix makefiles. Previously, each
compilation displayed the full set of compiler options. This has been
eliminated as the options are easily inspected within the makefiles. Each
compilation now results in a single line of output.
----------------------------------------
03 March 2017. Summary of changes for version 20170303:
@@ -173,6 +173,36 @@ AcCheckTextModeCorruption (
ACPI_TABLE_HEADER *Table);
/*******************************************************************************
*
* FUNCTION: AcDeleteTableList
*
* PARAMETERS: ListHead - List to delete
*
* RETURN: Status
*
* DESCRIPTION: Delete a list of tables. This is useful for removing memory
* allocated by AcGetAllTablesFromFile
*
******************************************************************************/
void
AcDeleteTableList (
ACPI_NEW_TABLE_DESC *ListHead)
{
ACPI_NEW_TABLE_DESC *Current = ListHead;
ACPI_NEW_TABLE_DESC *Previous = Current;
while (Current)
{
Current = Current->Next;
AcpiOsFree (Previous);
Previous = Current;
}
}
/*******************************************************************************
*
* FUNCTION: AcGetAllTablesFromFile
@@ -531,8 +561,6 @@ AcValidateTableHeader (
if (!AcpiUtValidNameseg (TableHeader.Signature))
{
fprintf (stderr, "Invalid table signature: 0x%8.8X\n",
*ACPI_CAST_PTR (UINT32, TableHeader.Signature));
return (AE_BAD_SIGNATURE);
}
@@ -316,11 +316,6 @@ FlGenerateFilename (
*/
NewFilename = UtStringCacheCalloc ((ACPI_SIZE)
strlen (InputFilename) + strlen (Suffix) + 2);
if (!NewFilename)
{
return (NULL);
}
strcpy (NewFilename, InputFilename);
/* Try to find the last dot in the filename */
@@ -364,11 +359,6 @@ FlStrdup (
NewString = UtStringCacheCalloc ((ACPI_SIZE) strlen (String) + 1);
if (!NewString)
{
return (NULL);
}
strcpy (NewString, String);
return (NewString);
}
Oops, something went wrong.

0 comments on commit 1c5a17e

Please sign in to comment.