Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/acpica/dist -------------------------------...



details:   https://anonhg.NetBSD.org/src/rev/efd2bfbf7902
branches:  trunk
changeset: 831595:efd2bfbf7902
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 07 14:12:43 2018 +0000

description:
----------------------------------------
13 March 2018. Summary of changes for version 20180313:


1) ACPICA kernel-resident subsystem:

Implemented various improvements to the GPE support:

1) Dispatch all active GPEs at initialization time so that no GPEs are
lost.
2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled
before devices are enumerated.
3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that
IRQs are not lost.
4) Add parallel GPE handling to eliminate the possibility of dispatching
the same GPE twice.
5) Dispatch any pending GPEs after enabling for the first time.

AcpiGetObjectInfo - removed support for the _STA method. This was causing
problems on some platforms.

Added a new _OSI string, "Windows 2017.2".

Cleaned up and simplified the module-level code support. These changes
are in preparation for the eventual removal of the legacy MLC support
(deferred execution), replaced by the new MLC architecture which executes
the MLC as a table is loaded (DSDT/SSDTs).

Changed a compile-time option to a runtime option. Changes the option to
ignore ACPI table load-time package resolution errors into a runtime
option. Used only for platforms that generate many AE_NOT_FOUND errors
during boot. AcpiGbl_IgnorePackageResolutionErrors.

Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some
ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid
compilation errors from unused variables (seen with some compilers).


2) iASL Compiler/Disassembler and Tools:

ASLTS: parallelized execution in order to achieve an (approximately) 2X
performance increase.

ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves
error reporting.

----------------------------------------
09 February 2018. Summary of changes for version 20180209:


1) ACPICA kernel-resident subsystem:

Completed the final integration of the recent changes to Package Object
handling and the module-level AML code support. This allows forward
references from individual package elements when the package object is
declared from within module-level code blocks. Provides compatibility
with other ACPI implementations.

The new architecture for the AML module-level code has been completed and
is now the default for the ACPICA code. This new architecture executes
the module-level code in-line as the ACPI table is loaded/parsed instead
of the previous architecture which deferred this code until after the
table was fully loaded. This solves some ASL code ordering issues and
provides compatibility with other ACPI implementations. At this time,
there is an option to fallback to the earlier architecture, but this
support is deprecated and is planned to be completely removed later this
year.

Added a compile-time option to ignore AE_NOT_FOUND exceptions during
resolution of named reference elements within Package objects. Although
this is potentially a serious problem, it can generate a lot of
noise/errors on platforms whose firmware carries around a bunch of unused
Package objects. To disable these errors, define
ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All
errors are always reported for ACPICA applications such as AcpiExec.

Fixed a regression related to the explicit type-conversion AML operators
(ToXXXX). The regression was introduced early in 2017 but was not seen
until recently because these operators are not fully supported by other
ACPI implementations and are thus rarely used by firmware developers. The
operators are defined by the ACPI specification to not implement the
"implicit result object conversion". The regression incorrectly
introduced this object conversion for the following explicit conversion
operators:
    ToInteger
    ToString
    ToBuffer
    ToDecimalString
    ToHexString
    ToBCD
    FromBCD


2) iASL Compiler/Disassembler and Tools:

iASL: Fixed a problem with the compiler constant folding feature as
related to the ToXXXX explicit conversion operators. These operators do
not support the "implicit result object conversion" by definition. Thus,
ASL expressions that use these operators cannot be folded to a simple
Store operator because Store implements the implicit conversion. This
change uses the CopyObject operator for the ToXXXX operator folding
instead. CopyObject is defined to not implement implicit result
conversions and is thus appropriate for folding the ToXXXX operators.

iASL: Changed the severity of an error condition to a simple warning for
the case where a symbol is declared both locally and as an external
symbol. This accommodates existing ASL code.

AcpiExec: The -ep option to enable the new architecture for module-level
code has been removed. It is replaced by the -dp option which instead has
the opposite effect: it disables the new architecture (the default) and
enables the legacy architecture. When the legacy code is removed in the
future, the -dp option will be removed also.

----------------------------------------
05 January 2018. Summary of changes for version 20180105:


1) ACPICA kernel-resident subsystem:

Updated all copyrights to 2018. This affects all source code modules.

Fixed a possible build error caused by an unresolved reference to the
AcpiUtSafeStrncpy function.

Removed NULL pointer arithmetic in the various pointer manipulation
macros. All "(void *) NULL" constructs are converted to "(void *) 0".
This eliminates warnings/errors in newer C compilers. Jung-uk Kim.

Added support for A32 ABI compilation, which uses the ILP32 model. Anuj
Mittal.


2) iASL Compiler/Disassembler and Tools:

ASLTS: Updated all copyrights to 2018.

Tools: Updated all signon copyrights to 2018.

AcpiXtract: Fixed a regression related to ACPI table signatures where the
signature was truncated to 3 characters (instead of 4).

