git: 804fe2660352 - main - acpica: Import ACPICA 20240321

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Fri, 03 Jan 2025 23:00:49 UTC
The branch main has been updated by jkim:

URL: https://cgit.FreeBSD.org/src/commit/?id=804fe2660352e090f4481f2c1d646b508859e79a

commit 804fe2660352e090f4481f2c1d646b508859e79a
Merge: e9255dafa1ef b6246dbb668a
Author:     Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2025-01-03 22:35:05 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2025-01-03 22:35:05 +0000

    acpica: Import ACPICA 20240321

 sys/contrib/dev/acpica/common/acfileio.c           |   2 +-
 sys/contrib/dev/acpica/common/acgetline.c          |   2 +-
 sys/contrib/dev/acpica/common/adfile.c             |   2 +-
 sys/contrib/dev/acpica/common/adisasm.c            |   2 +-
 sys/contrib/dev/acpica/common/adwalk.c             |   2 +-
 sys/contrib/dev/acpica/common/ahids.c              |   2 +-
 sys/contrib/dev/acpica/common/ahpredef.c           |   2 +-
 sys/contrib/dev/acpica/common/ahtable.c            |   3 +-
 sys/contrib/dev/acpica/common/ahuuids.c            |   2 +-
 sys/contrib/dev/acpica/common/cmfsize.c            |   2 +-
 sys/contrib/dev/acpica/common/dmextern.c           |   2 +-
 sys/contrib/dev/acpica/common/dmrestag.c           |   2 +-
 sys/contrib/dev/acpica/common/dmswitch.c           |   2 +-
 sys/contrib/dev/acpica/common/dmtable.c            | 194 +-------
 sys/contrib/dev/acpica/common/dmtables.c           |  16 +-
 sys/contrib/dev/acpica/common/dmtbdump.c           |  11 +-
 sys/contrib/dev/acpica/common/dmtbdump1.c          |   2 +-
 sys/contrib/dev/acpica/common/dmtbdump2.c          | 480 +++---------------
 sys/contrib/dev/acpica/common/dmtbdump3.c          |   7 +-
 sys/contrib/dev/acpica/common/dmtbinfo.c           |   2 +-
 sys/contrib/dev/acpica/common/dmtbinfo1.c          |   2 +-
 sys/contrib/dev/acpica/common/dmtbinfo2.c          | 308 ++++--------
 sys/contrib/dev/acpica/common/dmtbinfo3.c          |  15 +-
 sys/contrib/dev/acpica/common/getopt.c             |   2 +-
 sys/contrib/dev/acpica/compiler/aslallocate.c      |   2 +-
 sys/contrib/dev/acpica/compiler/aslanalyze.c       |   2 +-
 sys/contrib/dev/acpica/compiler/aslascii.c         |   2 +-
 sys/contrib/dev/acpica/compiler/aslbtypes.c        |   2 +-
 sys/contrib/dev/acpica/compiler/aslcache.c         |   2 +-
 sys/contrib/dev/acpica/compiler/aslcodegen.c       |   2 +-
 sys/contrib/dev/acpica/compiler/aslcompile.c       |  22 +-
 sys/contrib/dev/acpica/compiler/aslcompiler.h      |   2 +-
 sys/contrib/dev/acpica/compiler/aslcompiler.l      |   2 +-
 sys/contrib/dev/acpica/compiler/aslcstyle.y        |   2 +-
 sys/contrib/dev/acpica/compiler/asldebug.c         |   2 +-
 sys/contrib/dev/acpica/compiler/asldefine.h        |   2 +-
 sys/contrib/dev/acpica/compiler/aslerror.c         |   2 +-
 sys/contrib/dev/acpica/compiler/aslexternal.c      |   2 +-
 sys/contrib/dev/acpica/compiler/aslfileio.c        |   2 +-
 sys/contrib/dev/acpica/compiler/aslfiles.c         |   6 +-
 sys/contrib/dev/acpica/compiler/aslfold.c          |   2 +-
 sys/contrib/dev/acpica/compiler/aslglobal.h        |   3 +-
 sys/contrib/dev/acpica/compiler/aslhelp.c          |   3 +-
 sys/contrib/dev/acpica/compiler/aslhelpers.y       |   2 +-
 sys/contrib/dev/acpica/compiler/aslhex.c           |   2 +-
 sys/contrib/dev/acpica/compiler/aslkeywords.y      |   2 +-
 sys/contrib/dev/acpica/compiler/asllength.c        |   2 +-
 sys/contrib/dev/acpica/compiler/asllisting.c       |   2 +-
 sys/contrib/dev/acpica/compiler/asllistsup.c       |   2 +-
 sys/contrib/dev/acpica/compiler/aslload.c          |   2 +-
 sys/contrib/dev/acpica/compiler/asllookup.c        |   2 +-
 sys/contrib/dev/acpica/compiler/aslmain.c          |   2 +-
 sys/contrib/dev/acpica/compiler/aslmap.c           |   2 +-
 sys/contrib/dev/acpica/compiler/aslmapenter.c      |   2 +-
 sys/contrib/dev/acpica/compiler/aslmapoutput.c     |   2 +-
 sys/contrib/dev/acpica/compiler/aslmaputils.c      |   2 +-
 sys/contrib/dev/acpica/compiler/aslmessages.c      |   2 +-
 sys/contrib/dev/acpica/compiler/aslmessages.h      |   2 +-
 sys/contrib/dev/acpica/compiler/aslmethod.c        |   2 +-
 sys/contrib/dev/acpica/compiler/aslnamesp.c        |   2 +-
 sys/contrib/dev/acpica/compiler/asloffset.c        |   2 +-
 sys/contrib/dev/acpica/compiler/aslopcodes.c       |   2 +-
 sys/contrib/dev/acpica/compiler/asloperands.c      |   2 +-
 sys/contrib/dev/acpica/compiler/aslopt.c           |   2 +-
 sys/contrib/dev/acpica/compiler/asloptions.c       |   9 +-
 sys/contrib/dev/acpica/compiler/aslparseop.c       |   2 +-
 sys/contrib/dev/acpica/compiler/aslparser.y        |   2 +-
 sys/contrib/dev/acpica/compiler/aslpld.c           |   2 +-
 sys/contrib/dev/acpica/compiler/aslpredef.c        |   2 +-
 sys/contrib/dev/acpica/compiler/aslprepkg.c        |   2 +-
 sys/contrib/dev/acpica/compiler/aslprimaries.y     |   2 +-
 sys/contrib/dev/acpica/compiler/aslprintf.c        |   2 +-
 sys/contrib/dev/acpica/compiler/aslprune.c         |   2 +-
 sys/contrib/dev/acpica/compiler/aslresource.c      |   2 +-
 sys/contrib/dev/acpica/compiler/aslresources.y     |   2 +-
 sys/contrib/dev/acpica/compiler/aslrestype1.c      |   2 +-
 sys/contrib/dev/acpica/compiler/aslrestype1i.c     |   2 +-
 sys/contrib/dev/acpica/compiler/aslrestype2.c      |   2 +-
 sys/contrib/dev/acpica/compiler/aslrestype2d.c     |   2 +-
 sys/contrib/dev/acpica/compiler/aslrestype2e.c     |   2 +-
 sys/contrib/dev/acpica/compiler/aslrestype2q.c     |   2 +-
 sys/contrib/dev/acpica/compiler/aslrestype2s.c     |   2 +-
 sys/contrib/dev/acpica/compiler/aslrestype2w.c     |   2 +-
 sys/contrib/dev/acpica/compiler/aslrules.y         |   2 +-
 sys/contrib/dev/acpica/compiler/aslstartup.c       |   2 +-
 sys/contrib/dev/acpica/compiler/aslstubs.c         |   2 +-
 sys/contrib/dev/acpica/compiler/aslsupport.l       |   2 +-
 sys/contrib/dev/acpica/compiler/aslsupport.y       |   2 +-
 sys/contrib/dev/acpica/compiler/asltokens.y        |   2 +-
 sys/contrib/dev/acpica/compiler/asltransform.c     |   2 +-
 sys/contrib/dev/acpica/compiler/asltree.c          |   2 +-
 sys/contrib/dev/acpica/compiler/asltypes.h         |   2 +-
 sys/contrib/dev/acpica/compiler/asltypes.y         |   2 +-
 sys/contrib/dev/acpica/compiler/aslutils.c         |   2 +-
 sys/contrib/dev/acpica/compiler/asluuid.c          |   2 +-
 sys/contrib/dev/acpica/compiler/aslwalks.c         |   2 +-
 sys/contrib/dev/acpica/compiler/aslxref.c          |   2 +-
 sys/contrib/dev/acpica/compiler/aslxrefout.c       |   2 +-
 sys/contrib/dev/acpica/compiler/cvcompiler.c       |   2 +-
 sys/contrib/dev/acpica/compiler/cvdisasm.c         |   2 +-
 sys/contrib/dev/acpica/compiler/cvparser.c         |   2 +-
 sys/contrib/dev/acpica/compiler/dtcompile.c        |   2 +-
 sys/contrib/dev/acpica/compiler/dtcompiler.h       |  12 +-
 sys/contrib/dev/acpica/compiler/dtcompilerparser.l |   2 +-
 sys/contrib/dev/acpica/compiler/dtcompilerparser.y |   2 +-
 sys/contrib/dev/acpica/compiler/dtexpress.c        |   2 +-
 sys/contrib/dev/acpica/compiler/dtfield.c          |   2 +-
 sys/contrib/dev/acpica/compiler/dtio.c             |   2 +-
 sys/contrib/dev/acpica/compiler/dtparser.l         |   2 +-
 sys/contrib/dev/acpica/compiler/dtparser.y         |   2 +-
 sys/contrib/dev/acpica/compiler/dtsubtable.c       |   2 +-
 sys/contrib/dev/acpica/compiler/dttable.c          |   2 +-
 sys/contrib/dev/acpica/compiler/dttable1.c         |   2 +-
 sys/contrib/dev/acpica/compiler/dttable2.c         | 478 +++---------------
 sys/contrib/dev/acpica/compiler/dttemplate.c       |   2 +-
 sys/contrib/dev/acpica/compiler/dttemplate.h       | 179 +++----
 sys/contrib/dev/acpica/compiler/dtutils.c          |   9 +-
 sys/contrib/dev/acpica/compiler/preprocess.h       |   2 +-
 sys/contrib/dev/acpica/compiler/prexpress.c        |   2 +-
 sys/contrib/dev/acpica/compiler/prmacros.c         |   2 +-
 sys/contrib/dev/acpica/compiler/prparser.l         |   2 +-
 sys/contrib/dev/acpica/compiler/prparser.y         |   2 +-
 sys/contrib/dev/acpica/compiler/prscan.c           |   2 +-
 sys/contrib/dev/acpica/compiler/prutils.c          |  30 +-
 .../dev/acpica/components/debugger/dbcmds.c        |   2 +-
 .../dev/acpica/components/debugger/dbconvert.c     |   2 +-
 .../dev/acpica/components/debugger/dbdisply.c      |   2 +-
 .../dev/acpica/components/debugger/dbexec.c        |   2 +-
 .../dev/acpica/components/debugger/dbfileio.c      |   2 +-
 .../dev/acpica/components/debugger/dbhistry.c      |   2 +-
 .../dev/acpica/components/debugger/dbinput.c       |   2 +-
 .../dev/acpica/components/debugger/dbmethod.c      |   2 +-
 .../dev/acpica/components/debugger/dbnames.c       |   9 +-
 .../dev/acpica/components/debugger/dbobject.c      |   2 +-
 .../dev/acpica/components/debugger/dbstats.c       |   2 +-
 .../dev/acpica/components/debugger/dbtest.c        |   2 +-
 .../dev/acpica/components/debugger/dbutils.c       |   2 +-
 .../dev/acpica/components/debugger/dbxface.c       |   2 +-
 .../dev/acpica/components/disassembler/dmbuffer.c  |   2 +-
 .../dev/acpica/components/disassembler/dmcstyle.c  |   2 +-
 .../acpica/components/disassembler/dmdeferred.c    |   2 +-
 .../dev/acpica/components/disassembler/dmnames.c   |   2 +-
 .../dev/acpica/components/disassembler/dmopcode.c  |   2 +-
 .../dev/acpica/components/disassembler/dmresrc.c   |   2 +-
 .../dev/acpica/components/disassembler/dmresrcl.c  |   2 +-
 .../dev/acpica/components/disassembler/dmresrcl2.c |   2 +-
 .../dev/acpica/components/disassembler/dmresrcs.c  |   2 +-
 .../dev/acpica/components/disassembler/dmutils.c   |   2 +-
 .../dev/acpica/components/disassembler/dmwalk.c    |   2 +-
 .../dev/acpica/components/dispatcher/dsargs.c      |   2 +-
 .../dev/acpica/components/dispatcher/dscontrol.c   |   2 +-
 .../dev/acpica/components/dispatcher/dsdebug.c     |   2 +-
 .../dev/acpica/components/dispatcher/dsfield.c     |   2 +-
 .../dev/acpica/components/dispatcher/dsinit.c      |   2 +-
 .../dev/acpica/components/dispatcher/dsmethod.c    |   2 +-
 .../dev/acpica/components/dispatcher/dsmthdat.c    |   2 +-
 .../dev/acpica/components/dispatcher/dsobject.c    |   2 +-
 .../dev/acpica/components/dispatcher/dsopcode.c    |   2 +-
 .../dev/acpica/components/dispatcher/dspkginit.c   |   2 +-
 .../dev/acpica/components/dispatcher/dsutils.c     |   2 +-
 .../dev/acpica/components/dispatcher/dswexec.c     |   2 +-
 .../dev/acpica/components/dispatcher/dswload.c     |   2 +-
 .../dev/acpica/components/dispatcher/dswload2.c    |   2 +-
 .../dev/acpica/components/dispatcher/dswscope.c    |   2 +-
 .../dev/acpica/components/dispatcher/dswstate.c    |   2 +-
 sys/contrib/dev/acpica/components/events/evevent.c |   2 +-
 sys/contrib/dev/acpica/components/events/evglock.c |   2 +-
 sys/contrib/dev/acpica/components/events/evgpe.c   |   2 +-
 .../dev/acpica/components/events/evgpeblk.c        |   2 +-
 .../dev/acpica/components/events/evgpeinit.c       |   3 +-
 .../dev/acpica/components/events/evgpeutil.c       |   2 +-
 .../dev/acpica/components/events/evhandler.c       |   2 +-
 sys/contrib/dev/acpica/components/events/evmisc.c  |   2 +-
 .../dev/acpica/components/events/evregion.c        |   2 +-
 .../dev/acpica/components/events/evrgnini.c        |   2 +-
 sys/contrib/dev/acpica/components/events/evsci.c   |   2 +-
 sys/contrib/dev/acpica/components/events/evxface.c |   2 +-
 .../dev/acpica/components/events/evxfevnt.c        |   2 +-
 sys/contrib/dev/acpica/components/events/evxfgpe.c |   4 +-
 .../dev/acpica/components/events/evxfregn.c        |   2 +-
 .../dev/acpica/components/executer/exconcat.c      |   2 +-
 .../dev/acpica/components/executer/exconfig.c      |   2 +-
 .../dev/acpica/components/executer/exconvrt.c      |   2 +-
 .../dev/acpica/components/executer/excreate.c      |   2 +-
 .../dev/acpica/components/executer/exdebug.c       |   2 +-
 .../dev/acpica/components/executer/exdump.c        |   2 +-
 .../dev/acpica/components/executer/exfield.c       |   2 +-
 .../dev/acpica/components/executer/exfldio.c       |   2 +-
 .../dev/acpica/components/executer/exmisc.c        |   2 +-
 .../dev/acpica/components/executer/exmutex.c       |   2 +-
 .../dev/acpica/components/executer/exnames.c       |   2 +-
 .../dev/acpica/components/executer/exoparg1.c      |   2 +-
 .../dev/acpica/components/executer/exoparg2.c      |   2 +-
 .../dev/acpica/components/executer/exoparg3.c      |   2 +-
 .../dev/acpica/components/executer/exoparg6.c      |   2 +-
 .../dev/acpica/components/executer/exprep.c        |   2 +-
 .../dev/acpica/components/executer/exregion.c      |   2 +-
 .../dev/acpica/components/executer/exresnte.c      |   2 +-
 .../dev/acpica/components/executer/exresolv.c      |   2 +-
 .../dev/acpica/components/executer/exresop.c       |   2 +-
 .../dev/acpica/components/executer/exserial.c      |   2 +-
 .../dev/acpica/components/executer/exstore.c       |   2 +-
 .../dev/acpica/components/executer/exstoren.c      |   2 +-
 .../dev/acpica/components/executer/exstorob.c      |   2 +-
 .../dev/acpica/components/executer/exsystem.c      |   2 +-
 .../dev/acpica/components/executer/extrace.c       |   2 +-
 .../dev/acpica/components/executer/exutils.c       |   2 +-
 .../dev/acpica/components/hardware/hwacpi.c        |   2 +-
 .../dev/acpica/components/hardware/hwesleep.c      |   2 +-
 sys/contrib/dev/acpica/components/hardware/hwgpe.c |   2 +-
 sys/contrib/dev/acpica/components/hardware/hwpci.c |   2 +-
 .../dev/acpica/components/hardware/hwregs.c        |   2 +-
 .../dev/acpica/components/hardware/hwsleep.c       |   2 +-
 .../dev/acpica/components/hardware/hwtimer.c       |   2 +-
 .../dev/acpica/components/hardware/hwvalid.c       |   2 +-
 .../dev/acpica/components/hardware/hwxface.c       |   2 +-
 .../dev/acpica/components/hardware/hwxfsleep.c     |   2 +-
 .../dev/acpica/components/namespace/nsaccess.c     |   2 +-
 .../dev/acpica/components/namespace/nsalloc.c      |   2 +-
 .../dev/acpica/components/namespace/nsarguments.c  |   2 +-
 .../dev/acpica/components/namespace/nsconvert.c    |   2 +-
 .../dev/acpica/components/namespace/nsdump.c       |   2 +-
 .../dev/acpica/components/namespace/nsdumpdv.c     |   2 +-
 .../dev/acpica/components/namespace/nseval.c       |   2 +-
 .../dev/acpica/components/namespace/nsinit.c       |   2 +-
 .../dev/acpica/components/namespace/nsload.c       |   2 +-
 .../dev/acpica/components/namespace/nsnames.c      |   2 +-
 .../dev/acpica/components/namespace/nsobject.c     |   2 +-
 .../dev/acpica/components/namespace/nsparse.c      |   2 +-
 .../dev/acpica/components/namespace/nspredef.c     |   2 +-
 .../dev/acpica/components/namespace/nsprepkg.c     |   2 +-
 .../dev/acpica/components/namespace/nsrepair.c     |   2 +-
 .../dev/acpica/components/namespace/nsrepair2.c    |   2 +-
 .../dev/acpica/components/namespace/nssearch.c     |   2 +-
 .../dev/acpica/components/namespace/nsutils.c      |   2 +-
 .../dev/acpica/components/namespace/nswalk.c       |   2 +-
 .../dev/acpica/components/namespace/nsxfeval.c     |   2 +-
 .../dev/acpica/components/namespace/nsxfname.c     |   2 +-
 .../dev/acpica/components/namespace/nsxfobj.c      |   2 +-
 sys/contrib/dev/acpica/components/parser/psargs.c  |   2 +-
 sys/contrib/dev/acpica/components/parser/psloop.c  |   2 +-
 .../dev/acpica/components/parser/psobject.c        |   2 +-
 .../dev/acpica/components/parser/psopcode.c        |   2 +-
 .../dev/acpica/components/parser/psopinfo.c        |   2 +-
 sys/contrib/dev/acpica/components/parser/psparse.c |   2 +-
 sys/contrib/dev/acpica/components/parser/psscope.c |   2 +-
 sys/contrib/dev/acpica/components/parser/pstree.c  |   2 +-
 sys/contrib/dev/acpica/components/parser/psutils.c |   2 +-
 sys/contrib/dev/acpica/components/parser/pswalk.c  |   2 +-
 sys/contrib/dev/acpica/components/parser/psxface.c |   2 +-
 .../dev/acpica/components/resources/rsaddr.c       |   2 +-
 .../dev/acpica/components/resources/rscalc.c       |   2 +-
 .../dev/acpica/components/resources/rscreate.c     |   2 +-
 .../dev/acpica/components/resources/rsdump.c       |   2 +-
 .../dev/acpica/components/resources/rsdumpinfo.c   |   2 +-
 .../dev/acpica/components/resources/rsinfo.c       |   2 +-
 sys/contrib/dev/acpica/components/resources/rsio.c |   2 +-
 .../dev/acpica/components/resources/rsirq.c        |   2 +-
 .../dev/acpica/components/resources/rslist.c       |   2 +-
 .../dev/acpica/components/resources/rsmemory.c     |   2 +-
 .../dev/acpica/components/resources/rsmisc.c       |   2 +-
 .../dev/acpica/components/resources/rsserial.c     |   2 +-
 .../dev/acpica/components/resources/rsutils.c      |   2 +-
 .../dev/acpica/components/resources/rsxface.c      |   2 +-
 sys/contrib/dev/acpica/components/tables/tbdata.c  |   2 +-
 sys/contrib/dev/acpica/components/tables/tbfadt.c  |   2 +-
 sys/contrib/dev/acpica/components/tables/tbfind.c  |   2 +-
 .../dev/acpica/components/tables/tbinstal.c        |   2 +-
 sys/contrib/dev/acpica/components/tables/tbprint.c |   2 +-
 sys/contrib/dev/acpica/components/tables/tbutils.c |   2 +-
 sys/contrib/dev/acpica/components/tables/tbxface.c |   2 +-
 .../dev/acpica/components/tables/tbxfload.c        |   2 +-
 .../dev/acpica/components/tables/tbxfroot.c        |   2 +-
 .../dev/acpica/components/utilities/utaddress.c    |   2 +-
 .../dev/acpica/components/utilities/utalloc.c      |   2 +-
 .../dev/acpica/components/utilities/utascii.c      |   2 +-
 .../dev/acpica/components/utilities/utbuffer.c     |   2 +-
 .../dev/acpica/components/utilities/utcache.c      |   2 +-
 .../dev/acpica/components/utilities/utcksum.c      |   2 +-
 .../dev/acpica/components/utilities/utcopy.c       |   2 +-
 .../dev/acpica/components/utilities/utdebug.c      |   7 +-
 .../dev/acpica/components/utilities/utdecode.c     |   2 +-
 .../dev/acpica/components/utilities/utdelete.c     |   2 +-
 .../dev/acpica/components/utilities/uterror.c      |   2 +-
 .../dev/acpica/components/utilities/uteval.c       |   2 +-
 .../dev/acpica/components/utilities/utexcep.c      |   2 +-
 .../dev/acpica/components/utilities/utglobal.c     |   2 +-
 .../dev/acpica/components/utilities/uthex.c        |   2 +-
 .../dev/acpica/components/utilities/utids.c        |   2 +-
 .../dev/acpica/components/utilities/utinit.c       |   2 +-
 .../dev/acpica/components/utilities/utlock.c       |   2 +-
 .../dev/acpica/components/utilities/utmath.c       |   2 +-
 .../dev/acpica/components/utilities/utmisc.c       |   2 +-
 .../dev/acpica/components/utilities/utmutex.c      |   2 +-
 .../dev/acpica/components/utilities/utnonansi.c    |   2 +-
 .../dev/acpica/components/utilities/utobject.c     |   2 +-
 .../dev/acpica/components/utilities/utosi.c        |   2 +-
 .../dev/acpica/components/utilities/utownerid.c    |   2 +-
 .../dev/acpica/components/utilities/utpredef.c     |   2 +-
 .../dev/acpica/components/utilities/utresdecode.c  |   2 +-
 .../dev/acpica/components/utilities/utresrc.c      |   2 +-
 .../dev/acpica/components/utilities/utstate.c      |   2 +-
 .../dev/acpica/components/utilities/utstring.c     |   2 +-
 .../dev/acpica/components/utilities/utstrsuppt.c   |   2 +-
 .../dev/acpica/components/utilities/utstrtoul64.c  |   2 +-
 .../dev/acpica/components/utilities/uttrack.c      |   2 +-
 .../dev/acpica/components/utilities/utuuid.c       |   2 +-
 .../dev/acpica/components/utilities/utxface.c      |   2 +-
 .../dev/acpica/components/utilities/utxferror.c    |   2 +-
 .../dev/acpica/components/utilities/utxfinit.c     |   2 +-
 .../dev/acpica/components/utilities/utxfmutex.c    |   2 +-
 sys/contrib/dev/acpica/include/acapps.h            |   2 +-
 sys/contrib/dev/acpica/include/acbuffer.h          |   2 +-
 sys/contrib/dev/acpica/include/acclib.h            |   2 +-
 sys/contrib/dev/acpica/include/accommon.h          |   2 +-
 sys/contrib/dev/acpica/include/acconfig.h          |   2 +-
 sys/contrib/dev/acpica/include/acconvert.h         |   2 +-
 sys/contrib/dev/acpica/include/acdebug.h           |   2 +-
 sys/contrib/dev/acpica/include/acdisasm.h          |  42 +-
 sys/contrib/dev/acpica/include/acdispat.h          |   2 +-
 sys/contrib/dev/acpica/include/acevents.h          |   2 +-
 sys/contrib/dev/acpica/include/acexcep.h           |   2 +-
 sys/contrib/dev/acpica/include/acglobal.h          |   2 +-
 sys/contrib/dev/acpica/include/achware.h           |   2 +-
 sys/contrib/dev/acpica/include/acinterp.h          |   2 +-
 sys/contrib/dev/acpica/include/aclocal.h           |   4 +-
 sys/contrib/dev/acpica/include/acmacros.h          |   2 +-
 sys/contrib/dev/acpica/include/acnames.h           |   2 +-
 sys/contrib/dev/acpica/include/acnamesp.h          |   2 +-
 sys/contrib/dev/acpica/include/acobject.h          |  84 ++--
 sys/contrib/dev/acpica/include/acopcode.h          |   2 +-
 sys/contrib/dev/acpica/include/acoutput.h          |   2 +-
 sys/contrib/dev/acpica/include/acparser.h          |   2 +-
 sys/contrib/dev/acpica/include/acpi.h              |   2 +-
 sys/contrib/dev/acpica/include/acpiosxf.h          |   2 +-
 sys/contrib/dev/acpica/include/acpixf.h            |   2 +-
 sys/contrib/dev/acpica/include/acpredef.h          |   2 +-
 sys/contrib/dev/acpica/include/acresrc.h           |   2 +-
 sys/contrib/dev/acpica/include/acrestyp.h          |   2 +-
 sys/contrib/dev/acpica/include/acstruct.h          |   2 +-
 sys/contrib/dev/acpica/include/actables.h          |   2 +-
 sys/contrib/dev/acpica/include/actbinfo.h          |  24 +-
 sys/contrib/dev/acpica/include/actbl.h             |   2 +-
 sys/contrib/dev/acpica/include/actbl1.h            |  12 +-
 sys/contrib/dev/acpica/include/actbl2.h            | 545 +++++++++++----------
 sys/contrib/dev/acpica/include/actbl3.h            |  22 +-
 sys/contrib/dev/acpica/include/actypes.h           |   2 +-
 sys/contrib/dev/acpica/include/acutils.h           |   2 +-
 sys/contrib/dev/acpica/include/acuuid.h            |   2 +-
 sys/contrib/dev/acpica/include/amlcode.h           |   2 +-
 sys/contrib/dev/acpica/include/amlresrc.h          |   2 +-
 sys/contrib/dev/acpica/include/platform/acenv.h    |   2 +-
 sys/contrib/dev/acpica/include/platform/acenvex.h  |   2 +-
 .../dev/acpica/include/platform/acfreebsd.h        |   2 +-
 sys/contrib/dev/acpica/include/platform/acgcc.h    |   4 +-
 sys/contrib/dev/acpica/include/platform/acgccex.h  |   2 +-
 .../acpica/os_specific/service_layers/osgendbg.c   |   2 +-
 .../acpica/os_specific/service_layers/osunixxf.c   |   2 +-
 358 files changed, 1152 insertions(+), 2049 deletions(-)

