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/ebbebae2d095
branches:  trunk
changeset: 337381:ebbebae2d095
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 13 17:21:01 2015 +0000

description:
----------------------------------------
10 April 2015. Summary of changes for version 20150410:

Reverted a change introduced in version 20150408 that caused
a regression in the disassembler where incorrect operator
symbols could be emitted.

----------------------------------------
08 April 2015. Summary of changes for version 20150408:


1) ACPICA kernel-resident subsystem:

Permanently set the return value for the _REV predefined name. It now
returns 2 (was 5). This matches other ACPI implementations. _REV will be
deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
for ACPI 2.0 and later. It should never be used to differentiate or
identify operating systems.

Added the "Windows 2015" string to the _OSI support. ACPICA will now
return TRUE to a query with this string.

Fixed several issues with the local version of the printf function.

Added the C99 compiler option (-std=c99) to the Unix makefiles.

  Current Release:
    Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
    Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
  Previous Release:
    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total


2) iASL Compiler/Disassembler and Tools:

iASL: Implemented an enhancement to the constant folding feature to
transform the parse tree to a simple Store operation whenever possible:
    Add (2, 3, X) ==> is converted to: Store (5, X)
    X = 2 + 3     ==> is converted to: Store (5, X)

Updated support for the SLIC table (Software Licensing Description Table)
in both the Data Table compiler and the disassembler. The SLIC table
support now conforms to "Microsoft Software Licensing Tables (SLIC and
MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
following the ACPI header is now defined to be "Proprietary Data", and as
such, can only be entered or displayed as a hex data block.

Implemented full support for the MSDM table as described in the document
above. Note: The format of MSDM is similar to SLIC. Any MSDM data
following the ACPI header is defined to be "Proprietary Data", and can
only be entered or displayed as a hex data block.

Implemented the -Pn option for the iASL Table Compiler (was only
implemented for the ASL compiler). This option disables the iASL
preprocessor.

Disassembler: For disassembly of Data Tables, added a comment field
around the Ascii equivalent data that is emitted as part of the "Raw
Table Data" block. This prevents the iASL Preprocessor from possible
confusion if/when the table is compiled.

Disassembler: Added an option (-df) to force the disassembler to assume
that the table being disassembled contains valid AML. This feature is
useful for disassembling AML files that contain ACPI signatures other
than DSDT or SSDT (such as OEMx or other signatures).

Changes for the EFI version of the tools:
1) Fixed a build error/issue
2) Fixed a cast warning

iASL: Fixed a path issue with the __FILE__ operator by making the
directory prefix optional within the internal SplitInputFilename
function.

Debugger: Removed some unused global variables.

Tests: Updated the makefile for proper generation of the AAPITS suite.

----------------------------------------
04 February 2015. Summary of changes for version 20150204:

ACPICA kernel-resident subsystem:

Updated all ACPICA copyrights and signons to 2014. Added the 2014
copyright to all module headers and signons, including the standard Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, all ACPICA utilities, and the test suites.

Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
A raw gpe handling mechanism was created to allow better handling of GPE
storms that aren't easily managed by the normal handler. The raw handler
allows disabling/renabling of the the GPE so that interrupt storms can be
avoided in cases where events cannot be timely serviced. In this
scenario, handlers should use the AcpiSetGpe() API to disable/enable the
GPE. This API will leave the reference counts undisturbed, thereby
preventing unintentional clearing of the GPE when the intent in only to
temporarily disable it. Raw handlers allow enabling and disabling of a
GPE by removing GPE register locking. As such, raw handlers much provide
their own locks while using GPE API's to protect access to GPE data
structures.
Lv Zheng

Events: Always modify GPE registers under the GPE lock.
Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
values. Reported as bug by joe.liu%apple.com@localhost.

Unix makefiles: Separate option to disable optimizations and
_FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
NOOPT disable option and creates a separate flag (NOFORTIFY) for this
purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
errors when building ACPICA. This allows disabling the option without
also having to disable optimazations.
David Box

  Current Release:
    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
    Debug Version:     199.2K Code, 82.4K Data, 281.6K Total

----------------------------------------
07 November 2014. Summary of changes for version 20141107:

This release is available at https://acpica.org/downloads

This release introduces and implements language extensions to ASL that
provide support for symbolic ("C-style") operators and expressions. These
language extensions are known collectively as ASL+.


1) iASL Compiler/Disassembler and Tools:

Disassembler: Fixed a problem with disassembly of the UartSerialBus
macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
Box.

Disassembler: Fixed the Unicode macro support to add escape sequences.
All non-printable ASCII values are emitted as escape sequences, as well
as the standard escapes for quote and backslash. Ensures that the
disassembled macro can be correctly recompiled.

