git: Sync ACPICA with Intel's version 20141107.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Nov 13 12:06:08 PST 2014


commit 2e2672b8ac84e7b2eabb70df2699316280b75ff5
Author: Sascha Wildner <saw at online.de>
Date:   Thu Nov 13 21:05:10 2014 +0100

    Sync ACPICA with Intel's version 20141107.
    
    * Support ASL+, which is an extension to ASL supporting C-style operators
      and expressions.
    
      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))))
            {
    	    ...
    	}
    
      ASL+:
            If (((R510 & 0x03FB) == 0x02E0) ||
                ((R520 & 0x03FB) == 0x02E0) ||
                ((R530 & 0x03FB) == 0x02E0) ||
                ((R540 & 0x03FB) == 0x02E0))
            {
    	    ...
    	}
    
    * Updates of the GPIO operation region handler interface.
    
    * Various other changes.
    
    For a more detailed list, please see sys/contrib/dev/acpica/changes.txt.

Summary of changes:
 sys/contrib/dev/acpica/changes.txt                 |  252 ++++-
 .../dev/acpica/generate/unix/acpiexamples/Makefile |    2 +-
 .../dev/acpica/generate/unix/acpiexec/Makefile     |    3 +
 sys/contrib/dev/acpica/generate/unix/iasl/Makefile |   25 +-
 sys/contrib/dev/acpica/source/common/adisasm.c     |   27 +-
 sys/contrib/dev/acpica/source/common/ahids.c       |   22 +
 sys/contrib/dev/acpica/source/compiler/aslbtypes.c |    6 +
 .../dev/acpica/source/compiler/aslcodegen.c        |   27 +-
 .../dev/acpica/source/compiler/aslcompile.c        |   11 +
 .../dev/acpica/source/compiler/aslcompiler.h       |  144 +--
 .../dev/acpica/source/compiler/aslcompiler.l       |   86 +-
 sys/contrib/dev/acpica/source/compiler/asldefine.h |    5 +-
 sys/contrib/dev/acpica/source/compiler/aslglobal.h |   12 +-
 sys/contrib/dev/acpica/source/compiler/aslload.c   |   32 +-
 sys/contrib/dev/acpica/source/compiler/aslmain.c   |    8 +-
 sys/contrib/dev/acpica/source/compiler/aslmap.c    |   33 +-
 .../dev/acpica/source/compiler/aslmapenter.c       |  346 +++++++
 .../dev/acpica/source/compiler/aslmapoutput.c      |  661 +++++++++++++
 .../dev/acpica/source/compiler/aslmaputils.c       |  402 ++++++++
 .../dev/acpica/source/compiler/aslopcodes.c        |  771 ++++++++++++++-
 .../dev/acpica/source/compiler/asloptions.c        |   46 +-
 sys/contrib/dev/acpica/source/compiler/aslparser.y |   10 +-
 sys/contrib/dev/acpica/source/compiler/aslprintf.c |  380 ++++++++
 sys/contrib/dev/acpica/source/compiler/aslprune.c  |  239 +++++
 .../dev/acpica/source/compiler/aslresource.c       |  145 ++-
 .../dev/acpica/source/compiler/aslrestype1.c       |  102 +-
 .../dev/acpica/source/compiler/aslrestype1i.c      |   80 +-
 .../dev/acpica/source/compiler/aslrestype2.c       |   41 +-
 .../dev/acpica/source/compiler/aslrestype2d.c      |   51 +-
 .../dev/acpica/source/compiler/aslrestype2e.c      |   54 +-
 .../dev/acpica/source/compiler/aslrestype2q.c      |   51 +-
 .../dev/acpica/source/compiler/aslrestype2s.c      |   79 +-
 .../dev/acpica/source/compiler/aslrestype2w.c      |   51 +-
 sys/contrib/dev/acpica/source/compiler/aslrules.y  |  231 ++++-
 .../dev/acpica/source/compiler/aslsupport.y        |   19 +-
 sys/contrib/dev/acpica/source/compiler/asltokens.y |   82 ++
 sys/contrib/dev/acpica/source/compiler/asltree.c   |  194 +++-
 sys/contrib/dev/acpica/source/compiler/asltypes.h  |   36 +-
 sys/contrib/dev/acpica/source/compiler/asltypes.y  |   12 +
 sys/contrib/dev/acpica/source/compiler/aslwalks.c  |    7 +
 sys/contrib/dev/acpica/source/compiler/aslxref.c   |   29 +-
 sys/contrib/dev/acpica/source/compiler/dtcompile.c |    6 +-
 sys/contrib/dev/acpica/source/compiler/dtexpress.c |    2 -
 sys/contrib/dev/acpica/source/compiler/dtfield.c   |    2 -
 sys/contrib/dev/acpica/source/compiler/dtio.c      |    2 -
 .../dev/acpica/source/compiler/dtsubtable.c        |    6 +-
 sys/contrib/dev/acpica/source/compiler/dttable.c   |    2 -
 sys/contrib/dev/acpica/source/compiler/dtutils.c   |    2 -
 .../acpica/source/components/debugger/dbconvert.c  |   56 +-
 .../source/components/disassembler/dmbuffer.c      |  207 +++-
 .../source/components/disassembler/dmcstyle.c      |  773 +++++++++++++++
 .../source/components/disassembler/dmopcode.c      |   40 +-
 .../source/components/disassembler/dmresrc.c       |    9 +-
 .../source/components/disassembler/dmresrcl.c      |   40 +-
 .../source/components/disassembler/dmresrcl2.c     |   80 +-
 .../source/components/disassembler/dmresrcs.c      |   32 +-
 .../source/components/disassembler/dmutils.c       |   15 +-
 .../acpica/source/components/disassembler/dmwalk.c |   50 +-
 .../acpica/source/components/dispatcher/dsargs.c   |    2 -
 .../source/components/dispatcher/dscontrol.c       |    2 -
 .../acpica/source/components/dispatcher/dsfield.c  |    4 +-
 .../acpica/source/components/dispatcher/dsinit.c   |    2 -
 .../acpica/source/components/dispatcher/dsmethod.c |    2 -
 .../acpica/source/components/dispatcher/dsmthdat.c |    2 -
 .../acpica/source/components/dispatcher/dsobject.c |    2 -
 .../acpica/source/components/dispatcher/dsopcode.c |    2 -
 .../acpica/source/components/dispatcher/dsutils.c  |    2 -
 .../acpica/source/components/dispatcher/dswexec.c  |    2 -
 .../acpica/source/components/dispatcher/dswload.c  |    2 -
 .../acpica/source/components/dispatcher/dswload2.c |    2 -
 .../acpica/source/components/dispatcher/dswscope.c |    2 -
 .../acpica/source/components/dispatcher/dswstate.c |    2 -
 .../acpica/source/components/events/evgpeinit.c    |    4 +
 .../acpica/source/components/events/evhandler.c    |    2 -
 .../dev/acpica/source/components/events/evregion.c |   48 +-
 .../dev/acpica/source/components/events/evrgnini.c |    2 -
 .../dev/acpica/source/components/events/evxface.c  |    4 +-
 .../dev/acpica/source/components/events/evxfevnt.c |   42 +-
 .../dev/acpica/source/components/events/evxfgpe.c  |    1 -
 .../dev/acpica/source/components/events/evxfregn.c |    1 -
 .../acpica/source/components/executer/exconfig.c   |    2 -
 .../acpica/source/components/executer/exconvrt.c   |    2 -
 .../acpica/source/components/executer/excreate.c   |    2 -
 .../acpica/source/components/executer/exdebug.c    |    2 -
 .../dev/acpica/source/components/executer/exdump.c |    2 -
 .../acpica/source/components/executer/exfield.c    |   70 +-
 .../acpica/source/components/executer/exfldio.c    |    2 -
 .../dev/acpica/source/components/executer/exmisc.c |    2 -
 .../acpica/source/components/executer/exmutex.c    |    2 -
 .../acpica/source/components/executer/exnames.c    |    2 -
 .../acpica/source/components/executer/exoparg1.c   |    2 -
 .../acpica/source/components/executer/exoparg2.c   |    2 -
 .../acpica/source/components/executer/exoparg3.c   |    2 -
 .../acpica/source/components/executer/exoparg6.c   |    2 -
 .../dev/acpica/source/components/executer/exprep.c |    4 +-
 .../acpica/source/components/executer/exregion.c   |    2 -
 .../acpica/source/components/executer/exresnte.c   |    2 -
 .../acpica/source/components/executer/exresolv.c   |    2 -
 .../acpica/source/components/executer/exresop.c    |    2 -
 .../acpica/source/components/executer/exstore.c    |    2 -
 .../acpica/source/components/executer/exstoren.c   |    2 -
 .../acpica/source/components/executer/exstorob.c   |    2 -
 .../acpica/source/components/executer/exsystem.c   |    2 -
 .../acpica/source/components/executer/exutils.c    |    2 -
 .../dev/acpica/source/components/hardware/hwacpi.c |    2 -
 .../dev/acpica/source/components/hardware/hwgpe.c  |    8 +
 .../dev/acpica/source/components/hardware/hwpci.c  |    2 -
 .../dev/acpica/source/components/hardware/hwregs.c |    2 -
 .../acpica/source/components/hardware/hwvalid.c    |    2 -
 .../acpica/source/components/namespace/nsaccess.c  |    2 -
 .../acpica/source/components/namespace/nsalloc.c   |    2 -
 .../acpica/source/components/namespace/nsconvert.c |    2 -
 .../acpica/source/components/namespace/nsdump.c    |    2 -
 .../acpica/source/components/namespace/nsdumpdv.c  |    2 -
 .../acpica/source/components/namespace/nseval.c    |    2 -
 .../acpica/source/components/namespace/nsinit.c    |    2 -
 .../acpica/source/components/namespace/nsload.c    |    2 -
 .../acpica/source/components/namespace/nsnames.c   |    2 -
 .../acpica/source/components/namespace/nsobject.c  |    2 -
 .../acpica/source/components/namespace/nsparse.c   |    2 -
 .../acpica/source/components/namespace/nsrepair.c  |    2 -
 .../acpica/source/components/namespace/nsrepair2.c |    2 -
 .../acpica/source/components/namespace/nssearch.c  |    2 -
 .../acpica/source/components/namespace/nsutils.c   |    2 -
 .../acpica/source/components/namespace/nswalk.c    |    2 -
 .../acpica/source/components/namespace/nsxfeval.c  |    1 -
 .../acpica/source/components/namespace/nsxfname.c  |    1 -
 .../acpica/source/components/namespace/nsxfobj.c   |    1 -
 .../dev/acpica/source/components/parser/psargs.c   |    2 -
 .../dev/acpica/source/components/parser/pstree.c   |    2 -
 .../dev/acpica/source/components/parser/psxface.c  |    2 -
 .../acpica/source/components/resources/rsaddr.c    |    2 -
 .../acpica/source/components/resources/rscalc.c    |    2 -
 .../acpica/source/components/resources/rscreate.c  |    2 -
 .../acpica/source/components/resources/rsdump.c    |    2 -
 .../source/components/resources/rsdumpinfo.c       |    2 -
 .../acpica/source/components/resources/rsinfo.c    |    2 -
 .../dev/acpica/source/components/resources/rsio.c  |    2 -
 .../dev/acpica/source/components/resources/rsirq.c |    2 -
 .../acpica/source/components/resources/rslist.c    |    2 -
 .../acpica/source/components/resources/rsmemory.c  |    2 -
 .../acpica/source/components/resources/rsmisc.c    |    2 -
 .../acpica/source/components/resources/rsserial.c  |    2 -
 .../acpica/source/components/resources/rsutils.c   |    2 -
 .../acpica/source/components/resources/rsxface.c   |    1 -
 .../dev/acpica/source/components/tables/tbdata.c   |    2 -
 .../dev/acpica/source/components/tables/tbfadt.c   |    2 -
 .../dev/acpica/source/components/tables/tbfind.c   |    2 -
 .../dev/acpica/source/components/tables/tbinstal.c |    2 -
 .../dev/acpica/source/components/tables/tbprint.c  |    2 -
 .../dev/acpica/source/components/tables/tbutils.c  |    2 -
 .../dev/acpica/source/components/tables/tbxface.c  |    1 -
 .../dev/acpica/source/components/tables/tbxfload.c |    1 -
 .../dev/acpica/source/components/tables/tbxfroot.c |   39 +-
 .../acpica/source/components/utilities/utaddress.c |    2 -
 .../acpica/source/components/utilities/utalloc.c   |    2 -
 .../acpica/source/components/utilities/utbuffer.c  |    2 -
 .../acpica/source/components/utilities/utcache.c   |    2 -
 .../acpica/source/components/utilities/utclib.c    |    2 -
 .../acpica/source/components/utilities/utcopy.c    |    2 -
 .../acpica/source/components/utilities/utdebug.c   |    1 -
 .../acpica/source/components/utilities/utdecode.c  |    2 -
 .../acpica/source/components/utilities/utdelete.c  |    2 -
 .../acpica/source/components/utilities/uterror.c   |    2 -
 .../acpica/source/components/utilities/uteval.c    |    2 -
 .../acpica/source/components/utilities/utexcep.c   |    1 -
 .../acpica/source/components/utilities/utglobal.c  |    1 -
 .../dev/acpica/source/components/utilities/uthex.c |    2 -
 .../dev/acpica/source/components/utilities/utids.c |    2 -
 .../acpica/source/components/utilities/utinit.c    |    2 -
 .../acpica/source/components/utilities/utlock.c    |    2 -
 .../acpica/source/components/utilities/utmath.c    |    2 -
 .../acpica/source/components/utilities/utmisc.c    |    2 -
 .../acpica/source/components/utilities/utmutex.c   |    2 -
 .../acpica/source/components/utilities/utobject.c  |    2 -
 .../dev/acpica/source/components/utilities/utosi.c |    2 -
 .../acpica/source/components/utilities/utownerid.c |    2 -
 .../acpica/source/components/utilities/utpredef.c  |    2 -
 .../acpica/source/components/utilities/utresrc.c   |    4 +-
 .../acpica/source/components/utilities/utstate.c   |    2 -
 .../acpica/source/components/utilities/utstring.c  |    2 -
 .../acpica/source/components/utilities/uttrack.c   |    2 -
 .../acpica/source/components/utilities/utuuid.c    |    2 -
 .../acpica/source/components/utilities/utxface.c   |    5 +-
 .../acpica/source/components/utilities/utxferror.c |    1 -
 .../acpica/source/components/utilities/utxfinit.c  |   14 +-
 .../acpica/source/components/utilities/utxfmutex.c |    2 -
 sys/contrib/dev/acpica/source/include/acbuffer.h   |   14 +-
 sys/contrib/dev/acpica/source/include/acdisasm.h   |   36 +-
 sys/contrib/dev/acpica/source/include/acglobal.h   |    1 +
 sys/contrib/dev/acpica/source/include/aclocal.h    |    4 +
 sys/contrib/dev/acpica/source/include/acnames.h    |    1 +
 sys/contrib/dev/acpica/source/include/acobject.h   |    1 +
 sys/contrib/dev/acpica/source/include/acpixf.h     |    2 +-
 sys/contrib/dev/acpica/source/include/actables.h   |    4 +
 sys/contrib/dev/acpica/source/include/actypes.h    |   18 +-
 sys/contrib/dev/acpica/source/include/amlresrc.h   |   54 ++
 .../source/os_specific/service_layers/osunixxf.c   |    9 +
 .../dev/acpica/source/tools/acpidump/apdump.c      |    2 +-
 .../dev/acpica/source/tools/acpiexec/aecommon.h    |   28 +
 .../dev/acpica/source/tools/acpiexec/aehandlers.c  |  803 +---------------
 .../dev/acpica/source/tools/acpiexec/aeinitfile.c  |  226 +++++
 .../dev/acpica/source/tools/acpiexec/aemain.c      |   62 +-
 .../tools/acpiexec/{aehandlers.c => aeregion.c}    | 1002 ++------------------
 .../dev/acpica/source/tools/acpisrc/astable.c      |    3 +
 .../dev/acpica/source/tools/examples/examples.c    |    1 -
 .../dev/acpica/source/tools/examples/extables.c    |    2 -
 usr.sbin/acpi/acpiexec/Makefile                    |    3 +
 usr.sbin/acpi/acpiexec/acpiexec.8                  |   12 +-
 usr.sbin/acpi/iasl/Makefile                        |   22 +-
 usr.sbin/acpi/iasl/iasl.8                          |   12 +-
 211 files changed, 6281 insertions(+), 2647 deletions(-)
 create mode 100644 sys/contrib/dev/acpica/source/compiler/aslmapenter.c
 create mode 100644 sys/contrib/dev/acpica/source/compiler/aslmapoutput.c
 create mode 100644 sys/contrib/dev/acpica/source/compiler/aslmaputils.c
 create mode 100644 sys/contrib/dev/acpica/source/compiler/aslprintf.c
 create mode 100644 sys/contrib/dev/acpica/source/compiler/aslprune.c
 create mode 100644 sys/contrib/dev/acpica/source/components/disassembler/dmcstyle.c
 create mode 100644 sys/contrib/dev/acpica/source/tools/acpiexec/aeinitfile.c
 copy sys/contrib/dev/acpica/source/tools/acpiexec/{aehandlers.c => aeregion.c} (52%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2e2672b8ac84e7b2eabb70df2699316280b75ff5


-- 
DragonFly BSD source repository


More information about the Commits mailing list