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/2af51ca8ad5d
branches:  trunk
changeset: 356286:2af51ca8ad5d
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 15 16:50:43 2017 +0000

description:
----------------------------------------
31 August 2017. Summary of changes for version 20170831:


1) ACPICA kernel-resident subsystem:

Implemented internal support for full 64-bit addresses that appear in all
Generic Address Structure (GAS) structures. Previously, only the lower 32
bits were used. Affects the use of GAS structures in the FADT and other
tables, as well as the GAS structures passed to the AcpiRead and
AcpiWrite public external interfaces that are used by drivers. Lv Zheng.

Added header support for the PDTT ACPI table (Processor Debug Trigger
Table). Full support in the iASL Data Table Compiler and disassembler is
forthcoming.


2) iASL Compiler/Disassembler and Tools:

iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor
Properties Topology Table) where a flag bit was specified in the wrong
bit position ("Line Size Valid", bit 6).

iASL: Implemented support for Octal integer constants as defined by the
ASL language grammar, per the ACPI specification. Any integer constant
that starts with a zero is an octal constant. For example,
    Store (037777, Local0) /* Octal constant */
    Store (0x3FFF, Local0) /* Hex equivalent */
    Store (16383,  Local0) /* Decimal equivalent */

iASL: Improved overflow detection for 64-bit string conversions during
compilation of integer constants. "Overflow" in this case means a string
that represents an integer that is too large to fit into a 64-bit value.
Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to
the low-order 32 bits with a warning, as previously implemented. Several
new exceptions are defined that indicate a 64-bit overflow, as well as
the base (radix) that was used during the attempted conversion. Examples:
    Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
    Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
    Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW

iASL: Added a warning for the case where a ResourceTemplate is declared
with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In
this case, the resulting template is created with a single END_TAG
descriptor, which is essentially useless.

iASL: Expanded the -vw option (ignore specific warnings/remarks) to
include compilation error codes as well.

----------------------------------------
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@localhost>


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@localhost>

Unix/Linux makefiles: Added an option to disable compile optimizations.
The disable occurs when the NOOPT flag is set to TRUE.
theracermaster%gmail.com@localhost

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@localhost>

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@localhost>

Added an option to use designated initializers for function pointers.
Kees Cook <keescook%google.com@localhost>


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@localhost>

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.