iASL: Added Printf/Fprintf macros for formatted output. These macros are
translated to existing AML Concatenate and Store operations. Printf
writes to the ASL Debug object. Fprintf allows the specification of an
ASL name as the target. Only a single format specifier is required, %o,
since the AML interpreter dynamically converts objects to the required
type. David E. Box.

    (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
                 (Concatenate (Concatenate (Concatenate ("", Arg0),
                 ": Unexpected value for "), Arg1), ", "), Arg2),
                 " at line "), Arg3), Debug)

    (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
                 Arg0, Arg1, Arg2, Arg3)

    (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
                 ("", Arg1), ": "), Arg0), " Successful"), STR1)

    (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)

iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
ASL parse tree before the AML code is generated. This allows blocks of
ASL code to be removed in order to help locate and identify problem
devices and/or code. David E. Box.

AcpiExec: Added support (-fi) for an optional namespace object
initialization file. This file specifies initial values for namespace
objects as necessary for debugging and testing different ASL code paths
that may be taken as a result of BIOS options.


2) Overview of symbolic operator support for ASL (ASL+)
-------------------------------------------------------

As an extension to the ASL language, iASL implements support for symbolic
(C-style) operators for math and logical expressions. This can greatly
simplify ASL code as well as improve both readability and
maintainability. These language extensions can exist concurrently with
all legacy ASL code and expressions.

The symbolic extensions are 100% compatible with existing AML
interpreters, since no new AML opcodes are created. To implement the
extensions, the iASL compiler transforms the symbolic expressions into
the legacy ASL/AML equivalents at compile time.

Full symbolic expressions are supported, along with the standard C
precedence and associativity rules.

Full disassembler support for the symbolic expressions is provided, and
creates an automatic migration path for existing ASL code to ASL+ code
via the disassembly process. By default, the disassembler now emits ASL+
code with symbolic expressions. An option (-dl) is provided to force the
disassembler to emit legacy ASL code if desired.

Below is the complete list of the currently supported symbolic operators
with examples. See the iASL User Guide for additional information.


ASL+ Syntax      Legacy ASL Equivalent
-----------      ---------------------

    // Math operators

Z = X + Y        Add (X, Y, Z)
Z = X - Y        Subtract (X, Y, Z)
Z = X * Y        Multiply (X, Y, Z)
Z = X / Y        Divide (X, Y, , Z)
Z = X % Y        Mod (X, Y, Z)
Z = X << Y       ShiftLeft (X, Y, Z)
Z = X >> Y       ShiftRight (X, Y, Z)
Z = X & Y        And (X, Y, Z)
Z = X | Y        Or (X, Y, Z)
Z = X ^ Y        Xor (X, Y, Z)
Z = ~X           Not (X, Z)
X++              Increment (X)
X--              Decrement (X)

    // Logical operators

(X == Y)         LEqual (X, Y)
(X != Y)         LNotEqual (X, Y)
(X < Y)          LLess (X, Y)
(X > Y)          LGreater (X, Y)
(X <= Y)         LLessEqual (X, Y)
(X >= Y)         LGreaterEqual (X, Y)
(X && Y)         LAnd (X, Y)
(X || Y)         LOr (X, Y)
(!X)             LNot (X)

    // Assignment and compound assignment operations

X = Y           Store (Y, X)
X += Y          Add (X, Y, X)
X -= Y          Subtract (X, Y, X)
X *= Y          Multiply (X, Y, X)
X /= Y          Divide (X, Y, , X)
X %= Y          Mod (X, Y, X)
X <<= Y         ShiftLeft (X, Y, X)
X >>= Y         ShiftRight (X, Y, X)
X &= Y          And (X, Y, X)
X |= Y          Or (X, Y, X)
X ^= Y          Xor (X, Y, X)


3) ASL+ Examples:
-----------------

Legacy ASL:
        If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
            And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
0x03FB),
            0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
        {
            And (MEMB, 0xFFFFFFF0, SRMB)
            Store (MEMB, Local2)
            Store (PDBM, Local1)
            And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
            Store (SRMB, MEMB)
            Or (PDBM, 0x02, PDBM)
        }

ASL+ version:
        If (((R510 & 0x03FB) == 0x02E0) ||
            ((R520 & 0x03FB) == 0x02E0) ||
            ((R530 & 0x03FB) == 0x02E0) ||
            ((R540 & 0x03FB) == 0x02E0))
        {
            SRMB = (MEMB & 0xFFFFFFF0)
            Local2 = MEMB
            Local1 = PDBM
            PDBM &= 0xFFFFFFFFFFFFFFF9
            MEMB = SRMB
            PDBM |= 0x02
        }

