git: Sync ACPICA with Intel's version 20151124.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Nov 25 11:17:14 PST 2015


commit 820c5b08a73294c6424e31653739d096e5720e9f
Author: Sascha Wildner <saw at online.de>
Date:   Wed Nov 25 20:16:38 2015 +0100

    Sync ACPICA with Intel's version 20151124.
    
    * Silence warnings about non-existant _Sx methods because they are
      optional. In fact, we already had a fix for this from sephe
      (671882eba43).
    
    * Fixed bugs in FADT handling and auto-serialization.
    
    * Removed support for _SUB in AcpiGetObjectInfo because it caused
      errors due to not fully initialized operation regions.
    
    * Fixed issues with terminate/quit/exit commands in the debugger.
      Also thread ID support was added to the debugger.
    
    * Allow multiple definitions blocks in ASL/AML files for iasl,
      acpiexec and acpixtract.
    
    * Enhanced type checking for Name() in iasl. Also indent fixes for
      -ic and -ia.
    
    * Additional error message for attempting to open a Scope() on an
      object defined in an SSDT.
    
    * Improved formatting.
    
    For a more detailed list, please see sys/contrib/dev/acpica/changes.txt.

Summary of changes:
 sys/conf/files                                     |    1 +
 sys/contrib/dev/acpica/changes.txt                 |   81 +
 .../dev/acpica/generate/unix/acpiexamples/Makefile |    1 +
 .../dev/acpica/generate/unix/acpiexec/Makefile     |    3 +-
 .../dev/acpica/generate/unix/acpinames/Makefile    |    2 +-
 .../dev/acpica/generate/unix/acpixtract/Makefile   |    1 +
 sys/contrib/dev/acpica/generate/unix/iasl/Makefile |    6 +-
 sys/contrib/dev/acpica/source/common/acfileio.c    |  357 ++
 sys/contrib/dev/acpica/source/common/acgetline.c   |    1 +
 sys/contrib/dev/acpica/source/common/adisasm.c     |  863 ++---
 sys/contrib/dev/acpica/source/common/adwalk.c      |   34 +-
 sys/contrib/dev/acpica/source/common/ahuuids.c     |    1 +
 sys/contrib/dev/acpica/source/common/dmextern.c    |   15 +-
 sys/contrib/dev/acpica/source/common/dmrestag.c    |   19 +-
 sys/contrib/dev/acpica/source/common/dmtable.c     |    6 +
 sys/contrib/dev/acpica/source/common/dmtables.c    |  499 +++
 sys/contrib/dev/acpica/source/common/dmtbdump.c    |  339 +-
 sys/contrib/dev/acpica/source/common/getopt.c      |    8 +-
 .../dev/acpica/source/compiler/aslanalyze.c        |   15 +-
 sys/contrib/dev/acpica/source/compiler/aslbtypes.c |   10 +-
 .../dev/acpica/source/compiler/aslcodegen.c        |  133 +-
 .../dev/acpica/source/compiler/aslcompile.c        |   31 +-
 .../dev/acpica/source/compiler/aslcompiler.l       |    2 +-
 sys/contrib/dev/acpica/source/compiler/aslerror.c  |   35 +-
 sys/contrib/dev/acpica/source/compiler/aslfileio.c |    5 +-
 sys/contrib/dev/acpica/source/compiler/aslfiles.c  |   10 +-
 sys/contrib/dev/acpica/source/compiler/aslfold.c   |  134 +-
 sys/contrib/dev/acpica/source/compiler/aslhex.c    |    4 +-
 sys/contrib/dev/acpica/source/compiler/asllength.c |   19 +-
 .../dev/acpica/source/compiler/asllisting.c        |   71 +-
 .../dev/acpica/source/compiler/asllistsup.c        |    3 +-
 sys/contrib/dev/acpica/source/compiler/aslload.c   |   96 +-
 sys/contrib/dev/acpica/source/compiler/aslmap.c    |    1 +
 .../dev/acpica/source/compiler/aslmapenter.c       |    6 +-
 .../dev/acpica/source/compiler/aslmapoutput.c      |    2 +-
 .../dev/acpica/source/compiler/aslmessages.c       |    5 +-
 .../dev/acpica/source/compiler/aslmessages.h       |    2 +
 sys/contrib/dev/acpica/source/compiler/aslmethod.c |   26 +-
 sys/contrib/dev/acpica/source/compiler/aslnamesp.c |   21 +-
 .../dev/acpica/source/compiler/aslopcodes.c        |   61 +-
 .../dev/acpica/source/compiler/asloperands.c       |   45 +-
 sys/contrib/dev/acpica/source/compiler/aslopt.c    |   45 +-
 .../dev/acpica/source/compiler/asloptions.c        |    3 +-
 sys/contrib/dev/acpica/source/compiler/aslpredef.c |    9 +-
 sys/contrib/dev/acpica/source/compiler/aslprepkg.c |    1 +
 sys/contrib/dev/acpica/source/compiler/aslprune.c  |    2 +
 .../dev/acpica/source/compiler/aslresource.c       |    8 +-
 .../dev/acpica/source/compiler/aslrestype1.c       |   25 +-
 .../dev/acpica/source/compiler/aslrestype1i.c      |   20 +-
 .../dev/acpica/source/compiler/aslrestype2.c       |   14 +-
 .../dev/acpica/source/compiler/aslrestype2d.c      |    8 +-
 .../dev/acpica/source/compiler/aslrestype2e.c      |   26 +-
 .../dev/acpica/source/compiler/aslrestype2q.c      |   14 +-
 .../dev/acpica/source/compiler/aslrestype2s.c      |   92 +-
 .../dev/acpica/source/compiler/aslrestype2w.c      |   16 +-
 sys/contrib/dev/acpica/source/compiler/aslrules.y  |   13 +-
 sys/contrib/dev/acpica/source/compiler/aslstubs.c  |   42 +
 sys/contrib/dev/acpica/source/compiler/asltokens.y |    5 +-
 .../dev/acpica/source/compiler/asltransform.c      |   36 +-
 sys/contrib/dev/acpica/source/compiler/asltree.c   |   33 +-
 sys/contrib/dev/acpica/source/compiler/asltypes.h  |    2 +-
 sys/contrib/dev/acpica/source/compiler/asltypes.y  |    3 +-
 sys/contrib/dev/acpica/source/compiler/aslutils.c  |    4 +-
 sys/contrib/dev/acpica/source/compiler/asluuid.c   |    7 +-
 sys/contrib/dev/acpica/source/compiler/aslxref.c   |   30 +-
 sys/contrib/dev/acpica/source/compiler/dtcompile.c |   55 +-
 .../dev/acpica/source/compiler/dtcompiler.h        |    6 +
 sys/contrib/dev/acpica/source/compiler/dtexpress.c |    3 +
 sys/contrib/dev/acpica/source/compiler/dtfield.c   |    1 +
 sys/contrib/dev/acpica/source/compiler/dtio.c      |   11 +-
 sys/contrib/dev/acpica/source/compiler/dttable.c   | 3394 +-------------------
 sys/contrib/dev/acpica/source/compiler/dttable1.c  | 1671 ++++++++++
 sys/contrib/dev/acpica/source/compiler/dttable2.c  | 1686 ++++++++++
 .../dev/acpica/source/compiler/dttemplate.c        |    3 +-
 sys/contrib/dev/acpica/source/compiler/prexpress.c |    1 +
 sys/contrib/dev/acpica/source/compiler/prmacros.c  |    3 +-
 sys/contrib/dev/acpica/source/compiler/prscan.c    |    9 +-
 sys/contrib/dev/acpica/source/compiler/prutils.c   |    2 +
 .../dev/acpica/source/components/debugger/dbcmds.c |   30 +-
 .../acpica/source/components/debugger/dbconvert.c  |    2 +-
 .../acpica/source/components/debugger/dbdisply.c   |   77 +-
 .../dev/acpica/source/components/debugger/dbexec.c |   11 +-
 .../acpica/source/components/debugger/dbfileio.c   |  134 +-
 .../acpica/source/components/debugger/dbinput.c    |   45 +-
 .../acpica/source/components/debugger/dbmethod.c   |    2 +-
 .../acpica/source/components/debugger/dbnames.c    |    9 +-
 .../acpica/source/components/debugger/dbobject.c   |    6 +-
 .../acpica/source/components/debugger/dbstats.c    |    3 +-
 .../dev/acpica/source/components/debugger/dbtest.c |    5 +-
 .../acpica/source/components/debugger/dbutils.c    |    1 +
 .../acpica/source/components/debugger/dbxface.c    |   91 +-
 .../source/components/disassembler/dmbuffer.c      |    7 +-
 .../source/components/disassembler/dmcstyle.c      |    1 +
 .../source/components/disassembler/dmdeferred.c    |    3 +-
 .../source/components/disassembler/dmnames.c       |   13 +-
 .../source/components/disassembler/dmopcode.c      |    7 +-
 .../source/components/disassembler/dmresrc.c       |    7 +-
 .../source/components/disassembler/dmresrcl.c      |   18 +-
 .../source/components/disassembler/dmresrcl2.c     |   10 +-
 .../source/components/disassembler/dmresrcs.c      |    3 +-
 .../acpica/source/components/disassembler/dmwalk.c |   14 +-
 .../acpica/source/components/dispatcher/dsargs.c   |   34 +-
 .../source/components/dispatcher/dscontrol.c       |   49 +-
 .../acpica/source/components/dispatcher/dsdebug.c  |    9 +-
 .../acpica/source/components/dispatcher/dsfield.c  |   83 +-
 .../acpica/source/components/dispatcher/dsinit.c   |   12 +-
 .../acpica/source/components/dispatcher/dsmethod.c |   73 +-
 .../acpica/source/components/dispatcher/dsmthdat.c |   39 +-
 .../acpica/source/components/dispatcher/dsobject.c |   66 +-
 .../acpica/source/components/dispatcher/dsopcode.c |   46 +-
 .../acpica/source/components/dispatcher/dsutils.c  |   45 +-
 .../acpica/source/components/dispatcher/dswexec.c  |   51 +-
 .../acpica/source/components/dispatcher/dswload.c  |   32 +-
 .../acpica/source/components/dispatcher/dswload2.c |   40 +-
 .../acpica/source/components/dispatcher/dswscope.c |    1 +
 .../acpica/source/components/dispatcher/dswstate.c |    9 +-
 .../dev/acpica/source/components/events/evevent.c  |   14 +-
 .../dev/acpica/source/components/events/evglock.c  |   11 +-
 .../dev/acpica/source/components/events/evgpe.c    |   16 +-
 .../dev/acpica/source/components/events/evgpeblk.c |   15 +-
 .../acpica/source/components/events/evgpeinit.c    |   28 +-
 .../acpica/source/components/events/evgpeutil.c    |    7 +-
 .../acpica/source/components/events/evhandler.c    |   12 +-
 .../dev/acpica/source/components/events/evmisc.c   |    5 +-
 .../dev/acpica/source/components/events/evregion.c |    8 +-
 .../dev/acpica/source/components/events/evrgnini.c |   16 +-
 .../dev/acpica/source/components/events/evsci.c    |    4 +-
 .../dev/acpica/source/components/events/evxface.c  |   10 +-
 .../dev/acpica/source/components/events/evxfevnt.c |   28 +-
 .../dev/acpica/source/components/events/evxfgpe.c  |    8 +-
 .../dev/acpica/source/components/events/evxfregn.c |    4 +-
 .../acpica/source/components/executer/exconfig.c   |   43 +-
 .../acpica/source/components/executer/exconvrt.c   |   26 +-
 .../acpica/source/components/executer/excreate.c   |   24 +-
 .../acpica/source/components/executer/exdebug.c    |  384 +--
 .../dev/acpica/source/components/executer/exdump.c |   43 +-
 .../acpica/source/components/executer/exfield.c    |   82 +-
 .../acpica/source/components/executer/exfldio.c    |   63 +-
 .../dev/acpica/source/components/executer/exmisc.c |   37 +-
 .../acpica/source/components/executer/exmutex.c    |   75 +-
 .../acpica/source/components/executer/exnames.c    |    8 +-
 .../acpica/source/components/executer/exoparg1.c   |   69 +-
 .../acpica/source/components/executer/exoparg2.c   |   41 +-
 .../acpica/source/components/executer/exoparg3.c   |   25 +-
 .../acpica/source/components/executer/exoparg6.c   |   25 +-
 .../dev/acpica/source/components/executer/exprep.c |   60 +-
 .../acpica/source/components/executer/exregion.c   |   11 +-
 .../acpica/source/components/executer/exresnte.c   |   10 +-
 .../acpica/source/components/executer/exresolv.c   |   25 +-
 .../acpica/source/components/executer/exresop.c    |   36 +-
 .../acpica/source/components/executer/exstore.c    |   26 +-
 .../acpica/source/components/executer/exstoren.c   |    4 +-
 .../acpica/source/components/executer/exstorob.c   |    7 +-
 .../acpica/source/components/executer/exsystem.c   |    8 +-
 .../components/executer/{exdebug.c => extrace.c}   |  297 +-
 .../acpica/source/components/executer/exutils.c    |   10 +-
 .../dev/acpica/source/components/hardware/hwacpi.c |   10 +-
 .../acpica/source/components/hardware/hwesleep.c   |    5 +-
 .../dev/acpica/source/components/hardware/hwgpe.c  |   12 +-
 .../dev/acpica/source/components/hardware/hwregs.c |   39 +-
 .../acpica/source/components/hardware/hwsleep.c    |   16 +-
 .../acpica/source/components/hardware/hwxface.c    |   48 +-
 .../acpica/source/components/hardware/hwxfsleep.c  |    7 +-
 .../acpica/source/components/namespace/nsaccess.c  |   12 +-
 .../acpica/source/components/namespace/nsalloc.c   |    5 +-
 .../source/components/namespace/nsarguments.c      |    6 +-
 .../acpica/source/components/namespace/nsconvert.c |   12 +-
 .../acpica/source/components/namespace/nsdump.c    |   41 +-
 .../acpica/source/components/namespace/nsdumpdv.c  |    4 +-
 .../acpica/source/components/namespace/nseval.c    |    6 +-
 .../acpica/source/components/namespace/nsinit.c    |   10 +-
 .../acpica/source/components/namespace/nsload.c    |    9 +-
 .../acpica/source/components/namespace/nsnames.c   |   15 +-
 .../acpica/source/components/namespace/nsobject.c  |    6 +-
 .../acpica/source/components/namespace/nsparse.c   |   13 +-
 .../acpica/source/components/namespace/nsprepkg.c  |   21 +-
 .../acpica/source/components/namespace/nsrepair.c  |   14 +-
 .../acpica/source/components/namespace/nsrepair2.c |   33 +-
 .../acpica/source/components/namespace/nssearch.c  |    4 +-
 .../acpica/source/components/namespace/nsutils.c   |   21 +-
 .../acpica/source/components/namespace/nswalk.c    |   12 +-
 .../acpica/source/components/namespace/nsxfeval.c  |   24 +-
 .../acpica/source/components/namespace/nsxfname.c  |   56 +-
 .../acpica/source/components/namespace/nsxfobj.c   |    7 +-
 .../dev/acpica/source/components/parser/psargs.c   |   11 +-
 .../dev/acpica/source/components/parser/psloop.c   |   10 +-
 .../dev/acpica/source/components/parser/psobject.c |    7 +-
 .../dev/acpica/source/components/parser/psparse.c  |   47 +-
 .../dev/acpica/source/components/parser/psscope.c  |   10 +-
 .../dev/acpica/source/components/parser/psutils.c  |    7 +-
 .../dev/acpica/source/components/parser/pswalk.c   |    1 +
 .../dev/acpica/source/components/parser/psxface.c  |    9 +-
 .../acpica/source/components/resources/rsaddr.c    |   27 +-
 .../acpica/source/components/resources/rscalc.c    |   63 +-
 .../acpica/source/components/resources/rscreate.c  |   49 +-
 .../acpica/source/components/resources/rsdump.c    |   15 +-
 .../acpica/source/components/resources/rslist.c    |   25 +-
 .../acpica/source/components/resources/rsmisc.c    |   51 +-
 .../acpica/source/components/resources/rsutils.c   |   65 +-
 .../acpica/source/components/resources/rsxface.c   |   15 +-
 .../dev/acpica/source/components/tables/tbdata.c   |    9 +-
 .../dev/acpica/source/components/tables/tbfadt.c   |    8 +-
 .../dev/acpica/source/components/tables/tbfind.c   |    8 +-
 .../dev/acpica/source/components/tables/tbinstal.c |   13 +-
 .../dev/acpica/source/components/tables/tbprint.c  |    5 +-
 .../dev/acpica/source/components/tables/tbutils.c  |   48 +-
 .../dev/acpica/source/components/tables/tbxface.c  |   18 +-
 .../dev/acpica/source/components/tables/tbxfload.c |   20 +-
 .../dev/acpica/source/components/tables/tbxfroot.c |   24 +-
 .../acpica/source/components/utilities/utaddress.c |    2 +-
 .../acpica/source/components/utilities/utalloc.c   |   15 +-
 .../acpica/source/components/utilities/utcache.c   |    4 +-
 .../acpica/source/components/utilities/utcopy.c    |  120 +-
 .../acpica/source/components/utilities/utdecode.c  |   36 +-
 .../acpica/source/components/utilities/utdelete.c  |   11 +-
 .../acpica/source/components/utilities/uterror.c   |    8 +-
 .../acpica/source/components/utilities/uteval.c    |    8 +-
 .../acpica/source/components/utilities/utfileio.c  |  366 ---
 .../dev/acpica/source/components/utilities/uthex.c |    2 +-
 .../dev/acpica/source/components/utilities/utids.c |   93 +-
 .../acpica/source/components/utilities/utinit.c    |   16 +-
 .../acpica/source/components/utilities/utmath.c    |   33 +-
 .../acpica/source/components/utilities/utmisc.c    |   30 +-
 .../acpica/source/components/utilities/utmutex.c   |    7 +-
 .../acpica/source/components/utilities/utnonansi.c |    4 +-
 .../acpica/source/components/utilities/utobject.c  |   35 +-
 .../dev/acpica/source/components/utilities/utosi.c |   14 +-
 .../acpica/source/components/utilities/utownerid.c |   11 +-
 .../acpica/source/components/utilities/utpredef.c  |    6 +-
 .../acpica/source/components/utilities/utprint.c   |   16 +-
 .../acpica/source/components/utilities/utresrc.c   |   17 +-
 .../acpica/source/components/utilities/utstate.c   |    3 +
 .../acpica/source/components/utilities/utstring.c  |    1 +
 .../acpica/source/components/utilities/uttrack.c   |   81 +-
 .../acpica/source/components/utilities/utuuid.c    |    8 +-
 .../acpica/source/components/utilities/utxface.c   |   21 -
 .../acpica/source/components/utilities/utxferror.c |    4 +-
 .../acpica/source/components/utilities/utxfmutex.c |    4 +-
 sys/contrib/dev/acpica/source/include/acapps.h     |   75 +-
 sys/contrib/dev/acpica/source/include/acdebug.h    |   20 +-
 sys/contrib/dev/acpica/source/include/acdisasm.h   |   33 +-
 sys/contrib/dev/acpica/source/include/acglobal.h   |    5 +-
 sys/contrib/dev/acpica/source/include/aclocal.h    |   18 +
 sys/contrib/dev/acpica/source/include/acmacros.h   |   12 -
 sys/contrib/dev/acpica/source/include/acpiosxf.h   |    3 +-
 sys/contrib/dev/acpica/source/include/acpixf.h     |   30 +-
 sys/contrib/dev/acpica/source/include/actables.h   |    6 +-
 sys/contrib/dev/acpica/source/include/actypes.h    |    6 +-
 sys/contrib/dev/acpica/source/include/acutils.h    |   30 +-
 .../dev/acpica/source/include/platform/aclinux.h   |    7 +-
 .../dev/acpica/source/include/platform/aclinuxex.h |    9 +
 .../source/os_specific/service_layers/oslibcfs.c   |    3 +
 .../source/os_specific/service_layers/oswindir.c   |    3 +-
 .../source/os_specific/service_layers/oswinxf.c    |   19 +-
 .../dev/acpica/source/tools/acpibin/abcompare.c    |    9 -
 .../dev/acpica/source/tools/acpidump/apfiles.c     |   13 +
 .../dev/acpica/source/tools/acpiexec/aecommon.h    |   41 +-
 .../dev/acpica/source/tools/acpiexec/aeexec.c      |  211 +-
 .../dev/acpica/source/tools/acpiexec/aehandlers.c  |   35 +-
 .../dev/acpica/source/tools/acpiexec/aemain.c      |   44 +-
 .../dev/acpica/source/tools/acpiexec/aeregion.c    |   32 +-
 .../dev/acpica/source/tools/acpiexec/aetables.c    |   41 +-
 .../dev/acpica/source/tools/acpihelp/ahdecode.c    |    5 +-
 .../dev/acpica/source/tools/acpinames/acpinames.h  |   10 +-
 .../dev/acpica/source/tools/acpinames/anmain.c     |  256 +-
 .../dev/acpica/source/tools/acpinames/antables.c   |   33 +-
 .../dev/acpica/source/tools/acpisrc/ascase.c       |    3 +
 .../dev/acpica/source/tools/acpisrc/asconvrt.c     |    9 +-
 .../dev/acpica/source/tools/acpisrc/asfile.c       |   28 +-
 .../dev/acpica/source/tools/acpisrc/asmain.c       |   13 +-
 .../dev/acpica/source/tools/acpisrc/asremove.c     |    9 +-
 .../dev/acpica/source/tools/acpisrc/astable.c      |   32 +-
 .../acpica/source/tools/acpixtract/acpixtract.c    |  682 ++--
 .../acpica/source/tools/acpixtract/acpixtract.h    |  173 +
 .../dev/acpica/source/tools/acpixtract/axmain.c    |   50 +-
 .../dev/acpica/source/tools/acpixtract/axutils.c   |  463 +++
 .../dev/acpica/source/tools/examples/examples.c    |   17 +-
 sys/dev/acpica/Makefile                            |    3 +-
 sys/dev/acpica/Osd/OsdDebug.c                      |    4 +-
 sys/dev/acpica/Osd/OsdSchedule.c                   |    2 +-
 usr.sbin/acpi/acpiexec/Makefile                    |    3 +-
 usr.sbin/acpi/acpinames/Makefile                   |    2 +-
 usr.sbin/acpi/acpixtract/Makefile                  |    3 +-
 usr.sbin/acpi/acpixtract/acpixtract.8              |    4 +-
 usr.sbin/acpi/iasl/Makefile                        |    6 +-
 285 files changed, 9175 insertions(+), 8339 deletions(-)
 create mode 100644 sys/contrib/dev/acpica/source/common/acfileio.c
 create mode 100644 sys/contrib/dev/acpica/source/common/dmtables.c
 create mode 100644 sys/contrib/dev/acpica/source/compiler/dttable1.c
 create mode 100644 sys/contrib/dev/acpica/source/compiler/dttable2.c
 copy sys/contrib/dev/acpica/source/components/executer/{exdebug.c => extrace.c} (57%)
 delete mode 100644 sys/contrib/dev/acpica/source/components/utilities/utfileio.c
 create mode 100644 sys/contrib/dev/acpica/source/tools/acpixtract/acpixtract.h
 create mode 100644 sys/contrib/dev/acpica/source/tools/acpixtract/axutils.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/820c5b08a73294c6424e31653739d096e5720e9f


-- 
DragonFly BSD source repository



More information about the Commits mailing list