diffstat:

 sys/external/bsd/acpica/dist/changes.txt                           |  331 +++
 sys/external/bsd/acpica/dist/common/acfileio.c                     |   32 +-
 sys/external/bsd/acpica/dist/common/adfile.c                       |   10 -
 sys/external/bsd/acpica/dist/common/adisasm.c                      |   14 +-
 sys/external/bsd/acpica/dist/common/adwalk.c                       |  115 +-
 sys/external/bsd/acpica/dist/common/ahids.c                        |    1 +
 sys/external/bsd/acpica/dist/common/ahpredef.c                     |   15 +
 sys/external/bsd/acpica/dist/common/ahtable.c                      |    4 +
 sys/external/bsd/acpica/dist/common/ahuuids.c                      |    4 +
 sys/external/bsd/acpica/dist/common/dmextern.c                     |  538 ++++-
 sys/external/bsd/acpica/dist/common/dmrestag.c                     |   36 +-
 sys/external/bsd/acpica/dist/common/dmswitch.c                     |  571 ++++++
 sys/external/bsd/acpica/dist/common/dmtable.c                      |   80 +
 sys/external/bsd/acpica/dist/compiler/aslascii.c                   |    5 +-
 sys/external/bsd/acpica/dist/compiler/aslbtypes.c                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslcodegen.c                 |    4 +-
 sys/external/bsd/acpica/dist/compiler/aslcstyle.y                  |  158 +-
 sys/external/bsd/acpica/dist/compiler/asldebug.c                   |   87 +-
 sys/external/bsd/acpica/dist/compiler/asldefine.h                  |    6 +-
 sys/external/bsd/acpica/dist/compiler/aslexternal.c                |   23 +-
 sys/external/bsd/acpica/dist/compiler/aslfold.c                    |   40 +-
 sys/external/bsd/acpica/dist/compiler/aslglobal.h                  |   38 +-
 sys/external/bsd/acpica/dist/compiler/aslhelp.c                    |   16 +-
 sys/external/bsd/acpica/dist/compiler/aslhelpers.y                 |   45 +-
 sys/external/bsd/acpica/dist/compiler/aslkeywords.y                |  348 +-
 sys/external/bsd/acpica/dist/compiler/asllength.c                  |    6 +-
 sys/external/bsd/acpica/dist/compiler/asllisting.c                 |   10 +-
 sys/external/bsd/acpica/dist/compiler/aslmain.c                    |   49 +-
 sys/external/bsd/acpica/dist/compiler/aslmap.c                     |   47 +-
 sys/external/bsd/acpica/dist/compiler/aslmapoutput.c               |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslmessages.c                |    6 +-
 sys/external/bsd/acpica/dist/compiler/aslmessages.h                |    2 +
 sys/external/bsd/acpica/dist/compiler/aslmethod.c                  |   30 +-
 sys/external/bsd/acpica/dist/compiler/asloffset.c                  |    5 +-
 sys/external/bsd/acpica/dist/compiler/aslparseop.c                 |  845 +++++++++
 sys/external/bsd/acpica/dist/compiler/aslparser.y                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslpld.c                     |    6 +-
 sys/external/bsd/acpica/dist/compiler/aslprimaries.y               |  548 ++--
 sys/external/bsd/acpica/dist/compiler/aslprintf.c                  |   14 +-
 sys/external/bsd/acpica/dist/compiler/aslresource.c                |   49 +-
 sys/external/bsd/acpica/dist/compiler/aslresources.y               |  252 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2s.c               |  919 +++++++++-
 sys/external/bsd/acpica/dist/compiler/aslrules.y                   |  232 +-
 sys/external/bsd/acpica/dist/compiler/aslstartup.c                 |   13 +-
 sys/external/bsd/acpica/dist/compiler/aslsupport.y                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/asltokens.y                  |    6 +
 sys/external/bsd/acpica/dist/compiler/asltransform.c               |   84 +-
 sys/external/bsd/acpica/dist/compiler/asltypes.h                   |   53 +-
 sys/external/bsd/acpica/dist/compiler/asltypes.y                   |    6 +
 sys/external/bsd/acpica/dist/compiler/cvcompiler.c                 |  203 +-
 sys/external/bsd/acpica/dist/compiler/cvdisasm.c                   |   62 +-
 sys/external/bsd/acpica/dist/compiler/cvparser.c                   |  183 +-
 sys/external/bsd/acpica/dist/compiler/dtcompiler.h                 |   16 +
 sys/external/bsd/acpica/dist/compiler/dttable1.c                   |  228 ++
 sys/external/bsd/acpica/dist/compiler/dttable2.c                   |  134 +
 sys/external/bsd/acpica/dist/compiler/dttemplate.h                 |  184 +-
 sys/external/bsd/acpica/dist/compiler/prmacros.c                   |    2 +-
 sys/external/bsd/acpica/dist/debugger/dbconvert.c                  |    4 +-
 sys/external/bsd/acpica/dist/debugger/dbobject.c                   |    6 +-
 sys/external/bsd/acpica/dist/debugger/dbxface.c                    |    2 +-
 sys/external/bsd/acpica/dist/disassembler/dmdeferred.c             |    6 +-
 sys/external/bsd/acpica/dist/disassembler/dmopcode.c               |  443 +----
 sys/external/bsd/acpica/dist/dispatcher/dsargs.c                   |    5 +-
 sys/external/bsd/acpica/dist/dispatcher/dsdebug.c                  |    1 +
 sys/external/bsd/acpica/dist/dispatcher/dsfield.c                  |    4 +
 sys/external/bsd/acpica/dist/dispatcher/dsmethod.c                 |   14 +-
 sys/external/bsd/acpica/dist/dispatcher/dsobject.c                 |  392 +---
 sys/external/bsd/acpica/dist/dispatcher/dspkginit.c                |  527 +++++
 sys/external/bsd/acpica/dist/dispatcher/dswexec.c                  |    5 +-
 sys/external/bsd/acpica/dist/dispatcher/dswload.c                  |   38 +-
 sys/external/bsd/acpica/dist/dispatcher/dswload2.c                 |   18 +
 sys/external/bsd/acpica/dist/events/evgpe.c                        |    6 +-
 sys/external/bsd/acpica/dist/events/evxfevnt.c                     |   21 +
 sys/external/bsd/acpica/dist/executer/exconcat.c                   |    2 +-
 sys/external/bsd/acpica/dist/executer/exconvrt.c                   |   26 +-
 sys/external/bsd/acpica/dist/executer/excreate.c                   |   65 +-
 sys/external/bsd/acpica/dist/executer/exmisc.c                     |   11 +-
 sys/external/bsd/acpica/dist/executer/exoparg1.c                   |   26 +-
 sys/external/bsd/acpica/dist/executer/exoparg2.c                   |    2 +
 sys/external/bsd/acpica/dist/executer/exresolv.c                   |   24 +-
 sys/external/bsd/acpica/dist/executer/exresop.c                    |    2 +-
 sys/external/bsd/acpica/dist/generate/unix/Makefile.common         |   32 +-
 sys/external/bsd/acpica/dist/generate/unix/Makefile.config         |   12 +-
 sys/external/bsd/acpica/dist/generate/unix/Makefile.rules          |    8 +-
 sys/external/bsd/acpica/dist/generate/unix/acpidump/Makefile       |    1 +
 sys/external/bsd/acpica/dist/generate/unix/acpiexamples/Makefile   |    2 +
 sys/external/bsd/acpica/dist/generate/unix/acpiexec/Makefile       |    4 +
 sys/external/bsd/acpica/dist/generate/unix/acpinames/Makefile      |    1 +
 sys/external/bsd/acpica/dist/generate/unix/iasl/Makefile           |   50 +-
 sys/external/bsd/acpica/dist/hardware/hwgpe.c                      |    4 +-
 sys/external/bsd/acpica/dist/hardware/hwtimer.c                    |   10 +-
 sys/external/bsd/acpica/dist/hardware/hwxface.c                    |  130 +-
 sys/external/bsd/acpica/dist/include/acdispat.h                    |   17 +
 sys/external/bsd/acpica/dist/include/achware.h                     |    4 +-
 sys/external/bsd/acpica/dist/include/acnames.h                     |    1 +
 sys/external/bsd/acpica/dist/include/acobject.h                    |   14 +-
 sys/external/bsd/acpica/dist/include/acopcode.h                    |    2 +-
 sys/external/bsd/acpica/dist/include/acpi.h                        |    4 +-
 sys/external/bsd/acpica/dist/include/acpredef.h                    |   14 +
 sys/external/bsd/acpica/dist/include/acrestyp.h                    |  103 +-
 sys/external/bsd/acpica/dist/include/actbl.h                       |   15 +
 sys/external/bsd/acpica/dist/include/actbl2.h                      |  100 +-
 sys/external/bsd/acpica/dist/include/actbl3.h                      |   91 +-
 sys/external/bsd/acpica/dist/include/acuuid.h                      |    5 +
 sys/external/bsd/acpica/dist/include/amlcode.h                     |   61 +-
 sys/external/bsd/acpica/dist/include/amlresrc.h                    |  118 +
 sys/external/bsd/acpica/dist/include/platform/accygwin.h           |    1 +
 sys/external/bsd/acpica/dist/include/platform/acdragonfly.h        |    1 +
 sys/external/bsd/acpica/dist/include/platform/acefi.h              |   70 +-
 sys/external/bsd/acpica/dist/include/platform/acefiex.h            |  103 +-
 sys/external/bsd/acpica/dist/include/platform/acenv.h              |    5 +
 sys/external/bsd/acpica/dist/include/platform/acfreebsd.h          |    1 +
 sys/external/bsd/acpica/dist/include/platform/achaiku.h            |    1 +
 sys/external/bsd/acpica/dist/include/platform/acintel.h            |    2 +
 sys/external/bsd/acpica/dist/include/platform/aclinux.h            |    7 +
 sys/external/bsd/acpica/dist/include/platform/acmsvc.h             |   84 +-
 sys/external/bsd/acpica/dist/include/platform/acos2.h              |    1 +
 sys/external/bsd/acpica/dist/include/platform/acqnx.h              |    1 +
 sys/external/bsd/acpica/dist/include/platform/acwin.h              |   26 +
 sys/external/bsd/acpica/dist/include/platform/acwin64.h            |   24 +
 sys/external/bsd/acpica/dist/namespace/nsarguments.c               |   22 +-
 sys/external/bsd/acpica/dist/namespace/nsconvert.c                 |    3 +-
 sys/external/bsd/acpica/dist/namespace/nsnames.c                   |   13 +-
 sys/external/bsd/acpica/dist/namespace/nsprepkg.c                  |    2 +
 sys/external/bsd/acpica/dist/namespace/nsutils.c                   |    2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osunixxf.c |   12 +-
 sys/external/bsd/acpica/dist/parser/psloop.c                       |   10 +
 sys/external/bsd/acpica/dist/parser/psobject.c                     |   40 +
 sys/external/bsd/acpica/dist/parser/psparse.c                      |   14 +-
 sys/external/bsd/acpica/dist/resources/rscalc.c                    |  112 +
 sys/external/bsd/acpica/dist/resources/rsinfo.c                    |   28 +-
 sys/external/bsd/acpica/dist/resources/rsmisc.c                    |    5 +-
 sys/external/bsd/acpica/dist/resources/rsserial.c                  |  347 +++
 sys/external/bsd/acpica/dist/tests/misc/converterSample.asl        |   84 +
 sys/external/bsd/acpica/dist/tests/misc/grammar.asl                |    2 +-
 sys/external/bsd/acpica/dist/tools/acpidump/apdump.c               |    3 +-
 sys/external/bsd/acpica/dist/tools/acpidump/apmain.c               |    8 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aecommon.h             |   12 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeexception.c          |  328 +++
 sys/external/bsd/acpica/dist/tools/acpiexec/aehandlers.c           |  214 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeinitfile.c           |    3 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aemain.c               |   10 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aetables.c             |    8 +
 sys/external/bsd/acpica/dist/tools/acpihelp/ahaslkey.c             |    1 +
 sys/external/bsd/acpica/dist/tools/acpinames/anmain.c              |    1 +
 sys/external/bsd/acpica/dist/tools/acpisrc/acpisrc.h               |    1 +
 sys/external/bsd/acpica/dist/tools/acpisrc/asfile.c                |   67 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asmain.c                |   24 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asremove.c              |  102 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/astable.c               |   37 +-
 sys/external/bsd/acpica/dist/tools/efihello/efihello.c             |    2 +-
 sys/external/bsd/acpica/dist/utilities/utclib.c                    |    2 +-
 sys/external/bsd/acpica/dist/utilities/uthex.c                     |    4 +-
 sys/external/bsd/acpica/dist/utilities/utmath.c                    |  261 ++-
 sys/external/bsd/acpica/dist/utilities/utownerid.c                 |   12 +-
 sys/external/bsd/acpica/dist/utilities/utresdecode.c               |  353 +++
 sys/external/bsd/acpica/dist/utilities/utresrc.c                   |  323 +---
 sys/external/bsd/acpica/dist/utilities/utstate.c                   |    2 +-
 sys/external/bsd/acpica/dist/utilities/utstrsuppt.c                |  505 +++++
 sys/external/bsd/acpica/dist/utilities/utstrtoul64.c               |  492 ++--
 sys/external/bsd/acpica/dist/utilities/utxfmutex.c                 |    4 +
 161 files changed, 9769 insertions(+), 3209 deletions(-)