Legacy ASL:
        Store (0x1234, Local1)
        Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
        Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
        Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
        Store (Index (PKG1, 0x03), Local6)
        Store (Add (Local3, Local2), Debug)
        Add (Local1, 0x0F, Local2)
        Add (Local1, Multiply (Local2, Local3), Local2)
        Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)

ASL+ version:
        Local1 = 0x1234
        Local3 = (((Local1 + TEST) + 0x20) * Local2)
        Local3 = (Local2 * ((Local1 + TEST) + 0x20))
        Local3 = (Local1 + (TEST + (0x20 * Local2)))
        Local6 = Index (PKG1, 0x03)
        Debug = (Local3 + Local2)
        Local2 = (Local1 + 0x0F)
        Local2 = (Local1 + (Local2 * Local3))
        Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))

diffstat:

 sys/external/bsd/acpica/dist/changes.txt                            |  298 +++
 sys/external/bsd/acpica/dist/common/acgetline.c                     |    2 +-
 sys/external/bsd/acpica/dist/common/adfile.c                        |   12 +-
 sys/external/bsd/acpica/dist/common/adisasm.c                       |  124 +-
 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/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/dmtable.c                       |  140 +-
 sys/external/bsd/acpica/dist/common/dmtbdump.c                      |  102 +-
 sys/external/bsd/acpica/dist/common/getopt.c                        |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslascii.c                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslbtypes.c                   |    8 +-
 sys/external/bsd/acpica/dist/compiler/aslcodegen.c                  |   31 +-
 sys/external/bsd/acpica/dist/compiler/aslcompiler.h                 |   41 +-
 sys/external/bsd/acpica/dist/compiler/asldefine.h                   |    7 +-
 sys/external/bsd/acpica/dist/compiler/aslfold.c                     |  862 +++++---
 sys/external/bsd/acpica/dist/compiler/aslglobal.h                   |    6 +-
 sys/external/bsd/acpica/dist/compiler/aslhex.c                      |    2 +-
 sys/external/bsd/acpica/dist/compiler/asllength.c                   |    2 +-
 sys/external/bsd/acpica/dist/compiler/asllisting.c                  |    7 +-
 sys/external/bsd/acpica/dist/compiler/asllistsup.c                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslmain.c                     |    9 +-
 sys/external/bsd/acpica/dist/compiler/aslmap.c                      |   37 +-
 sys/external/bsd/acpica/dist/compiler/aslmapenter.c                 |   12 +-
 sys/external/bsd/acpica/dist/compiler/aslmapoutput.c                |   27 +-
 sys/external/bsd/acpica/dist/compiler/aslmaputils.c                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslmessages.c                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslmessages.h                 |    2 +-
 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/aslopcodes.c                  |  768 ++++++++-
 sys/external/bsd/acpica/dist/compiler/asloperands.c                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslopt.c                      |    2 +-
 sys/external/bsd/acpica/dist/compiler/asloptions.c                  |   46 +-
 sys/external/bsd/acpica/dist/compiler/aslparser.y                   |    5 +-
 sys/external/bsd/acpica/dist/compiler/aslprintf.c                   |  380 ++++
 sys/external/bsd/acpica/dist/compiler/aslprune.c                    |  239 ++
 sys/external/bsd/acpica/dist/compiler/aslresource.c                 |    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                    |  252 ++-
 sys/external/bsd/acpica/dist/compiler/aslstartup.c                  |    5 +-
 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                   |   84 +-
 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                    |   16 +-
 sys/external/bsd/acpica/dist/compiler/asluuid.c                     |    2 +-
 sys/external/bsd/acpica/dist/compiler/dtcompiler.h                  |   22 +-
 sys/external/bsd/acpica/dist/compiler/dtexpress.c                   |    4 +-
 sys/external/bsd/acpica/dist/compiler/dtio.c                        |   10 +-
 sys/external/bsd/acpica/dist/compiler/dtparser.l                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/dttemplate.c                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/dttemplate.h                  |   19 +-
 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                      |    2 +-
 sys/external/bsd/acpica/dist/debugger/dbconvert.c                   |   58 +-
 sys/external/bsd/acpica/dist/debugger/dbfileio.c                    |    2 +-
 sys/external/bsd/acpica/dist/debugger/dbhistry.c                    |    2 +-
 sys/external/bsd/acpica/dist/debugger/dbstats.c                     |    2 +-
 sys/external/bsd/acpica/dist/debugger/dbxface.c                     |   15 +-
 sys/external/bsd/acpica/dist/disassembler/dmbuffer.c                |  205 +-
 sys/external/bsd/acpica/dist/disassembler/dmcstyle.c                |  773 ++++++++
 sys/external/bsd/acpica/dist/disassembler/dmdeferred.c              |    2 +-
 sys/external/bsd/acpica/dist/disassembler/dmnames.c                 |    2 +-
 sys/external/bsd/acpica/dist/disassembler/dmobject.c                |    2 +-
 sys/external/bsd/acpica/dist/disassembler/dmopcode.c                |   52 +-
 sys/external/bsd/acpica/dist/disassembler/dmresrcs.c                |    2 +-
 sys/external/bsd/acpica/dist/disassembler/dmutils.c                 |   17 +-
 sys/external/bsd/acpica/dist/disassembler/dmwalk.c                  |   54 +-
 sys/external/bsd/acpica/dist/dispatcher/dsargs.c                    |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dsfield.c                   |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dsinit.c                    |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dsmethod.c                  |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dsmthdat.c                  |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dsobject.c                  |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dsutils.c                   |   13 +-
 sys/external/bsd/acpica/dist/dispatcher/dswexec.c                   |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dswload.c                   |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dswload2.c                  |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dswscope.c                  |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dswstate.c                  |    4 +-
 sys/external/bsd/acpica/dist/events/evevent.c                       |    2 +-
 sys/external/bsd/acpica/dist/events/evglock.c                       |    2 +-
 sys/external/bsd/acpica/dist/events/evgpe.c                         |  158 +-
 sys/external/bsd/acpica/dist/events/evgpeblk.c                      |    7 +-
 sys/external/bsd/acpica/dist/events/evgpeinit.c                     |   10 +-
 sys/external/bsd/acpica/dist/events/evgpeutil.c                     |   64 +-
 sys/external/bsd/acpica/dist/events/evhandler.c                     |    4 +-
 sys/external/bsd/acpica/dist/events/evmisc.c                        |    2 +-
 sys/external/bsd/acpica/dist/events/evregion.c                      |    6 +-
 sys/external/bsd/acpica/dist/events/evsci.c                         |    2 +-
 sys/external/bsd/acpica/dist/events/evxfevnt.c                      |    8 +-
 sys/external/bsd/acpica/dist/events/evxfgpe.c                       |   68 +-
 sys/external/bsd/acpica/dist/events/evxfregn.c                      |    3 +-
 sys/external/bsd/acpica/dist/executer/exconvrt.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/excreate.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exfield.c                     |    4 +-
 sys/external/bsd/acpica/dist/executer/exfldio.c                     |    8 +-
 sys/external/bsd/acpica/dist/executer/exmisc.c                      |    4 +-
 sys/external/bsd/acpica/dist/executer/exmutex.c                     |    4 +-
 sys/external/bsd/acpica/dist/executer/exnames.c                     |    4 +-
 sys/external/bsd/acpica/dist/executer/exoparg1.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exoparg2.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exoparg3.c                    |   17 +-
 sys/external/bsd/acpica/dist/executer/exoparg6.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exprep.c                      |    4 +-
 sys/external/bsd/acpica/dist/executer/exregion.c                    |   17 +-
 sys/external/bsd/acpica/dist/executer/exresnte.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exresolv.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exresop.c                     |    4 +-
 sys/external/bsd/acpica/dist/executer/exstore.c                     |    4 +-
 sys/external/bsd/acpica/dist/executer/exstoren.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exstorob.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exsystem.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exutils.c                     |    4 +-
 sys/external/bsd/acpica/dist/generate/unix/Makefile.config          |   17 +-
 sys/external/bsd/acpica/dist/generate/unix/acpidump/Makefile        |   10 +-
 sys/external/bsd/acpica/dist/generate/unix/acpiexec/Makefile        |    2 +
 sys/external/bsd/acpica/dist/generate/unix/iasl/Makefile            |   19 +-
 sys/external/bsd/acpica/dist/hardware/hwacpi.c                      |    4 +-
 sys/external/bsd/acpica/dist/hardware/hwgpe.c                       |   91 +-
 sys/external/bsd/acpica/dist/hardware/hwpci.c                       |    4 +-
 sys/external/bsd/acpica/dist/hardware/hwregs.c                      |    4 +-
 sys/external/bsd/acpica/dist/hardware/hwtimer.c                     |    2 +-
 sys/external/bsd/acpica/dist/hardware/hwvalid.c                     |   16 +-
 sys/external/bsd/acpica/dist/hardware/hwxface.c                     |    2 +-
 sys/external/bsd/acpica/dist/include/acbuffer.h                     |   16 +-
 sys/external/bsd/acpica/dist/include/accommon.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/acconfig.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/acdispat.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/acevents.h                     |    6 +-
 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                     |    4 +-
 sys/external/bsd/acpica/dist/include/acoutput.h                     |    2 +-
 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                     |   56 +-
 sys/external/bsd/acpica/dist/include/acstruct.h                     |    7 +-
 sys/external/bsd/acpica/dist/include/actbl.h                        |    2 +-
 sys/external/bsd/acpica/dist/include/actbl2.h                       |   85 +-
 sys/external/bsd/acpica/dist/include/actbl3.h                       |    2 +-
 sys/external/bsd/acpica/dist/include/amlcode.h                      |    4 +-
 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         |  130 +
 sys/external/bsd/acpica/dist/include/platform/acdragonflyex.h       |   84 +
 sys/external/bsd/acpica/dist/include/platform/acefi.h               |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acenv.h               |    3 +-
 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/acgcc.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             |    2 +-
 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/acos2.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                    |    4 +-
 sys/external/bsd/acpica/dist/namespace/nsarguments.c                |    2 +-
 sys/external/bsd/acpica/dist/namespace/nsconvert.c                  |    4 +-
 sys/external/bsd/acpica/dist/namespace/nsdumpdv.c                   |    4 +-
 sys/external/bsd/acpica/dist/namespace/nsload.c                     |    4 +-
 sys/external/bsd/acpica/dist/namespace/nsnames.c                    |    4 +-
 sys/external/bsd/acpica/dist/namespace/nsobject.c                   |    4 +-
 sys/external/bsd/acpica/dist/namespace/nsparse.c                    |    4 +-
 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                   |    4 +-
 sys/external/bsd/acpica/dist/namespace/nssearch.c                   |    4 +-
 sys/external/bsd/acpica/dist/namespace/nsutils.c                    |    4 +-
 sys/external/bsd/acpica/dist/namespace/nswalk.c                     |    4 +-
 sys/external/bsd/acpica/dist/namespace/nsxfobj.c                    |    3 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osbsdtbl.c  |  907 ++++++++++
 sys/external/bsd/acpica/dist/os_specific/service_layers/osefitbl.c  |    2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osefixf.c   |   13 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/oslibcfs.c  |    2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osunixdir.c |    2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osunixmap.c |    4 +-
 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                        |    4 +-
 sys/external/bsd/acpica/dist/parser/psloop.c                        |    2 +-
 sys/external/bsd/acpica/dist/parser/psobject.c                      |    2 +-
 sys/external/bsd/acpica/dist/parser/psparse.c                       |    2 +-
 sys/external/bsd/acpica/dist/parser/psscope.c                       |    2 +-
 sys/external/bsd/acpica/dist/parser/pstree.c                        |    4 +-
 sys/external/bsd/acpica/dist/parser/psutils.c                       |    2 +-
 sys/external/bsd/acpica/dist/parser/pswalk.c                        |    2 +-
 sys/external/bsd/acpica/dist/parser/psxface.c                       |    4 +-
 sys/external/bsd/acpica/dist/resources/rsaddr.c                     |   12 +-
 sys/external/bsd/acpica/dist/resources/rscalc.c                     |    4 +-
 sys/external/bsd/acpica/dist/resources/rscreate.c                   |    4 +-
 sys/external/bsd/acpica/dist/resources/rsinfo.c                     |    4 +-
 sys/external/bsd/acpica/dist/resources/rsio.c                       |    4 +-
 sys/external/bsd/acpica/dist/resources/rsirq.c                      |    4 +-
 sys/external/bsd/acpica/dist/resources/rslist.c                     |    4 +-
 sys/external/bsd/acpica/dist/resources/rsmemory.c                   |    4 +-
 sys/external/bsd/acpica/dist/resources/rsmisc.c                     |    4 +-
 sys/external/bsd/acpica/dist/resources/rsserial.c                   |    4 +-
 sys/external/bsd/acpica/dist/tables/tbfind.c                        |    4 +-
 sys/external/bsd/acpica/dist/tables/tbprint.c                       |   22 +-
 sys/external/bsd/acpica/dist/tables/tbxfload.c                      |    3 +-
 sys/external/bsd/acpica/dist/tests/misc/grammar.asl                 |    2 +-
 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              |   13 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeexec.c                |    2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aehandlers.c            |    2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeinitfile.c            |  226 ++
 sys/external/bsd/acpica/dist/tools/acpiexec/aemain.c                |   52 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeregion.c              |   10 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aetables.c              |    8 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aetables.h              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/acpihelp.h              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahamlops.c              |   44 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahaslkey.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahaslops.c              |   42 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahdecode.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               |    2 +-
 sys/external/bsd/acpica/dist/tools/acpinames/anstubs.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpinames/antables.c             |    6 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/acpisrc.h                |    2 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/ascase.c                 |    2 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asconvrt.c               |    4 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asfile.c                 |    2 +-
 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                |   15 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asutils.c                |    2 +-
 sys/external/bsd/acpica/dist/tools/acpixtract/axmain.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/examples/examples.c              |    3 +-
 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              |    6 +-
 sys/external/bsd/acpica/dist/utilities/utaddress.c                  |   26 +-
 sys/external/bsd/acpica/dist/utilities/utalloc.c                    |    4 +-
 sys/external/bsd/acpica/dist/utilities/utbuffer.c                   |   13 +-
 sys/external/bsd/acpica/dist/utilities/utclib.c                     |   25 +-
 sys/external/bsd/acpica/dist/utilities/utcopy.c                     |    4 +-
 sys/external/bsd/acpica/dist/utilities/utdelete.c                   |    4 +-
 sys/external/bsd/acpica/dist/utilities/uterror.c                    |    4 +-
 sys/external/bsd/acpica/dist/utilities/utexcep.c                    |    3 +-
 sys/external/bsd/acpica/dist/utilities/utfileio.c                   |    2 +-
 sys/external/bsd/acpica/dist/utilities/uthex.c                      |    4 +-
 sys/external/bsd/acpica/dist/utilities/utids.c                      |    4 +-
 sys/external/bsd/acpica/dist/utilities/utinit.c                     |    4 +-
 sys/external/bsd/acpica/dist/utilities/utlock.c                     |    4 +-
 sys/external/bsd/acpica/dist/utilities/utmath.c                     |    4 +-
 sys/external/bsd/acpica/dist/utilities/utobject.c                   |    4 +-
 sys/external/bsd/acpica/dist/utilities/utownerid.c                  |    4 +-
 sys/external/bsd/acpica/dist/utilities/utpredef.c                   |    4 +-
 sys/external/bsd/acpica/dist/utilities/utprint.c                    |   15 +-
 sys/external/bsd/acpica/dist/utilities/utresrc.c                    |    6 +-
 sys/external/bsd/acpica/dist/utilities/utstate.c                    |   42 +-
 sys/external/bsd/acpica/dist/utilities/utstring.c                   |    4 +-
 sys/external/bsd/acpica/dist/utilities/utxface.c                    |    7 +-
 sys/external/bsd/acpica/dist/utilities/utxferror.c                  |    3 +-
 sys/external/bsd/acpica/dist/utilities/utxfinit.c                   |   16 +-
 sys/external/bsd/acpica/dist/utilities/utxfmutex.c                  |    4 +-
 289 files changed, 6166 insertions(+), 1593 deletions(-)