diff --cc sys/contrib/dev/acpica/common/getopt.c
index 59e40334dad7,000000000000..9792304df75e
mode 100644,000000..100644
--- a/sys/contrib/dev/acpica/common/getopt.c
+++ b/sys/contrib/dev/acpica/common/getopt.c
@@@ -1,384 -1,0 +1,384 @@@
 +/******************************************************************************
 + *
 + * Module Name: getopt
 + *
 + *****************************************************************************/
 +
 +/******************************************************************************
 + *
 + * 1. Copyright Notice
 + *
-  * Some or all of this work - Copyright (c) 1999 - 2023, Intel Corp.
++ * Some or all of this work - Copyright (c) 1999 - 2024, Intel Corp.
 + * All rights reserved.
 + *
 + * 2. License
 + *
 + * 2.1. This is your license from Intel Corp. under its intellectual property
 + * rights. You may have additional license terms from the party that provided
 + * you this software, covering your right to use that party's intellectual
 + * property rights.
 + *
 + * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
 + * copy of the source code appearing in this file ("Covered Code") an
 + * irrevocable, perpetual, worldwide license under Intel's copyrights in the
 + * base code distributed originally by Intel ("Original Intel Code") to copy,
 + * make derivatives, distribute, use and display any portion of the Covered
 + * Code in any form, with the right to sublicense such rights; and
 + *
 + * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
 + * license (with the right to sublicense), under only those claims of Intel
 + * patents that are infringed by the Original Intel Code, to make, use, sell,
 + * offer to sell, and import the Covered Code and derivative works thereof
 + * solely to the minimum extent necessary to exercise the above copyright
 + * license, and in no event shall the patent license extend to any additions
 + * to or modifications of the Original Intel Code. No other license or right
 + * is granted directly or by implication, estoppel or otherwise;
 + *
 + * The above copyright and patent license is granted only if the following
 + * conditions are met:
 + *
 + * 3. Conditions
 + *
 + * 3.1. Redistribution of Source with Rights to Further Distribute Source.
 + * Redistribution of source code of any substantial portion of the Covered
 + * Code or modification with rights to further distribute source must include
 + * the above Copyright Notice, the above License, this list of Conditions,
 + * and the following Disclaimer and Export Compliance provision. In addition,
 + * Licensee must cause all Covered Code to which Licensee contributes to
 + * contain a file documenting the changes Licensee made to create that Covered
 + * Code and the date of any change. Licensee must include in that file the
 + * documentation of any changes made by any predecessor Licensee. Licensee
 + * must include a prominent statement that the modification is derived,
 + * directly or indirectly, from Original Intel Code.
 + *
 + * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
 + * Redistribution of source code of any substantial portion of the Covered
 + * Code or modification without rights to further distribute source must
 + * include the following Disclaimer and Export Compliance provision in the
 + * documentation and/or other materials provided with distribution. In
 + * addition, Licensee may not authorize further sublicense of source of any
 + * portion of the Covered Code, and must include terms to the effect that the
 + * license from Licensee to its licensee is limited to the intellectual
 + * property embodied in the software Licensee provides to its licensee, and
 + * not to intellectual property embodied in modifications its licensee may
 + * make.
 + *
 + * 3.3. Redistribution of Executable. Redistribution in executable form of any
 + * substantial portion of the Covered Code or modification must reproduce the
 + * above Copyright Notice, and the following Disclaimer and Export Compliance
 + * provision in the documentation and/or other materials provided with the
 + * distribution.
 + *
 + * 3.4. Intel retains all right, title, and interest in and to the Original
 + * Intel Code.
 + *
 + * 3.5. Neither the name Intel nor any other trademark owned or controlled by
 + * Intel shall be used in advertising or otherwise to promote the sale, use or
 + * other dealings in products derived from or relating to the Covered Code
 + * without prior written authorization from Intel.
 + *
 + * 4. Disclaimer and Export Compliance
 + *
 + * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
 + * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
 + * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
 + * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
 + * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
 + * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
 + * PARTICULAR PURPOSE.
 + *
 + * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
 + * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
 + * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
 + * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
 + * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
 + * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
 + * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
 + * LIMITED REMEDY.
 + *
 + * 4.3. Licensee shall not export, either directly or indirectly, any of this
 + * software or system incorporating such software without first obtaining any
 + * required license or other approval from the U. S. Department of Commerce or
 + * any other agency or department of the United States Government. In the
 + * event Licensee exports any such software from the United States or
 + * re-exports any such software from a foreign destination, Licensee shall
 + * ensure that the distribution and export/re-export of the software is in
 + * compliance with all laws, regulations, orders, or other restrictions of the
 + * U.S. Export Administration Regulations. Licensee agrees that neither it nor
 + * any of its subsidiaries will export/re-export any technical data, process,
 + * software, or service, directly or indirectly, to any country for which the
 + * United States government or any agency thereof requires an export license,
 + * other governmental approval, or letter of assurance, without first obtaining
 + * such license, approval or letter.
 + *
 + *****************************************************************************
 + *
 + * Alternatively, you may choose to be licensed under the terms of the
 + * following license:
 + *
 + * Redistribution and use in source and binary forms, with or without
 + * modification, are permitted provided that the following conditions
 + * are met:
 + * 1. Redistributions of source code must retain the above copyright
 + *    notice, this list of conditions, and the following disclaimer,
 + *    without modification.
 + * 2. Redistributions in binary form must reproduce at minimum a disclaimer
 + *    substantially similar to the "NO WARRANTY" disclaimer below
 + *    ("Disclaimer") and any redistribution must be conditioned upon
 + *    including a substantially similar Disclaimer requirement for further
 + *    binary redistribution.
 + * 3. Neither the names of the above-listed copyright holders nor the names
 + *    of any contributors may be used to endorse or promote products derived
 + *    from this software without specific prior written permission.
 + *
 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 + *
 + * Alternatively, you may choose to be licensed under the terms of the
 + * GNU General Public License ("GPL") version 2 as published by the Free
 + * Software Foundation.
 + *
 + *****************************************************************************/
 +
 +/*
 + * ACPICA getopt() implementation
 + *
 + * Option strings:
 + *    "f"       - Option has no arguments
 + *    "f:"      - Option requires an argument
 + *    "f+"      - Option has an optional argument
 + *    "f^"      - Option has optional single-char sub-options
 + *    "f|"      - Option has required single-char sub-options
 + */
 +
 +#include <contrib/dev/acpica/include/acpi.h>
 +#include <contrib/dev/acpica/include/accommon.h>
 +#include <contrib/dev/acpica/include/acapps.h>
 +
 +#define ACPI_OPTION_ERROR(msg, badchar) \
 +    if (AcpiGbl_Opterr) {fprintf (stderr, "%s%c\n", msg, badchar);}
 +
 +
 +int                 AcpiGbl_Opterr = 1;
 +int                 AcpiGbl_Optind = 1;
 +int                 AcpiGbl_SubOptChar = 0;
 +char                *AcpiGbl_Optarg;
 +
 +static int          CurrentCharPtr = 1;
 +
 +
 +/*******************************************************************************
 + *
 + * FUNCTION:    AcpiGetoptArgument
 + *
 + * PARAMETERS:  argc, argv          - from main
 + *
 + * RETURN:      0 if an argument was found, -1 otherwise. Sets AcpiGbl_Optarg
 + *              to point to the next argument.
 + *
 + * DESCRIPTION: Get the next argument. Used to obtain arguments for the
 + *              two-character options after the original call to AcpiGetopt.
 + *              Note: Either the argument starts at the next character after
 + *              the option, or it is pointed to by the next argv entry.
 + *              (After call to AcpiGetopt, we need to backup to the previous
 + *              argv entry).
 + *
 + ******************************************************************************/
 +
 +int
 +AcpiGetoptArgument (
 +    int                     argc,
 +    char                    **argv)
 +{
 +
 +    AcpiGbl_Optind--;
 +    CurrentCharPtr++;
 +
 +    if (argv[AcpiGbl_Optind][(int) (CurrentCharPtr+1)] != '\0')
 +    {
 +        AcpiGbl_Optarg = &argv[AcpiGbl_Optind++][(int) (CurrentCharPtr+1)];
 +    }
 +    else if (++AcpiGbl_Optind >= argc)
 +    {
 +        ACPI_OPTION_ERROR ("\nOption requires an argument", 0);
 +
 +        CurrentCharPtr = 1;
 +        return (-1);
 +    }
 +    else
 +    {
 +        AcpiGbl_Optarg = argv[AcpiGbl_Optind++];
 +    }
 +
 +    CurrentCharPtr = 1;
 +    return (0);
 +}
 +
 +
 +/*******************************************************************************
 + *
 + * FUNCTION:    AcpiGetopt
 + *
 + * PARAMETERS:  argc, argv          - from main
 + *              opts                - options info list
 + *
 + * RETURN:      Option character or ACPI_OPT_END
 + *
 + * DESCRIPTION: Get the next option
 + *
 + ******************************************************************************/
 +
 +int
 +AcpiGetopt(
 +    int                     argc,
 +    char                    **argv,
 +    char                    *opts)
 +{
 +    int                     CurrentChar;
 +    char                    *OptsPtr;
 +
 +
 +    if (CurrentCharPtr == 1)
 +    {
 +        if (AcpiGbl_Optind >= argc ||
 +            argv[AcpiGbl_Optind][0] != '-' ||
 +            argv[AcpiGbl_Optind][1] == '\0')
 +        {
 +            return (ACPI_OPT_END);
 +        }
 +        else if (strcmp (argv[AcpiGbl_Optind], "--") == 0)
 +        {
 +            AcpiGbl_Optind++;
 +            return (ACPI_OPT_END);
 +        }
 +    }
 +
 +    /* Get the option */
 +
 +    CurrentChar = argv[AcpiGbl_Optind][CurrentCharPtr];
 +
 +    /* Make sure that the option is legal */
 +
 +    if (CurrentChar == ':' ||
 +       (OptsPtr = strchr (opts, CurrentChar)) == NULL)
 +    {
 +        ACPI_OPTION_ERROR ("Illegal option: -", CurrentChar);
 +
 +        if (argv[AcpiGbl_Optind][++CurrentCharPtr] == '\0')
 +        {
 +            AcpiGbl_Optind++;
 +            CurrentCharPtr = 1;
 +        }
 +
 +        return ('?');
 +    }
 +
 +    /* Option requires an argument? */
 +
 +    if (*++OptsPtr == ':')
 +    {
 +        if (argv[AcpiGbl_Optind][(int) (CurrentCharPtr+1)] != '\0')
 +        {
 +            AcpiGbl_Optarg = &argv[AcpiGbl_Optind++][(int) (CurrentCharPtr+1)];
 +        }
 +        else if (++AcpiGbl_Optind >= argc)
 +        {
 +            ACPI_OPTION_ERROR (
 +                "Option requires an argument: -", CurrentChar);
 +
 +            CurrentCharPtr = 1;
 +            return ('?');
 +        }
 +        else
 +        {
 +            AcpiGbl_Optarg = argv[AcpiGbl_Optind++];
 +        }
 +
 +        CurrentCharPtr = 1;
 +    }
 +
 +    /* Option has an optional argument? */
 +
 +    else if (*OptsPtr == '+')
 +    {
 +        if (argv[AcpiGbl_Optind][(int) (CurrentCharPtr+1)] != '\0')
 +        {
 +            AcpiGbl_Optarg = &argv[AcpiGbl_Optind++][(int) (CurrentCharPtr+1)];
 +        }
 +        else if (++AcpiGbl_Optind >= argc)
 +        {
 +            AcpiGbl_Optarg = NULL;
 +        }
 +        else
 +        {
 +            AcpiGbl_Optarg = argv[AcpiGbl_Optind++];
 +        }
 +
 +        CurrentCharPtr = 1;
 +    }
 +
 +    /* Option has optional single-char arguments? */
 +
 +    else if (*OptsPtr == '^')
 +    {
 +        if (argv[AcpiGbl_Optind][(int) (CurrentCharPtr+1)] != '\0')
 +        {
 +            AcpiGbl_Optarg = &argv[AcpiGbl_Optind][(int) (CurrentCharPtr+1)];
 +        }
 +        else
 +        {
 +            AcpiGbl_Optarg = "^";
 +        }
 +
 +        AcpiGbl_SubOptChar = AcpiGbl_Optarg[0];
 +        AcpiGbl_Optind++;
 +        CurrentCharPtr = 1;
 +    }
 +
 +    /* Option has a required single-char argument? */
 +
 +    else if (*OptsPtr == '|')
 +    {
 +        if (argv[AcpiGbl_Optind][(int) (CurrentCharPtr+1)] != '\0')
 +        {
 +            AcpiGbl_Optarg = &argv[AcpiGbl_Optind][(int) (CurrentCharPtr+1)];
 +        }
 +        else
 +        {
 +            ACPI_OPTION_ERROR (
 +                "Option requires a single-character suboption: -",
 +                CurrentChar);
 +
 +            CurrentCharPtr = 1;
 +            return ('?');
 +        }
 +
 +        AcpiGbl_SubOptChar = AcpiGbl_Optarg[0];
 +        AcpiGbl_Optind++;
 +        CurrentCharPtr = 1;
 +    }
 +
 +    /* Option with no arguments */
 +
 +    else
 +    {
 +        if (argv[AcpiGbl_Optind][++CurrentCharPtr] == '\0')
 +        {
 +            CurrentCharPtr = 1;
 +            AcpiGbl_Optind++;
 +        }
 +
 +        AcpiGbl_Optarg = NULL;
 +    }
 +
 +    return (CurrentChar);
 +}