diffs (truncated from 20417 to 300 lines):

diff -r 6f4c693b98bf -r 2af51ca8ad5d sys/external/bsd/acpica/dist/changes.txt
--- a/sys/external/bsd/acpica/dist/changes.txt  Fri Sep 15 14:25:24 2017 +0000
+++ b/sys/external/bsd/acpica/dist/changes.txt  Fri Sep 15 16:50:43 2017 +0000
@@ -1,4 +1,335 @@
 ----------------------------------------
+31 August 2017. Summary of changes for version 20170831:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Implemented internal support for full 64-bit addresses that appear in all 
+Generic Address Structure (GAS) structures. Previously, only the lower 32 
+bits were used. Affects the use of GAS structures in the FADT and other 
+tables, as well as the GAS structures passed to the AcpiRead and 
+AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
+
+Added header support for the PDTT ACPI table (Processor Debug Trigger 
+Table). Full support in the iASL Data Table Compiler and disassembler is 
+forthcoming.
+
+
+2) iASL Compiler/Disassembler and Tools:
+
+iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
+Properties Topology Table) where a flag bit was specified in the wrong 
+bit position ("Line Size Valid", bit 6).
+
+iASL: Implemented support for Octal integer constants as defined by the 
+ASL language grammar, per the ACPI specification. Any integer constant 
+that starts with a zero is an octal constant. For example,
+    Store (037777, Local0) /* Octal constant */
+    Store (0x3FFF, Local0) /* Hex equivalent */
+    Store (16383,  Local0) /* Decimal equivalent */
+
+iASL: Improved overflow detection for 64-bit string conversions during 
+compilation of integer constants. "Overflow" in this case means a string 
+that represents an integer that is too large to fit into a 64-bit value. 
+Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
+the low-order 32 bits with a warning, as previously implemented. Several 
+new exceptions are defined that indicate a 64-bit overflow, as well as 
+the base (radix) that was used during the attempted conversion. Examples:
+    Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
+    Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
+    Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
+
+iASL: Added a warning for the case where a ResourceTemplate is declared 
+with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
+this case, the resulting template is created with a single END_TAG 
+descriptor, which is essentially useless.
+
+iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
+include compilation error codes as well.
+
+----------------------------------------
+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@localhost>
+
+
+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@localhost>
+
+Unix/Linux makefiles: Added an option to disable compile optimizations. 
+The disable occurs when the NOOPT flag is set to TRUE. 
+theracermaster%gmail.com@localhost
+
+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@localhost>
+
+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@localhost>
+
+Added an option to use designated initializers for function pointers. 
+Kees Cook <keescook%google.com@localhost>
+
+
+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@localhost>
+
+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




Home | Main Index | Thread Index | Old Index