diffs (truncated from 13648 to 300 lines):

diff -r 7a9dbc1e79f0 -r ebbebae2d095 sys/external/bsd/acpica/dist/changes.txt
--- a/sys/external/bsd/acpica/dist/changes.txt  Mon Apr 13 17:15:39 2015 +0000
+++ b/sys/external/bsd/acpica/dist/changes.txt  Mon Apr 13 17:21:01 2015 +0000
@@ -1,4 +1,302 @@
 ----------------------------------------
+10 April 2015. Summary of changes for version 20150410:
+
+Reverted a change introduced in version 20150408 that caused
+a regression in the disassembler where incorrect operator
+symbols could be emitted.
+
+----------------------------------------
+08 April 2015. Summary of changes for version 20150408:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Permanently set the return value for the _REV predefined name. It now 
+returns 2 (was 5). This matches other ACPI implementations. _REV will be 
+deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
+for ACPI 2.0 and later. It should never be used to differentiate or 
+identify operating systems.
+
+Added the "Windows 2015" string to the _OSI support. ACPICA will now 
+return TRUE to a query with this string.
+
+Fixed several issues with the local version of the printf function.
+
+Added the C99 compiler option (-std=c99) to the Unix makefiles.
+
+  Current Release:
+    Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
+    Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
+  Previous Release:
+    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
+    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
+
+
+2) iASL Compiler/Disassembler and Tools:
+
+iASL: Implemented an enhancement to the constant folding feature to 
+transform the parse tree to a simple Store operation whenever possible:
+    Add (2, 3, X) ==> is converted to: Store (5, X)
+    X = 2 + 3     ==> is converted to: Store (5, X)
+
+Updated support for the SLIC table (Software Licensing Description Table) 
+in both the Data Table compiler and the disassembler. The SLIC table 
+support now conforms to "Microsoft Software Licensing Tables (SLIC and 
+MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
+following the ACPI header is now defined to be "Proprietary Data", and as 
+such, can only be entered or displayed as a hex data block.
+
+Implemented full support for the MSDM table as described in the document 
+above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
+following the ACPI header is defined to be "Proprietary Data", and can 
+only be entered or displayed as a hex data block.
+
+Implemented the -Pn option for the iASL Table Compiler (was only 
+implemented for the ASL compiler). This option disables the iASL 
+preprocessor.
+
+Disassembler: For disassembly of Data Tables, added a comment field 
+around the Ascii equivalent data that is emitted as part of the "Raw 
+Table Data" block. This prevents the iASL Preprocessor from possible 
+confusion if/when the table is compiled.
+
+Disassembler: Added an option (-df) to force the disassembler to assume 
+that the table being disassembled contains valid AML. This feature is 
+useful for disassembling AML files that contain ACPI signatures other 
+than DSDT or SSDT (such as OEMx or other signatures).
+
+Changes for the EFI version of the tools:
+1) Fixed a build error/issue
+2) Fixed a cast warning
+
+iASL: Fixed a path issue with the __FILE__ operator by making the 
+directory prefix optional within the internal SplitInputFilename 
+function.
+
+Debugger: Removed some unused global variables.
+
+Tests: Updated the makefile for proper generation of the AAPITS suite.
+
+----------------------------------------
+04 February 2015. Summary of changes for version 20150204:
+
+ACPICA kernel-resident subsystem:
+
+Updated all ACPICA copyrights and signons to 2014. Added the 2014 
+copyright to all module headers and signons, including the standard Linux 
+header. This affects virtually every file in the ACPICA core subsystem, 
+iASL compiler, all ACPICA utilities, and the test suites.
+
+Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
+A raw gpe handling mechanism was created to allow better handling of GPE
+storms that aren't easily managed by the normal handler. The raw handler
+allows disabling/renabling of the the GPE so that interrupt storms can be
+avoided in cases where events cannot be timely serviced. In this 
+scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
+GPE. This API will leave the reference counts undisturbed, thereby 
+preventing unintentional clearing of the GPE when the intent in only to 
+temporarily disable it. Raw handlers allow enabling and disabling of a 
+GPE by removing GPE register locking. As such, raw handlers much provide 
+their own locks while using GPE API's to protect access to GPE data 
+structures.
+Lv Zheng
+
+Events: Always modify GPE registers under the GPE lock.
+Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
+values. Reported as bug by joe.liu%apple.com@localhost.
+
+Unix makefiles: Separate option to disable optimizations and 
+_FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
+NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
+purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
+errors when building ACPICA. This allows disabling the option without 
+also having to disable optimazations.
+David Box
+
+  Current Release:
+    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
+    Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
+
+----------------------------------------
+07 November 2014. Summary of changes for version 20141107:
+
+This release is available at https://acpica.org/downloads
+
+This release introduces and implements language extensions to ASL that 
+provide support for symbolic ("C-style") operators and expressions. These 
+language extensions are known collectively as ASL+.
+
+
+1) iASL Compiler/Disassembler and Tools:
+
+Disassembler: Fixed a problem with disassembly of the UartSerialBus 
+macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
+Box.
+
+Disassembler: Fixed the Unicode macro support to add escape sequences. 
+All non-printable ASCII values are emitted as escape sequences, as well 
+as the standard escapes for quote and backslash. Ensures that the 
+disassembled macro can be correctly recompiled.
+
+iASL: Added Printf/Fprintf macros for formatted output. These macros are 
+translated to existing AML Concatenate and Store operations. Printf 
+writes to the ASL Debug object. Fprintf allows the specification of an 
+ASL name as the target. Only a single format specifier is required, %o, 
+since the AML interpreter dynamically converts objects to the required 
+type. David E. Box.
+
+    (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
+                 (Concatenate (Concatenate (Concatenate ("", Arg0),
+                 ": Unexpected value for "), Arg1), ", "), Arg2),
+                 " at line "), Arg3), Debug)
+
+    (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
+                 Arg0, Arg1, Arg2, Arg3)
+
+    (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
+                 ("", Arg1), ": "), Arg0), " Successful"), STR1)
+
+    (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
+
+iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
+ASL parse tree before the AML code is generated. This allows blocks of 
+ASL code to be removed in order to help locate and identify problem 
+devices and/or code. David E. Box.
+
+AcpiExec: Added support (-fi) for an optional namespace object 
+initialization file. This file specifies initial values for namespace 
+objects as necessary for debugging and testing different ASL code paths 
+that may be taken as a result of BIOS options.
+
+
+2) Overview of symbolic operator support for ASL (ASL+)
+-------------------------------------------------------
+
+As an extension to the ASL language, iASL implements support for symbolic 
+(C-style) operators for math and logical expressions. This can greatly 
+simplify ASL code as well as improve both readability and 
+maintainability. These language extensions can exist concurrently with 
+all legacy ASL code and expressions.
+
+The symbolic extensions are 100% compatible with existing AML 
+interpreters, since no new AML opcodes are created. To implement the 
+extensions, the iASL compiler transforms the symbolic expressions into 
+the legacy ASL/AML equivalents at compile time.
+
+Full symbolic expressions are supported, along with the standard C 
+precedence and associativity rules.
+
+Full disassembler support for the symbolic expressions is provided, and 
+creates an automatic migration path for existing ASL code to ASL+ code 
+via the disassembly process. By default, the disassembler now emits ASL+ 
+code with symbolic expressions. An option (-dl) is provided to force the 
+disassembler to emit legacy ASL code if desired.
+
+Below is the complete list of the currently supported symbolic operators 
+with examples. See the iASL User Guide for additional information.
+
+
+ASL+ Syntax      Legacy ASL Equivalent
+-----------      ---------------------
+
+    // Math operators
+
+Z = X + Y        Add (X, Y, Z)
+Z = X - Y        Subtract (X, Y, Z)
+Z = X * Y        Multiply (X, Y, Z)
+Z = X / Y        Divide (X, Y, , Z)
+Z = X % Y        Mod (X, Y, Z)
+Z = X << Y       ShiftLeft (X, Y, Z)
+Z = X >> Y       ShiftRight (X, Y, Z)
+Z = X & Y        And (X, Y, Z)
+Z = X | Y        Or (X, Y, Z)
+Z = X ^ Y        Xor (X, Y, Z)
+Z = ~X           Not (X, Z)
+X++              Increment (X)
+X--              Decrement (X)
+
+    // Logical operators
+
+(X == Y)         LEqual (X, Y)
+(X != Y)         LNotEqual (X, Y)
+(X < Y)          LLess (X, Y)
+(X > Y)          LGreater (X, Y)
+(X <= Y)         LLessEqual (X, Y)
+(X >= Y)         LGreaterEqual (X, Y)
+(X && Y)         LAnd (X, Y)
+(X || Y)         LOr (X, Y)
+(!X)             LNot (X)
+
+    // Assignment and compound assignment operations
+
+X = Y           Store (Y, X)
+X += Y          Add (X, Y, X)
+X -= Y          Subtract (X, Y, X)
+X *= Y          Multiply (X, Y, X)
+X /= Y          Divide (X, Y, , X)
+X %= Y          Mod (X, Y, X)
+X <<= Y         ShiftLeft (X, Y, X)
+X >>= Y         ShiftRight (X, Y, X)
+X &= Y          And (X, Y, X)
+X |= Y          Or (X, Y, X)
+X ^= Y          Xor (X, Y, X)
+
+
+3) ASL+ Examples:
+-----------------
+
+Legacy ASL:
+        If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
+            And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
+0x03FB), 
+            0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
+        {
+            And (MEMB, 0xFFFFFFF0, SRMB)
+            Store (MEMB, Local2)
+            Store (PDBM, Local1)
+            And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
+            Store (SRMB, MEMB)
+            Or (PDBM, 0x02, PDBM)
+        }
+
+ASL+ version:
+        If (((R510 & 0x03FB) == 0x02E0) ||
+            ((R520 & 0x03FB) == 0x02E0) ||
+            ((R530 & 0x03FB) == 0x02E0) || 
+            ((R540 & 0x03FB) == 0x02E0))
+        {
+            SRMB = (MEMB & 0xFFFFFFF0)
+            Local2 = MEMB
+            Local1 = PDBM
+            PDBM &= 0xFFFFFFFFFFFFFFF9
+            MEMB = SRMB
+            PDBM |= 0x02
+        }
+
+Legacy ASL:
+        Store (0x1234, Local1)
+        Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
+        Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
+        Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
+        Store (Index (PKG1, 0x03), Local6)
+        Store (Add (Local3, Local2), Debug)
+        Add (Local1, 0x0F, Local2)
+        Add (Local1, Multiply (Local2, Local3), Local2)
+        Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
+
+ASL+ version:
+        Local1 = 0x1234
+        Local3 = (((Local1 + TEST) + 0x20) * Local2)
+        Local3 = (Local2 * ((Local1 + TEST) + 0x20))
+        Local3 = (Local1 + (TEST + (0x20 * Local2)))
+        Local6 = Index (PKG1, 0x03)
+        Debug = (Local3 + Local2)
+        Local2 = (Local1 + 0x0F)
+        Local2 = (Local1 + (Local2 * Local3))
+        Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))




Home | Main Index | Thread Index | Old Index