AcpiExec: Restore the original terminal mode after the use of the -v and
-vd options.

ASLTS: Deployed the iASL __METHOD__ macro across the test suite.

----------------------------------------
14 December 2017. Summary of changes for version 20171214:


1) ACPICA kernel-resident subsystem:

Fixed a regression in the external (public) AcpiEvaluateObjectTyped
interface where the optional "pathname" argument had inadvertently become
a required argument returning an error if omitted (NULL pointer
argument).

Fixed two possible memory leaks related to the recently developed "late
resolution" of reference objects within ASL Package Object definitions.

Added two recently defined _OSI strings: "Windows 2016" and "Windows
2017". Mario Limonciello.

Implemented and deployed a safer version of the C library function
strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the
creation of unterminated strings as a possible result of a standard
strncpy.

Cleaned up and restructured the global variable file (acglobal.h). There
are many changes, but no functional changes.


2) iASL Compiler/Disassembler and Tools:

iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the
optional OemData field at the end of the table was incorrectly required
for proper compilation. It is now correctly an optional field.

ASLTS: The entire suite was converted from standard ASL to the ASL+
language, using the ASL-to-ASL+ converter which is integrated into the
iASL compiler. A binary compare of all output files has verified the
correctness of the conversion.

iASL: Fixed the source code build for platforms where "char" is unsigned.
This affected the iASL lexer only. Jung-uk Kim.