diff --cc sys/contrib/dev/acpica/compiler/aslhelp.c
index 4ad4ad37fb4b,5ef400d1528c..357ae8a23ff5
--- a/sys/contrib/dev/acpica/compiler/aslhelp.c
+++ b/sys/contrib/dev/acpica/compiler/aslhelp.c
@@@ -182,8 -182,10 +182,9 @@@ Usage 
      ACPI_OPTION ("-I  <dir>",       "Specify additional include directory");
      ACPI_OPTION ("-p  <prefix>",    "Specify path/filename prefix for all output files");
      ACPI_OPTION ("-v",              "Display compiler version");
 -    ACPI_OPTION ("-vd",             "Display compiler build date and time");
      ACPI_OPTION ("-vo",             "Enable optimization comments");
      ACPI_OPTION ("-vs",             "Disable signon");
+     ACPI_OPTION ("-ld",             "Disable deterministic output");
  
      printf ("\nHelp:\n");
      ACPI_OPTION ("-h",              "This message");
diff --cc sys/contrib/dev/acpica/components/debugger/dbtest.c
index 9fc311c82d6c,000000000000..955b40d0dd89
mode 100644,000000..100644
--- a/sys/contrib/dev/acpica/components/debugger/dbtest.c
+++ b/sys/contrib/dev/acpica/components/debugger/dbtest.c
@@@ -1,1340 -1,0 +1,1340 @@@
 +/*******************************************************************************
 + *
 + * Module Name: dbtest - Various debug-related tests
 + *
 + ******************************************************************************/
 +
 +/******************************************************************************
 + *
 + * 1. Copyright Notice
 + *
-  * Some or all of this work - Copyright (c) 1999 - 2023, Intel Corp.
++ * Some or all of this work - Copyright (c) 1999 - 2024, Intel Corp.
 + * All rights reserved.
 + *
 + * 2. License
 + *
 + * 2.1. This is your license from Intel Corp. under its intellectual property
 + * rights. You may have additional license terms from the party that provided
 + * you this software, covering your right to use that party's intellectual
 + * property rights.
 + *
 + * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
 + * copy of the source code appearing in this file ("Covered Code") an
 + * irrevocable, perpetual, worldwide license under Intel's copyrights in the
 + * base code distributed originally by Intel ("Original Intel Code") to copy,
 + * make derivatives, distribute, use and display any portion of the Covered
 + * Code in any form, with the right to sublicense such rights; and
 + *
 + * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
 + * license (with the right to sublicense), under only those claims of Intel
 + * patents that are infringed by the Original Intel Code, to make, use, sell,
 + * offer to sell, and import the Covered Code and derivative works thereof
 + * solely to the minimum extent necessary to exercise the above copyright
 + * license, and in no event shall the patent license extend to any additions
 + * to or modifications of the Original Intel Code. No other license or right
 + * is granted directly or by implication, estoppel or otherwise;
 + *
 + * The above copyright and patent license is granted only if the following
 + * conditions are met:
 + *
 + * 3. Conditions
 + *
 + * 3.1. Redistribution of Source with Rights to Further Distribute Source.
 + * Redistribution of source code of any substantial portion of the Covered
 + * Code or modification with rights to further distribute source must include
 + * the above Copyright Notice, the above License, this list of Conditions,
 + * and the following Disclaimer and Export Compliance provision. In addition,
 + * Licensee must cause all Covered Code to which Licensee contributes to
 + * contain a file documenting the changes Licensee made to create that Covered
 + * Code and the date of any change. Licensee must include in that file the
 + * documentation of any changes made by any predecessor Licensee. Licensee
 + * must include a prominent statement that the modification is derived,
 + * directly or indirectly, from Original Intel Code.
 + *
 + * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
 + * Redistribution of source code of any substantial portion of the Covered
 + * Code or modification without rights to further distribute source must
 + * include the following Disclaimer and Export Compliance provision in the
 + * documentation and/or other materials provided with distribution. In
 + * addition, Licensee may not authorize further sublicense of source of any
 + * portion of the Covered Code, and must include terms to the effect that the
 + * license from Licensee to its licensee is limited to the intellectual
 + * property embodied in the software Licensee provides to its licensee, and
 + * not to intellectual property embodied in modifications its licensee may
 + * make.
 + *
 + * 3.3. Redistribution of Executable. Redistribution in executable form of any
 + * substantial portion of the Covered Code or modification must reproduce the
 + * above Copyright Notice, and the following Disclaimer and Export Compliance
 + * provision in the documentation and/or other materials provided with the
 + * distribution.
 + *
 + * 3.4. Intel retains all right, title, and interest in and to the Original
 + * Intel Code.
 + *
 + * 3.5. Neither the name Intel nor any other trademark owned or controlled by
 + * Intel shall be used in advertising or otherwise to promote the sale, use or
 + * other dealings in products derived from or relating to the Covered Code
 + * without prior written authorization from Intel.
 + *
 + * 4. Disclaimer and Export Compliance
 + *
 + * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
 + * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
 + * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
 + * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
 + * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
 + * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
 + * PARTICULAR PURPOSE.
 + *
 + * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
 + * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
 + * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
 + * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
 + * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
 + * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
 + * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
 + * LIMITED REMEDY.
 + *
 + * 4.3. Licensee shall not export, either directly or indirectly, any of this
 + * software or system incorporating such software without first obtaining any
 + * required license or other approval from the U. S. Department of Commerce or
 + * any other agency or department of the United States Government. In the
 + * event Licensee exports any such software from the United States or
 + * re-exports any such software from a foreign destination, Licensee shall
 + * ensure that the distribution and export/re-export of the software is in
 + * compliance with all laws, regulations, orders, or other restrictions of the
 + * U.S. Export Administration Regulations. Licensee agrees that neither it nor
 + * any of its subsidiaries will export/re-export any technical data, process,
 + * software, or service, directly or indirectly, to any country for which the
 + * United States government or any agency thereof requires an export license,
 + * other governmental approval, or letter of assurance, without first obtaining
 + * such license, approval or letter.
 + *
 + *****************************************************************************
 + *
 + * Alternatively, you may choose to be licensed under the terms of the
 + * following license:
 + *
 + * Redistribution and use in source and binary forms, with or without
 + * modification, are permitted provided that the following conditions
 + * are met:
 + * 1. Redistributions of source code must retain the above copyright
 + *    notice, this list of conditions, and the following disclaimer,
 + *    without modification.
 + * 2. Redistributions in binary form must reproduce at minimum a disclaimer
 + *    substantially similar to the "NO WARRANTY" disclaimer below
 + *    ("Disclaimer") and any redistribution must be conditioned upon
 + *    including a substantially similar Disclaimer requirement for further
 + *    binary redistribution.
 + * 3. Neither the names of the above-listed copyright holders nor the names
 + *    of any contributors may be used to endorse or promote products derived
 + *    from this software without specific prior written permission.
 + *
 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 + *
 + * Alternatively, you may choose to be licensed under the terms of the
 + * GNU General Public License ("GPL") version 2 as published by the Free
 + * Software Foundation.
 + *
 + *****************************************************************************/
 +
 +#include <contrib/dev/acpica/include/acpi.h>
 +#include <contrib/dev/acpica/include/accommon.h>
 +#include <contrib/dev/acpica/include/acdebug.h>
 +#include <contrib/dev/acpica/include/acnamesp.h>
 +#include <contrib/dev/acpica/include/acpredef.h>
 +#include <contrib/dev/acpica/include/acinterp.h>
 +
 +
 +#define _COMPONENT          ACPI_CA_DEBUGGER
 +        ACPI_MODULE_NAME    ("dbtest")
 +
 +
 +/* Local prototypes */
 +
 +static void
 +AcpiDbTestAllObjects (
 +    void);
 +
 +static ACPI_STATUS
 +AcpiDbTestOneObject (
 +    ACPI_HANDLE             ObjHandle,
 +    UINT32                  NestingLevel,
 +    void                    *Context,
 +    void                    **ReturnValue);
 +
 +static ACPI_STATUS
 +AcpiDbTestIntegerType (
 +    ACPI_NAMESPACE_NODE     *Node,
 +    UINT32                  BitLength);
 +
 +static ACPI_STATUS
 +AcpiDbTestBufferType (
 +    ACPI_NAMESPACE_NODE     *Node,
 +    UINT32                  BitLength);
 +
 +static ACPI_STATUS
 +AcpiDbTestStringType (
 +    ACPI_NAMESPACE_NODE     *Node,
 +    UINT32                  ByteLength);
 +
 +static ACPI_STATUS
 +AcpiDbTestPackageType (
 +    ACPI_NAMESPACE_NODE     *Node);
 +
 +static ACPI_STATUS
 +AcpiDbTestFieldUnitType (
 +    ACPI_OPERAND_OBJECT     *ObjDesc);
 +
 +static ACPI_STATUS
 +AcpiDbReadFromObject (
*** 1907 LINES SKIPPED ***