diffstat:

 sys/external/bsd/acpica/dist/changes.txt                            |   187 +
 sys/external/bsd/acpica/dist/common/acfileio.c                      |     2 +-
 sys/external/bsd/acpica/dist/common/acgetline.c                     |     2 +-
 sys/external/bsd/acpica/dist/common/adfile.c                        |     2 +-
 sys/external/bsd/acpica/dist/common/adisasm.c                       |     6 +-
 sys/external/bsd/acpica/dist/common/adwalk.c                        |     2 +-
 sys/external/bsd/acpica/dist/common/ahids.c                         |     2 +-
 sys/external/bsd/acpica/dist/common/ahpredef.c                      |     2 +-
 sys/external/bsd/acpica/dist/common/ahtable.c                       |     2 +-
 sys/external/bsd/acpica/dist/common/ahuuids.c                       |     2 +-
 sys/external/bsd/acpica/dist/common/cmfsize.c                       |     2 +-
 sys/external/bsd/acpica/dist/common/dmextern.c                      |     2 +-
 sys/external/bsd/acpica/dist/common/dmrestag.c                      |     2 +-
 sys/external/bsd/acpica/dist/common/dmswitch.c                      |     6 +-
 sys/external/bsd/acpica/dist/common/dmtable.c                       |     3 +-
 sys/external/bsd/acpica/dist/common/dmtables.c                      |     6 +-
 sys/external/bsd/acpica/dist/common/dmtbdump1.c                     |  1434 +++++
 sys/external/bsd/acpica/dist/common/dmtbdump2.c                     |  1966 +++++++
 sys/external/bsd/acpica/dist/common/dmtbdump3.c                     |   585 ++
 sys/external/bsd/acpica/dist/common/dmtbinfo1.c                     |  1092 ++++
 sys/external/bsd/acpica/dist/common/dmtbinfo2.c                     |  1433 +++++
 sys/external/bsd/acpica/dist/common/dmtbinfo3.c                     |   625 ++
 sys/external/bsd/acpica/dist/common/getopt.c                        |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslallocate.c                 |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslascii.c                    |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslbtypes.c                   |     3 +-
 sys/external/bsd/acpica/dist/compiler/aslcache.c                    |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslcodegen.c                  |    21 +-
 sys/external/bsd/acpica/dist/compiler/aslcstyle.y                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/asldebug.c                    |     4 +-
 sys/external/bsd/acpica/dist/compiler/asldefine.h                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslexternal.c                 |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslfold.c                     |    56 +-
 sys/external/bsd/acpica/dist/compiler/aslglobal.h                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslhelp.c                     |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslhelpers.y                  |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslhex.c                      |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslkeywords.y                 |     2 +-
 sys/external/bsd/acpica/dist/compiler/asllength.c                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/asllisting.c                  |     2 +-
 sys/external/bsd/acpica/dist/compiler/asllistsup.c                  |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslmain.c                     |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslmap.c                      |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslmapenter.c                 |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslmapoutput.c                |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslmaputils.c                 |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslmessages.c                 |     6 +-
 sys/external/bsd/acpica/dist/compiler/aslmessages.h                 |     4 +-
 sys/external/bsd/acpica/dist/compiler/aslmethod.c                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslnamesp.c                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/asloffset.c                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/asloperands.c                 |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslparseop.c                  |     8 +-
 sys/external/bsd/acpica/dist/compiler/aslparser.y                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslpld.c                      |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslprimaries.y                |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslprintf.c                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslprune.c                    |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslresource.c                 |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslresources.y                |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype1.c                 |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype1i.c                |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2.c                 |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2d.c                |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2e.c                |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2q.c                |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2s.c                |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2w.c                |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslrules.y                    |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslstartup.c                  |     6 +-
 sys/external/bsd/acpica/dist/compiler/aslstubs.c                    |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslsupport.y                  |     2 +-
 sys/external/bsd/acpica/dist/compiler/asltokens.y                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/asltransform.c                |     2 +-
 sys/external/bsd/acpica/dist/compiler/asltypes.h                    |     2 +-
 sys/external/bsd/acpica/dist/compiler/asltypes.y                    |     2 +-
 sys/external/bsd/acpica/dist/compiler/asluuid.c                     |     2 +-
 sys/external/bsd/acpica/dist/compiler/aslxrefout.c                  |     2 +-
 sys/external/bsd/acpica/dist/compiler/cvcompiler.c                  |    12 +-
 sys/external/bsd/acpica/dist/compiler/cvdisasm.c                    |     6 +-
 sys/external/bsd/acpica/dist/compiler/cvparser.c                    |     8 +-
 sys/external/bsd/acpica/dist/compiler/dtcompiler.h                  |     5 +-
 sys/external/bsd/acpica/dist/compiler/dtexpress.c                   |    44 +-
 sys/external/bsd/acpica/dist/compiler/dtio.c                        |     2 +-
 sys/external/bsd/acpica/dist/compiler/dtparser.l                    |    58 +-
 sys/external/bsd/acpica/dist/compiler/dttable1.c                    |   130 +-
 sys/external/bsd/acpica/dist/compiler/dttable2.c                    |   116 +-
 sys/external/bsd/acpica/dist/compiler/dttemplate.c                  |     2 +-
 sys/external/bsd/acpica/dist/compiler/dttemplate.h                  |     2 +-
 sys/external/bsd/acpica/dist/compiler/preprocess.h                  |     2 +-
 sys/external/bsd/acpica/dist/compiler/prexpress.c                   |     2 +-
 sys/external/bsd/acpica/dist/compiler/prmacros.c                    |     2 +-
 sys/external/bsd/acpica/dist/compiler/prparser.l                    |     2 +-
 sys/external/bsd/acpica/dist/compiler/prscan.c                      |     4 +-
 sys/external/bsd/acpica/dist/debugger/dbconvert.c                   |     2 +-
 sys/external/bsd/acpica/dist/debugger/dbfileio.c                    |     4 +-
 sys/external/bsd/acpica/dist/debugger/dbhistry.c                    |     2 +-
 sys/external/bsd/acpica/dist/debugger/dbobject.c                    |     2 +-
 sys/external/bsd/acpica/dist/debugger/dbstats.c                     |     2 +-
 sys/external/bsd/acpica/dist/debugger/dbxface.c                     |     2 +-
 sys/external/bsd/acpica/dist/disassembler/dmdeferred.c              |     2 +-
 sys/external/bsd/acpica/dist/disassembler/dmnames.c                 |     2 +-
 sys/external/bsd/acpica/dist/disassembler/dmopcode.c                |     2 +-
 sys/external/bsd/acpica/dist/disassembler/dmresrcs.c                |     2 +-
 sys/external/bsd/acpica/dist/disassembler/dmutils.c                 |     2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsargs.c                    |     3 +-
 sys/external/bsd/acpica/dist/dispatcher/dsdebug.c                   |     2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsfield.c                   |     2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsinit.c                    |     2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsmethod.c                  |     2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsmthdat.c                  |     2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsobject.c                  |     2 +-
 sys/external/bsd/acpica/dist/dispatcher/dspkginit.c                 |   185 +-
 sys/external/bsd/acpica/dist/dispatcher/dswexec.c                   |     6 +-
 sys/external/bsd/acpica/dist/dispatcher/dswload.c                   |     4 +-
 sys/external/bsd/acpica/dist/dispatcher/dswload2.c                  |     2 +-
 sys/external/bsd/acpica/dist/dispatcher/dswscope.c                  |     2 +-
 sys/external/bsd/acpica/dist/dispatcher/dswstate.c                  |     2 +-
 sys/external/bsd/acpica/dist/events/evevent.c                       |    11 +-
 sys/external/bsd/acpica/dist/events/evglock.c                       |     2 +-
 sys/external/bsd/acpica/dist/events/evgpe.c                         |   240 +-
 sys/external/bsd/acpica/dist/events/evgpeblk.c                      |    22 +-
 sys/external/bsd/acpica/dist/events/evgpeinit.c                     |     2 +-
 sys/external/bsd/acpica/dist/events/evgpeutil.c                     |     2 +-
 sys/external/bsd/acpica/dist/events/evhandler.c                     |     2 +-
 sys/external/bsd/acpica/dist/events/evmisc.c                        |     2 +-
 sys/external/bsd/acpica/dist/events/evsci.c                         |     2 +-
 sys/external/bsd/acpica/dist/events/evxfevnt.c                      |     2 +-
 sys/external/bsd/acpica/dist/events/evxfgpe.c                       |    33 +-
 sys/external/bsd/acpica/dist/events/evxfregn.c                      |     2 +-
 sys/external/bsd/acpica/dist/executer/exconcat.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exconvrt.c                    |     3 +-
 sys/external/bsd/acpica/dist/executer/excreate.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exfield.c                     |     2 +-
 sys/external/bsd/acpica/dist/executer/exfldio.c                     |     2 +-
 sys/external/bsd/acpica/dist/executer/exmisc.c                      |     2 +-
 sys/external/bsd/acpica/dist/executer/exmutex.c                     |     2 +-
 sys/external/bsd/acpica/dist/executer/exnames.c                     |     9 +-
 sys/external/bsd/acpica/dist/executer/exoparg1.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exoparg2.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exoparg3.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exoparg6.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exprep.c                      |     2 +-
 sys/external/bsd/acpica/dist/executer/exregion.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exresnte.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exresolv.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exresop.c                     |     3 +-
 sys/external/bsd/acpica/dist/executer/exstore.c                     |     2 +-
 sys/external/bsd/acpica/dist/executer/exstoren.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exstorob.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/exsystem.c                    |     2 +-
 sys/external/bsd/acpica/dist/executer/extrace.c                     |     2 +-
 sys/external/bsd/acpica/dist/executer/exutils.c                     |     2 +-
 sys/external/bsd/acpica/dist/generate/unix/acpinames/Makefile       |     1 +
 sys/external/bsd/acpica/dist/generate/unix/iasl/Makefile            |     6 +
 sys/external/bsd/acpica/dist/hardware/hwacpi.c                      |     2 +-
 sys/external/bsd/acpica/dist/hardware/hwgpe.c                       |     3 +-
 sys/external/bsd/acpica/dist/hardware/hwpci.c                       |     2 +-
 sys/external/bsd/acpica/dist/hardware/hwtimer.c                     |     2 +-
 sys/external/bsd/acpica/dist/hardware/hwvalid.c                     |    19 +-
 sys/external/bsd/acpica/dist/hardware/hwxface.c                     |     2 +-
 sys/external/bsd/acpica/dist/include/acbuffer.h                     |     2 +-
 sys/external/bsd/acpica/dist/include/acclib.h                       |     2 +-
 sys/external/bsd/acpica/dist/include/accommon.h                     |     2 +-
 sys/external/bsd/acpica/dist/include/acconfig.h                     |     2 +-
 sys/external/bsd/acpica/dist/include/acconvert.h                    |     2 +-
 sys/external/bsd/acpica/dist/include/acdispat.h                     |     2 +-
 sys/external/bsd/acpica/dist/include/acevents.h                     |    23 +-
 sys/external/bsd/acpica/dist/include/achware.h                      |     2 +-
 sys/external/bsd/acpica/dist/include/acnames.h                      |     2 +-
 sys/external/bsd/acpica/dist/include/acobject.h                     |     2 +-
 sys/external/bsd/acpica/dist/include/acopcode.h                     |    16 +-
 sys/external/bsd/acpica/dist/include/acparser.h                     |     2 +-
 sys/external/bsd/acpica/dist/include/acpi.h                         |     2 +-
 sys/external/bsd/acpica/dist/include/acpredef.h                     |     2 +-
 sys/external/bsd/acpica/dist/include/acrestyp.h                     |     2 +-
 sys/external/bsd/acpica/dist/include/acstruct.h                     |     2 +-
 sys/external/bsd/acpica/dist/include/actbinfo.h                     |   303 +
 sys/external/bsd/acpica/dist/include/actbl.h                        |     2 +-
 sys/external/bsd/acpica/dist/include/actbl2.h                       |  2514 +++++----
 sys/external/bsd/acpica/dist/include/actbl3.h                       |  1392 ++---
 sys/external/bsd/acpica/dist/include/acuuid.h                       |     2 +-
 sys/external/bsd/acpica/dist/include/amlcode.h                      |    23 +-
 sys/external/bsd/acpica/dist/include/amlresrc.h                     |     2 +-
 sys/external/bsd/acpica/dist/include/platform/accygwin.h            |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acdragonfly.h         |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acdragonflyex.h       |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acefi.h               |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acefiex.h             |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acenv.h               |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acenvex.h             |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acfreebsd.h           |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acgccex.h             |     2 +-
 sys/external/bsd/acpica/dist/include/platform/achaiku.h             |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acintel.h             |     2 +-
 sys/external/bsd/acpica/dist/include/platform/aclinux.h             |     6 +-
 sys/external/bsd/acpica/dist/include/platform/aclinuxex.h           |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acmacosx.h            |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acmsvc.h              |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acmsvcex.h            |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acos2.h               |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acqnx.h               |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acwin.h               |     2 +-
 sys/external/bsd/acpica/dist/include/platform/acwin64.h             |     2 +-
 sys/external/bsd/acpica/dist/namespace/nsalloc.c                    |     2 +-
 sys/external/bsd/acpica/dist/namespace/nsarguments.c                |     2 +-
 sys/external/bsd/acpica/dist/namespace/nsconvert.c                  |     2 +-
 sys/external/bsd/acpica/dist/namespace/nsdumpdv.c                   |     7 +-
 sys/external/bsd/acpica/dist/namespace/nsload.c                     |    26 +-
 sys/external/bsd/acpica/dist/namespace/nsnames.c                    |     5 +-
 sys/external/bsd/acpica/dist/namespace/nsobject.c                   |     2 +-
 sys/external/bsd/acpica/dist/namespace/nsparse.c                    |    36 +-
 sys/external/bsd/acpica/dist/namespace/nspredef.c                   |     2 +-
 sys/external/bsd/acpica/dist/namespace/nsprepkg.c                   |     2 +-
 sys/external/bsd/acpica/dist/namespace/nsrepair.c                   |     2 +-
 sys/external/bsd/acpica/dist/namespace/nssearch.c                   |     2 +-
 sys/external/bsd/acpica/dist/namespace/nsutils.c                    |     2 +-
 sys/external/bsd/acpica/dist/namespace/nswalk.c                     |     2 +-
 sys/external/bsd/acpica/dist/namespace/nsxfobj.c                    |     2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osbsdtbl.c  |     2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osgendbg.c  |     7 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osunixdir.c |     2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osunixmap.c |     2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osunixxf.c  |     2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/oswindir.c  |     2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/oswintbl.c  |     2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/oswinxf.c   |     2 +-
 sys/external/bsd/acpica/dist/parser/psargs.c                        |    12 +-
 sys/external/bsd/acpica/dist/parser/psloop.c                        |    30 +-
 sys/external/bsd/acpica/dist/parser/psobject.c                      |     8 +-
 sys/external/bsd/acpica/dist/parser/psparse.c                       |     4 +-
 sys/external/bsd/acpica/dist/parser/psscope.c                       |     2 +-
 sys/external/bsd/acpica/dist/parser/pstree.c                        |     3 +-
 sys/external/bsd/acpica/dist/parser/psutils.c                       |     6 +-
 sys/external/bsd/acpica/dist/parser/pswalk.c                        |     2 +-
 sys/external/bsd/acpica/dist/parser/psxface.c                       |     2 +-
 sys/external/bsd/acpica/dist/resources/rsaddr.c                     |     2 +-
 sys/external/bsd/acpica/dist/resources/rscalc.c                     |     2 +-
 sys/external/bsd/acpica/dist/resources/rscreate.c                   |     2 +-
 sys/external/bsd/acpica/dist/resources/rsinfo.c                     |     2 +-
 sys/external/bsd/acpica/dist/resources/rsio.c                       |     2 +-
 sys/external/bsd/acpica/dist/resources/rsirq.c                      |     2 +-
 sys/external/bsd/acpica/dist/resources/rslist.c                     |     2 +-
 sys/external/bsd/acpica/dist/resources/rsmemory.c                   |     2 +-
 sys/external/bsd/acpica/dist/resources/rsmisc.c                     |     2 +-
 sys/external/bsd/acpica/dist/resources/rsserial.c                   |     2 +-
 sys/external/bsd/acpica/dist/tables/tbfind.c                        |     2 +-
 sys/external/bsd/acpica/dist/tables/tbprint.c                       |     2 +-
 sys/external/bsd/acpica/dist/tests/misc/badcode.asl                 |     1 -
 sys/external/bsd/acpica/dist/tests/misc/converterSample.asl         |     3 +-
 sys/external/bsd/acpica/dist/tests/misc/grammar.asl                 |    33 +-
 sys/external/bsd/acpica/dist/tools/acpibin/abcompare.c              |     2 +-
 sys/external/bsd/acpica/dist/tools/acpibin/abmain.c                 |     2 +-
 sys/external/bsd/acpica/dist/tools/acpibin/acpibin.h                |     2 +-
 sys/external/bsd/acpica/dist/tools/acpidump/acpidump.h              |     2 +-
 sys/external/bsd/acpica/dist/tools/acpidump/apdump.c                |     2 +-
 sys/external/bsd/acpica/dist/tools/acpidump/apmain.c                |     2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aecommon.h              |     2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeexception.c           |     2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeexec.c                |     2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aehandlers.c            |    18 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeinitfile.c            |     2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeinstall.c             |     2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aemain.c                |    66 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeregion.c              |     2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aetables.c              |    18 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aetables.h              |     2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aetests.c               |     2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/acpihelp.h              |     4 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahaml.c                 |     2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahamlops.c              |     2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahasl.c                 |     2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahaslkey.c              |     2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahaslops.c              |     2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahdecode.c              |     4 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahgrammar.c             |     2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahmain.c                |     2 +-
 sys/external/bsd/acpica/dist/tools/acpinames/acpinames.h            |     2 +-
 sys/external/bsd/acpica/dist/tools/acpinames/anmain.c               |    42 +-
 sys/external/bsd/acpica/dist/tools/acpinames/anstubs.c              |    45 +-
 sys/external/bsd/acpica/dist/tools/acpinames/antables.c             |     8 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/acpisrc.h                |    12 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/ascase.c                 |     2 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asconvrt.c               |    41 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asfile.c                 |     9 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asmain.c                 |     2 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asremove.c               |     2 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/astable.c                |    23 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asutils.c                |    11 +-
 sys/external/bsd/acpica/dist/tools/acpixtract/acpixtract.h          |     2 +-
 sys/external/bsd/acpica/dist/tools/acpixtract/axmain.c              |     2 +-
 sys/external/bsd/acpica/dist/tools/acpixtract/axutils.c             |     2 +-
 sys/external/bsd/acpica/dist/tools/efihello/efihello.c              |     2 +-
 sys/external/bsd/acpica/dist/tools/examples/examples.c              |     2 +-
 sys/external/bsd/acpica/dist/tools/examples/examples.h              |     2 +-
 sys/external/bsd/acpica/dist/tools/examples/exstubs.c               |     2 +-
 sys/external/bsd/acpica/dist/tools/examples/extables.c              |     2 +-
 sys/external/bsd/acpica/dist/utilities/utaddress.c                  |     2 +-
 sys/external/bsd/acpica/dist/utilities/utalloc.c                    |     2 +-
 sys/external/bsd/acpica/dist/utilities/utascii.c                    |     2 +-
 sys/external/bsd/acpica/dist/utilities/utbuffer.c                   |     2 +-
 sys/external/bsd/acpica/dist/utilities/utclib.c                     |     2 +-
 sys/external/bsd/acpica/dist/utilities/utcopy.c                     |     2 +-
 sys/external/bsd/acpica/dist/utilities/utdelete.c                   |    18 +-
 sys/external/bsd/acpica/dist/utilities/uterror.c                    |     2 +-
 sys/external/bsd/acpica/dist/utilities/utexcep.c                    |     2 +-
 sys/external/bsd/acpica/dist/utilities/uthex.c                      |     2 +-
 sys/external/bsd/acpica/dist/utilities/utids.c                      |     2 +-
 sys/external/bsd/acpica/dist/utilities/utinit.c                     |     2 +-
 sys/external/bsd/acpica/dist/utilities/utlock.c                     |     2 +-
 sys/external/bsd/acpica/dist/utilities/utmath.c                     |     2 +-
 sys/external/bsd/acpica/dist/utilities/utnonansi.c                  |    17 +-
 sys/external/bsd/acpica/dist/utilities/utownerid.c                  |     2 +-
 sys/external/bsd/acpica/dist/utilities/utpredef.c                   |     2 +-
 sys/external/bsd/acpica/dist/utilities/utresdecode.c                |     2 +-
 sys/external/bsd/acpica/dist/utilities/utresrc.c                    |     2 +-
 sys/external/bsd/acpica/dist/utilities/utstate.c                    |     2 +-
 sys/external/bsd/acpica/dist/utilities/utstring.c                   |     2 +-
 sys/external/bsd/acpica/dist/utilities/utstrsuppt.c                 |     2 +-
 sys/external/bsd/acpica/dist/utilities/utstrtoul64.c                |     2 +-
 sys/external/bsd/acpica/dist/utilities/utxface.c                    |     2 +-
 sys/external/bsd/acpica/dist/utilities/utxferror.c                  |     2 +-
 sys/external/bsd/acpica/dist/utilities/utxfinit.c                   |    50 +-
 sys/external/bsd/acpica/dist/utilities/utxfmutex.c                  |     2 +-
 324 files changed, 10837 insertions(+), 2879 deletions(-)

diffs (truncated from 19438 to 300 lines):

diff -r 4e9d0ff90c3e -r efd2bfbf7902 sys/external/bsd/acpica/dist/changes.txt
--- a/sys/external/bsd/acpica/dist/changes.txt  Sat Apr 07 13:57:12 2018 +0000
+++ b/sys/external/bsd/acpica/dist/changes.txt  Sat Apr 07 14:12:43 2018 +0000
@@ -1,4 +1,191 @@
 ----------------------------------------
+13 March 2018. Summary of changes for version 20180313:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Implemented various improvements to the GPE support:
+
+1) Dispatch all active GPEs at initialization time so that no GPEs are 
+lost.
+2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
+before devices are enumerated.
+3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
+IRQs are not lost.
+4) Add parallel GPE handling to eliminate the possibility of dispatching 
+the same GPE twice.
+5) Dispatch any pending GPEs after enabling for the first time.
+
+AcpiGetObjectInfo - removed support for the _STA method. This was causing 
+problems on some platforms.
+
+Added a new _OSI string, "Windows 2017.2".
+
+Cleaned up and simplified the module-level code support. These changes 
+are in preparation for the eventual removal of the legacy MLC support 
+(deferred execution), replaced by the new MLC architecture which executes 
+the MLC as a table is loaded (DSDT/SSDTs).
+
+Changed a compile-time option to a runtime option. Changes the option to 
+ignore ACPI table load-time package resolution errors into a runtime 
+option. Used only for platforms that generate many AE_NOT_FOUND errors 
+during boot. AcpiGbl_IgnorePackageResolutionErrors.
+
+Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
+ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
+compilation errors from unused variables (seen with some compilers).
+
+
+2) iASL Compiler/Disassembler and Tools:
+
+ASLTS: parallelized execution in order to achieve an (approximately) 2X 
+performance increase.
+
+ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
+error reporting.
+
+----------------------------------------
+09 February 2018. Summary of changes for version 20180209:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Completed the final integration of the recent changes to Package Object 
+handling and the module-level AML code support. This allows forward 
+references from individual package elements when the package object is 
+declared from within module-level code blocks. Provides compatibility 
+with other ACPI implementations.
+
+The new architecture for the AML module-level code has been completed and 
+is now the default for the ACPICA code. This new architecture executes 
+the module-level code in-line as the ACPI table is loaded/parsed instead 
+of the previous architecture which deferred this code until after the 
+table was fully loaded. This solves some ASL code ordering issues and 
+provides compatibility with other ACPI implementations. At this time, 
+there is an option to fallback to the earlier architecture, but this 
+support is deprecated and is planned to be completely removed later this 
+year.
+
+Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
+resolution of named reference elements within Package objects. Although 
+this is potentially a serious problem, it can generate a lot of 
+noise/errors on platforms whose firmware carries around a bunch of unused 
+Package objects. To disable these errors, define 
+ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
+errors are always reported for ACPICA applications such as AcpiExec.
+
+Fixed a regression related to the explicit type-conversion AML operators 
+(ToXXXX). The regression was introduced early in 2017 but was not seen 
+until recently because these operators are not fully supported by other 
+ACPI implementations and are thus rarely used by firmware developers. The 
+operators are defined by the ACPI specification to not implement the 
+"implicit result object conversion". The regression incorrectly 
+introduced this object conversion for the following explicit conversion 
+operators:
+    ToInteger
+    ToString
+    ToBuffer
+    ToDecimalString
+    ToHexString
+    ToBCD
+    FromBCD
+
+
+2) iASL Compiler/Disassembler and Tools:
+
+iASL: Fixed a problem with the compiler constant folding feature as 
+related to the ToXXXX explicit conversion operators. These operators do 
+not support the "implicit result object conversion" by definition. Thus, 
+ASL expressions that use these operators cannot be folded to a simple 
+Store operator because Store implements the implicit conversion. This 
+change uses the CopyObject operator for the ToXXXX operator folding 
+instead. CopyObject is defined to not implement implicit result 
+conversions and is thus appropriate for folding the ToXXXX operators.
+
+iASL: Changed the severity of an error condition to a simple warning for 
+the case where a symbol is declared both locally and as an external 
+symbol. This accommodates existing ASL code.
+
+AcpiExec: The -ep option to enable the new architecture for module-level 
+code has been removed. It is replaced by the -dp option which instead has 
+the opposite effect: it disables the new architecture (the default) and 
+enables the legacy architecture. When the legacy code is removed in the 
+future, the -dp option will be removed also.
+
+----------------------------------------
+05 January 2018. Summary of changes for version 20180105:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Updated all copyrights to 2018. This affects all source code modules.
+
+Fixed a possible build error caused by an unresolved reference to the 
+AcpiUtSafeStrncpy function.
+
+Removed NULL pointer arithmetic in the various pointer manipulation 
+macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
+This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
+
+Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
+Mittal.
+
+
+2) iASL Compiler/Disassembler and Tools:
+
+ASLTS: Updated all copyrights to 2018.
+
+Tools: Updated all signon copyrights to 2018.
+
+AcpiXtract: Fixed a regression related to ACPI table signatures where the 
+signature was truncated to 3 characters (instead of 4).
+
+AcpiExec: Restore the original terminal mode after the use of the -v and 
+-vd options.
+
+ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
+
+----------------------------------------
+14 December 2017. Summary of changes for version 20171214:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
+interface where the optional "pathname" argument had inadvertently become 
+a required argument returning an error if omitted (NULL pointer 
+argument).
+
+Fixed two possible memory leaks related to the recently developed "late 
+resolution" of reference objects within ASL Package Object definitions.
+
+Added two recently defined _OSI strings: "Windows 2016" and "Windows 
+2017". Mario Limonciello.
+
+Implemented and deployed a safer version of the C library function 
+strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
+creation of unterminated strings as a possible result of a standard 
+strncpy.
+
+Cleaned up and restructured the global variable file (acglobal.h). There 
+are many changes, but no functional changes.
+
+
+2) iASL Compiler/Disassembler and Tools:
+
+iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
+optional OemData field at the end of the table was incorrectly required 
+for proper compilation. It is now correctly an optional field.
+
+ASLTS: The entire suite was converted from standard ASL to the ASL+ 
+language, using the ASL-to-ASL+ converter which is integrated into the 
+iASL compiler. A binary compare of all output files has verified the 
+correctness of the conversion.
+
+iASL: Fixed the source code build for platforms where "char" is unsigned. 
+This affected the iASL lexer only. Jung-uk Kim.
+
+----------------------------------------
 10 November 2017. Summary of changes for version 20171110:
 
 
diff -r 4e9d0ff90c3e -r efd2bfbf7902 sys/external/bsd/acpica/dist/common/acfileio.c
--- a/sys/external/bsd/acpica/dist/common/acfileio.c    Sat Apr 07 13:57:12 2018 +0000
+++ b/sys/external/bsd/acpica/dist/common/acfileio.c    Sat Apr 07 14:12:43 2018 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2017, Intel Corp.
+ * Copyright (C) 2000 - 2018, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff -r 4e9d0ff90c3e -r efd2bfbf7902 sys/external/bsd/acpica/dist/common/acgetline.c
--- a/sys/external/bsd/acpica/dist/common/acgetline.c   Sat Apr 07 13:57:12 2018 +0000
+++ b/sys/external/bsd/acpica/dist/common/acgetline.c   Sat Apr 07 14:12:43 2018 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2017, Intel Corp.
+ * Copyright (C) 2000 - 2018, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff -r 4e9d0ff90c3e -r efd2bfbf7902 sys/external/bsd/acpica/dist/common/adfile.c
--- a/sys/external/bsd/acpica/dist/common/adfile.c      Sat Apr 07 13:57:12 2018 +0000
+++ b/sys/external/bsd/acpica/dist/common/adfile.c      Sat Apr 07 14:12:43 2018 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2017, Intel Corp.
+ * Copyright (C) 2000 - 2018, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff -r 4e9d0ff90c3e -r efd2bfbf7902 sys/external/bsd/acpica/dist/common/adisasm.c
--- a/sys/external/bsd/acpica/dist/common/adisasm.c     Sat Apr 07 13:57:12 2018 +0000
+++ b/sys/external/bsd/acpica/dist/common/adisasm.c     Sat Apr 07 14:12:43 2018 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2017, Intel Corp.
+ * Copyright (C) 2000 - 2018, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -349,9 +349,9 @@
      * (.xxx) file produced from the converter in case if
      * it fails to get deleted.
      */
-    if (Gbl_CaptureComments)
+    if (AcpiGbl_CaptureComments)
     {
-        strncpy (Table->Signature, AcpiGbl_TableSig, 4);
+        strncpy (Table->Signature, AcpiGbl_TableSig, ACPI_NAME_SIZE);
     }
 #endif
 
diff -r 4e9d0ff90c3e -r efd2bfbf7902 sys/external/bsd/acpica/dist/common/adwalk.c
--- a/sys/external/bsd/acpica/dist/common/adwalk.c      Sat Apr 07 13:57:12 2018 +0000
+++ b/sys/external/bsd/acpica/dist/common/adwalk.c      Sat Apr 07 14:12:43 2018 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2017, Intel Corp.
+ * Copyright (C) 2000 - 2018, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff -r 4e9d0ff90c3e -r efd2bfbf7902 sys/external/bsd/acpica/dist/common/ahids.c
--- a/sys/external/bsd/acpica/dist/common/ahids.c       Sat Apr 07 13:57:12 2018 +0000
+++ b/sys/external/bsd/acpica/dist/common/ahids.c       Sat Apr 07 14:12:43 2018 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2017, Intel Corp.
+ * Copyright (C) 2000 - 2018, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff -r 4e9d0ff90c3e -r efd2bfbf7902 sys/external/bsd/acpica/dist/common/ahpredef.c
--- a/sys/external/bsd/acpica/dist/common/ahpredef.c    Sat Apr 07 13:57:12 2018 +0000
+++ b/sys/external/bsd/acpica/dist/common/ahpredef.c    Sat Apr 07 14:12:43 2018 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2017, Intel Corp.
+ * Copyright (C) 2000 - 2018, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff -r 4e9d0ff90c3e -r efd2bfbf7902 sys/external/bsd/acpica/dist/common/ahtable.c
--- a/sys/external/bsd/acpica/dist/common/ahtable.c     Sat Apr 07 13:57:12 2018 +0000
+++ b/sys/external/bsd/acpica/dist/common/ahtable.c     Sat Apr 07 14:12:43 2018 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2017, Intel Corp.
+ * Copyright (C) 2000 - 2018, Intel Corp.




Home | Main Index | Thread Index | Old Index