ACK: [PATCH] ACPICA: update to version 20140114 (LP: #1269423)
IvanHu
ivan.hu at canonical.com
Fri Jan 17 05:55:34 UTC 2014
On 01/15/2014 11:02 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Update to ACPICA 20140114, see the release note
> https://lists.acpica.org/pipermail/devel/2014-January/000613.html
> for more information.
>
> Exhaustively tested against a wide collection of ACPI tables,
> with method and syntaxcheck, no issues found.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/acpica/Makefile.am | 1 +
> src/acpica/source/common/acgetline.c | 2 +-
> src/acpica/source/common/adfile.c | 2 +-
> src/acpica/source/common/adisasm.c | 2 +-
> src/acpica/source/common/adwalk.c | 2 +-
> src/acpica/source/common/ahpredef.c | 2 +-
> src/acpica/source/common/dmextern.c | 2 +-
> src/acpica/source/common/dmrestag.c | 2 +-
> src/acpica/source/common/dmtable.c | 2 +-
> src/acpica/source/common/dmtbdump.c | 2 +-
> src/acpica/source/common/dmtbinfo.c | 2 +-
> src/acpica/source/compiler/aslanalyze.c | 2 +-
> src/acpica/source/compiler/aslbtypes.c | 2 +-
> src/acpica/source/compiler/aslcodegen.c | 2 +-
> src/acpica/source/compiler/aslcompile.c | 2 +-
> src/acpica/source/compiler/aslcompiler.h | 2 +-
> src/acpica/source/compiler/aslcompiler.l | 2 +-
> src/acpica/source/compiler/aslcompiler.y | 2 +-
> src/acpica/source/compiler/asldefine.h | 2 +-
> src/acpica/source/compiler/aslerror.c | 2 +-
> src/acpica/source/compiler/aslfileio.c | 2 +-
> src/acpica/source/compiler/aslfiles.c | 2 +-
> src/acpica/source/compiler/aslfold.c | 2 +-
> src/acpica/source/compiler/aslglobal.h | 2 +-
> src/acpica/source/compiler/aslhex.c | 2 +-
> src/acpica/source/compiler/asllength.c | 2 +-
> src/acpica/source/compiler/asllisting.c | 2 +-
> src/acpica/source/compiler/asllistsup.c | 2 +-
> src/acpica/source/compiler/aslload.c | 2 +-
> src/acpica/source/compiler/asllookup.c | 2 +-
> src/acpica/source/compiler/aslmain.c | 2 +-
> src/acpica/source/compiler/aslmap.c | 2 +-
> src/acpica/source/compiler/aslmessages.h | 2 +-
> src/acpica/source/compiler/aslmethod.c | 2 +-
> src/acpica/source/compiler/aslnamesp.c | 2 +-
> src/acpica/source/compiler/asloffset.c | 2 +-
> src/acpica/source/compiler/aslopcodes.c | 2 +-
> src/acpica/source/compiler/asloperands.c | 2 +-
> src/acpica/source/compiler/aslopt.c | 4 +-
> src/acpica/source/compiler/aslpredef.c | 2 +-
> src/acpica/source/compiler/aslprepkg.c | 2 +-
> src/acpica/source/compiler/aslresource.c | 2 +-
> src/acpica/source/compiler/aslrestype1.c | 2 +-
> src/acpica/source/compiler/aslrestype1i.c | 2 +-
> src/acpica/source/compiler/aslrestype2.c | 2 +-
> src/acpica/source/compiler/aslrestype2d.c | 2 +-
> src/acpica/source/compiler/aslrestype2e.c | 2 +-
> src/acpica/source/compiler/aslrestype2q.c | 2 +-
> src/acpica/source/compiler/aslrestype2s.c | 2 +-
> src/acpica/source/compiler/aslrestype2w.c | 2 +-
> src/acpica/source/compiler/aslstartup.c | 2 +-
> src/acpica/source/compiler/aslstubs.c | 2 +-
> src/acpica/source/compiler/aslsupport.l | 2 +-
> src/acpica/source/compiler/asltransform.c | 2 +-
> src/acpica/source/compiler/asltree.c | 2 +-
> src/acpica/source/compiler/asltypes.h | 2 +-
> src/acpica/source/compiler/aslutils.c | 2 +-
> src/acpica/source/compiler/asluuid.c | 2 +-
> src/acpica/source/compiler/aslwalks.c | 6 +-
> src/acpica/source/compiler/aslxref.c | 2 +-
> src/acpica/source/compiler/dtcompile.c | 2 +-
> src/acpica/source/compiler/dtcompiler.h | 2 +-
> src/acpica/source/compiler/dtexpress.c | 2 +-
> src/acpica/source/compiler/dtfield.c | 2 +-
> src/acpica/source/compiler/dtio.c | 2 +-
> src/acpica/source/compiler/dtparser.l | 2 +-
> src/acpica/source/compiler/dtparser.y | 2 +-
> src/acpica/source/compiler/dtsubtable.c | 2 +-
> src/acpica/source/compiler/dttable.c | 2 +-
> src/acpica/source/compiler/dttemplate.c | 2 +-
> src/acpica/source/compiler/dttemplate.h | 2 +-
> src/acpica/source/compiler/dtutils.c | 2 +-
> src/acpica/source/compiler/preprocess.h | 2 +-
> src/acpica/source/compiler/prexpress.c | 2 +-
> src/acpica/source/compiler/prmacros.c | 2 +-
> src/acpica/source/compiler/prparser.l | 2 +-
> src/acpica/source/compiler/prparser.y | 2 +-
> src/acpica/source/compiler/prscan.c | 2 +-
> src/acpica/source/compiler/prutils.c | 2 +-
> src/acpica/source/components/debugger/dbcmds.c | 2 +-
> src/acpica/source/components/debugger/dbconvert.c | 2 +-
> src/acpica/source/components/debugger/dbdisply.c | 2 +-
> src/acpica/source/components/debugger/dbexec.c | 2 +-
> src/acpica/source/components/debugger/dbfileio.c | 13 +-
> src/acpica/source/components/debugger/dbhistry.c | 2 +-
> src/acpica/source/components/debugger/dbinput.c | 24 +-
> src/acpica/source/components/debugger/dbmethod.c | 203 +---
> src/acpica/source/components/debugger/dbnames.c | 2 +-
> src/acpica/source/components/debugger/dbstats.c | 4 +-
> src/acpica/source/components/debugger/dbtest.c | 1209 ++++++++++++++++++++
> src/acpica/source/components/debugger/dbutils.c | 2 +-
> src/acpica/source/components/debugger/dbxface.c | 2 +-
> .../source/components/disassembler/dmbuffer.c | 2 +-
> .../source/components/disassembler/dmdeferred.c | 2 +-
> .../source/components/disassembler/dmnames.c | 2 +-
> .../source/components/disassembler/dmobject.c | 2 +-
> .../source/components/disassembler/dmopcode.c | 2 +-
> .../source/components/disassembler/dmresrc.c | 2 +-
> .../source/components/disassembler/dmresrcl.c | 2 +-
> .../source/components/disassembler/dmresrcl2.c | 2 +-
> .../source/components/disassembler/dmresrcs.c | 2 +-
> .../source/components/disassembler/dmutils.c | 2 +-
> src/acpica/source/components/disassembler/dmwalk.c | 2 +-
> src/acpica/source/components/dispatcher/dsargs.c | 2 +-
> .../source/components/dispatcher/dscontrol.c | 2 +-
> src/acpica/source/components/dispatcher/dsfield.c | 2 +-
> src/acpica/source/components/dispatcher/dsinit.c | 2 +-
> src/acpica/source/components/dispatcher/dsmethod.c | 2 +-
> src/acpica/source/components/dispatcher/dsmthdat.c | 2 +-
> src/acpica/source/components/dispatcher/dsobject.c | 2 +-
> src/acpica/source/components/dispatcher/dsopcode.c | 2 +-
> src/acpica/source/components/dispatcher/dsutils.c | 2 +-
> src/acpica/source/components/dispatcher/dswexec.c | 2 +-
> src/acpica/source/components/dispatcher/dswload.c | 2 +-
> src/acpica/source/components/dispatcher/dswload2.c | 2 +-
> src/acpica/source/components/dispatcher/dswscope.c | 2 +-
> src/acpica/source/components/dispatcher/dswstate.c | 2 +-
> src/acpica/source/components/events/evevent.c | 2 +-
> src/acpica/source/components/events/evglock.c | 2 +-
> src/acpica/source/components/events/evgpe.c | 2 +-
> src/acpica/source/components/events/evgpeblk.c | 2 +-
> src/acpica/source/components/events/evgpeinit.c | 2 +-
> src/acpica/source/components/events/evgpeutil.c | 2 +-
> src/acpica/source/components/events/evhandler.c | 2 +-
> src/acpica/source/components/events/evmisc.c | 2 +-
> src/acpica/source/components/events/evregion.c | 2 +-
> src/acpica/source/components/events/evrgnini.c | 2 +-
> src/acpica/source/components/events/evsci.c | 2 +-
> src/acpica/source/components/events/evxface.c | 2 +-
> src/acpica/source/components/events/evxfevnt.c | 2 +-
> src/acpica/source/components/events/evxfgpe.c | 24 +-
> src/acpica/source/components/events/evxfregn.c | 2 +-
> src/acpica/source/components/executer/exconfig.c | 2 +-
> src/acpica/source/components/executer/exconvrt.c | 2 +-
> src/acpica/source/components/executer/excreate.c | 2 +-
> src/acpica/source/components/executer/exdebug.c | 2 +-
> src/acpica/source/components/executer/exdump.c | 2 +-
> src/acpica/source/components/executer/exfield.c | 2 +-
> src/acpica/source/components/executer/exfldio.c | 2 +-
> src/acpica/source/components/executer/exmisc.c | 2 +-
> src/acpica/source/components/executer/exmutex.c | 2 +-
> src/acpica/source/components/executer/exnames.c | 2 +-
> src/acpica/source/components/executer/exoparg1.c | 2 +-
> src/acpica/source/components/executer/exoparg2.c | 2 +-
> src/acpica/source/components/executer/exoparg3.c | 2 +-
> src/acpica/source/components/executer/exoparg6.c | 2 +-
> src/acpica/source/components/executer/exprep.c | 2 +-
> src/acpica/source/components/executer/exregion.c | 2 +-
> src/acpica/source/components/executer/exresnte.c | 2 +-
> src/acpica/source/components/executer/exresolv.c | 2 +-
> src/acpica/source/components/executer/exresop.c | 2 +-
> src/acpica/source/components/executer/exstore.c | 2 +-
> src/acpica/source/components/executer/exstoren.c | 2 +-
> src/acpica/source/components/executer/exstorob.c | 2 +-
> src/acpica/source/components/executer/exsystem.c | 2 +-
> src/acpica/source/components/executer/exutils.c | 2 +-
> src/acpica/source/components/hardware/hwacpi.c | 2 +-
> src/acpica/source/components/hardware/hwesleep.c | 2 +-
> src/acpica/source/components/hardware/hwgpe.c | 2 +-
> src/acpica/source/components/hardware/hwpci.c | 2 +-
> src/acpica/source/components/hardware/hwregs.c | 2 +-
> src/acpica/source/components/hardware/hwsleep.c | 2 +-
> src/acpica/source/components/hardware/hwvalid.c | 2 +-
> src/acpica/source/components/hardware/hwxface.c | 2 +-
> src/acpica/source/components/hardware/hwxfsleep.c | 2 +-
> src/acpica/source/components/namespace/nsaccess.c | 2 +-
> src/acpica/source/components/namespace/nsalloc.c | 2 +-
> .../source/components/namespace/nsarguments.c | 2 +-
> src/acpica/source/components/namespace/nsconvert.c | 2 +-
> src/acpica/source/components/namespace/nsdump.c | 2 +-
> src/acpica/source/components/namespace/nsdumpdv.c | 2 +-
> src/acpica/source/components/namespace/nseval.c | 2 +-
> src/acpica/source/components/namespace/nsinit.c | 2 +-
> src/acpica/source/components/namespace/nsload.c | 2 +-
> src/acpica/source/components/namespace/nsnames.c | 2 +-
> src/acpica/source/components/namespace/nsobject.c | 2 +-
> src/acpica/source/components/namespace/nsparse.c | 2 +-
> src/acpica/source/components/namespace/nspredef.c | 2 +-
> src/acpica/source/components/namespace/nsprepkg.c | 2 +-
> src/acpica/source/components/namespace/nsrepair.c | 2 +-
> src/acpica/source/components/namespace/nsrepair2.c | 2 +-
> src/acpica/source/components/namespace/nssearch.c | 2 +-
> src/acpica/source/components/namespace/nsutils.c | 2 +-
> src/acpica/source/components/namespace/nswalk.c | 2 +-
> src/acpica/source/components/namespace/nsxfeval.c | 2 +-
> src/acpica/source/components/namespace/nsxfname.c | 2 +-
> src/acpica/source/components/namespace/nsxfobj.c | 2 +-
> src/acpica/source/components/parser/psargs.c | 2 +-
> src/acpica/source/components/parser/psloop.c | 2 +-
> src/acpica/source/components/parser/psobject.c | 2 +-
> src/acpica/source/components/parser/psopcode.c | 2 +-
> src/acpica/source/components/parser/psopinfo.c | 2 +-
> src/acpica/source/components/parser/psparse.c | 2 +-
> src/acpica/source/components/parser/psscope.c | 2 +-
> src/acpica/source/components/parser/pstree.c | 2 +-
> src/acpica/source/components/parser/psutils.c | 2 +-
> src/acpica/source/components/parser/pswalk.c | 2 +-
> src/acpica/source/components/parser/psxface.c | 2 +-
> src/acpica/source/components/resources/rsaddr.c | 2 +-
> src/acpica/source/components/resources/rscalc.c | 2 +-
> src/acpica/source/components/resources/rscreate.c | 2 +-
> src/acpica/source/components/resources/rsdump.c | 2 +-
> .../source/components/resources/rsdumpinfo.c | 2 +-
> src/acpica/source/components/resources/rsinfo.c | 2 +-
> src/acpica/source/components/resources/rsio.c | 2 +-
> src/acpica/source/components/resources/rsirq.c | 2 +-
> src/acpica/source/components/resources/rslist.c | 2 +-
> src/acpica/source/components/resources/rsmemory.c | 2 +-
> src/acpica/source/components/resources/rsmisc.c | 2 +-
> src/acpica/source/components/resources/rsserial.c | 2 +-
> src/acpica/source/components/resources/rsutils.c | 2 +-
> src/acpica/source/components/resources/rsxface.c | 2 +-
> src/acpica/source/components/tables/tbfadt.c | 2 +-
> src/acpica/source/components/tables/tbfind.c | 2 +-
> src/acpica/source/components/tables/tbinstal.c | 15 +-
> src/acpica/source/components/tables/tbprint.c | 21 +-
> src/acpica/source/components/tables/tbutils.c | 2 +-
> src/acpica/source/components/tables/tbxface.c | 2 +-
> src/acpica/source/components/tables/tbxfload.c | 2 +-
> src/acpica/source/components/tables/tbxfroot.c | 2 +-
> src/acpica/source/components/utilities/utaddress.c | 2 +-
> src/acpica/source/components/utilities/utalloc.c | 2 +-
> src/acpica/source/components/utilities/utbuffer.c | 2 +-
> src/acpica/source/components/utilities/utcache.c | 2 +-
> src/acpica/source/components/utilities/utcopy.c | 8 +-
> src/acpica/source/components/utilities/utdebug.c | 2 +-
> src/acpica/source/components/utilities/utdecode.c | 2 +-
> src/acpica/source/components/utilities/utdelete.c | 2 +-
> src/acpica/source/components/utilities/uterror.c | 2 +-
> src/acpica/source/components/utilities/uteval.c | 2 +-
> src/acpica/source/components/utilities/utexcep.c | 2 +-
> src/acpica/source/components/utilities/utglobal.c | 2 +-
> src/acpica/source/components/utilities/utids.c | 2 +-
> src/acpica/source/components/utilities/utinit.c | 2 +-
> src/acpica/source/components/utilities/utlock.c | 2 +-
> src/acpica/source/components/utilities/utmath.c | 2 +-
> src/acpica/source/components/utilities/utmisc.c | 2 +-
> src/acpica/source/components/utilities/utmutex.c | 2 +-
> src/acpica/source/components/utilities/utobject.c | 2 +-
> src/acpica/source/components/utilities/utosi.c | 2 +-
> src/acpica/source/components/utilities/utownerid.c | 2 +-
> src/acpica/source/components/utilities/utpredef.c | 2 +-
> src/acpica/source/components/utilities/utresrc.c | 4 +-
> src/acpica/source/components/utilities/utstate.c | 2 +-
> src/acpica/source/components/utilities/utstring.c | 2 +-
> src/acpica/source/components/utilities/uttrack.c | 5 +-
> src/acpica/source/components/utilities/utxface.c | 2 +-
> src/acpica/source/components/utilities/utxferror.c | 2 +-
> src/acpica/source/components/utilities/utxfinit.c | 2 +-
> src/acpica/source/include/acapps.h | 4 +-
> src/acpica/source/include/acbuffer.h | 2 +-
> src/acpica/source/include/accommon.h | 2 +-
> src/acpica/source/include/acconfig.h | 2 +-
> src/acpica/source/include/acdebug.h | 7 +-
> src/acpica/source/include/acdisasm.h | 2 +-
> src/acpica/source/include/acdispat.h | 2 +-
> src/acpica/source/include/acevents.h | 2 +-
> src/acpica/source/include/acexcep.h | 2 +-
> src/acpica/source/include/acglobal.h | 2 +-
> src/acpica/source/include/achware.h | 2 +-
> src/acpica/source/include/acinterp.h | 2 +-
> src/acpica/source/include/aclocal.h | 2 +-
> src/acpica/source/include/acmacros.h | 16 +-
> src/acpica/source/include/acnames.h | 2 +-
> src/acpica/source/include/acnamesp.h | 2 +-
> src/acpica/source/include/acobject.h | 2 +-
> src/acpica/source/include/acopcode.h | 2 +-
> src/acpica/source/include/acoutput.h | 2 +-
> src/acpica/source/include/acparser.h | 2 +-
> src/acpica/source/include/acpi.h | 5 +-
> src/acpica/source/include/acpiosxf.h | 2 +-
> src/acpica/source/include/acpixf.h | 4 +-
> src/acpica/source/include/acpredef.h | 2 +-
> src/acpica/source/include/acresrc.h | 2 +-
> src/acpica/source/include/acrestyp.h | 2 +-
> src/acpica/source/include/acstruct.h | 2 +-
> src/acpica/source/include/actables.h | 2 +-
> src/acpica/source/include/actbl.h | 2 +-
> src/acpica/source/include/actbl1.h | 2 +-
> src/acpica/source/include/actbl2.h | 2 +-
> src/acpica/source/include/actbl3.h | 2 +-
> src/acpica/source/include/actypes.h | 2 +-
> src/acpica/source/include/acutils.h | 4 +-
> src/acpica/source/include/amlcode.h | 2 +-
> src/acpica/source/include/amlresrc.h | 2 +-
> src/acpica/source/include/platform/acenv.h | 2 +-
> src/acpica/source/include/platform/acgcc.h | 2 +-
> src/acpica/source/include/platform/aclinux.h | 7 +-
> .../source/os_specific/service_layers/osunixxf.c | 2 +-
> src/acpica/source/tools/acpiexec/aecommon.h | 3 +-
> src/acpica/source/tools/acpiexec/aehandlers.c | 145 ++-
> 291 files changed, 1720 insertions(+), 552 deletions(-)
> create mode 100755 src/acpica/source/components/debugger/dbtest.c
>
> diff --git a/src/acpica/Makefile.am b/src/acpica/Makefile.am
> index 41bda7d..306efb5 100644
> --- a/src/acpica/Makefile.am
> +++ b/src/acpica/Makefile.am
> @@ -77,6 +77,7 @@ libfwtsacpica_la_SOURCES = \
> source/components/debugger/dbmethod.c \
> source/components/debugger/dbnames.c \
> source/components/debugger/dbconvert.c \
> + source/components/debugger/dbtest.c \
> source/components/disassembler/dmbuffer.c \
> source/components/disassembler/dmnames.c \
> source/components/disassembler/dmobject.c \
> diff --git a/src/acpica/source/common/acgetline.c b/src/acpica/source/common/acgetline.c
> index ae68ed7..77ca341 100644
> --- a/src/acpica/source/common/acgetline.c
> +++ b/src/acpica/source/common/acgetline.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/common/adfile.c b/src/acpica/source/common/adfile.c
> index fc2d815..43532b7 100644
> --- a/src/acpica/source/common/adfile.c
> +++ b/src/acpica/source/common/adfile.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/common/adisasm.c b/src/acpica/source/common/adisasm.c
> index f14ae17..75b1f3e 100644
> --- a/src/acpica/source/common/adisasm.c
> +++ b/src/acpica/source/common/adisasm.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/common/adwalk.c b/src/acpica/source/common/adwalk.c
> index 932c88f..ccbad0c 100644
> --- a/src/acpica/source/common/adwalk.c
> +++ b/src/acpica/source/common/adwalk.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/common/ahpredef.c b/src/acpica/source/common/ahpredef.c
> index 78e1960..3c46b16 100644
> --- a/src/acpica/source/common/ahpredef.c
> +++ b/src/acpica/source/common/ahpredef.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/common/dmextern.c b/src/acpica/source/common/dmextern.c
> index f6b32f1..4c7e3d0 100644
> --- a/src/acpica/source/common/dmextern.c
> +++ b/src/acpica/source/common/dmextern.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/common/dmrestag.c b/src/acpica/source/common/dmrestag.c
> index 6f12f74..7eca155 100644
> --- a/src/acpica/source/common/dmrestag.c
> +++ b/src/acpica/source/common/dmrestag.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/common/dmtable.c b/src/acpica/source/common/dmtable.c
> index ccfdfbe..35f142c 100644
> --- a/src/acpica/source/common/dmtable.c
> +++ b/src/acpica/source/common/dmtable.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/common/dmtbdump.c b/src/acpica/source/common/dmtbdump.c
> index 7619b40..f2a6762 100644
> --- a/src/acpica/source/common/dmtbdump.c
> +++ b/src/acpica/source/common/dmtbdump.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/common/dmtbinfo.c b/src/acpica/source/common/dmtbinfo.c
> index 3c68804..858c0f3 100644
> --- a/src/acpica/source/common/dmtbinfo.c
> +++ b/src/acpica/source/common/dmtbinfo.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslanalyze.c b/src/acpica/source/compiler/aslanalyze.c
> index e35cff4..16e28d3 100644
> --- a/src/acpica/source/compiler/aslanalyze.c
> +++ b/src/acpica/source/compiler/aslanalyze.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslbtypes.c b/src/acpica/source/compiler/aslbtypes.c
> index 4fcd616..58cb792 100644
> --- a/src/acpica/source/compiler/aslbtypes.c
> +++ b/src/acpica/source/compiler/aslbtypes.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslcodegen.c b/src/acpica/source/compiler/aslcodegen.c
> index 9d45ec8..2de4a58 100644
> --- a/src/acpica/source/compiler/aslcodegen.c
> +++ b/src/acpica/source/compiler/aslcodegen.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslcompile.c b/src/acpica/source/compiler/aslcompile.c
> index b0c1ab6..4ed8afe 100644
> --- a/src/acpica/source/compiler/aslcompile.c
> +++ b/src/acpica/source/compiler/aslcompile.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslcompiler.h b/src/acpica/source/compiler/aslcompiler.h
> index b90d20c..7960ef0 100644
> --- a/src/acpica/source/compiler/aslcompiler.h
> +++ b/src/acpica/source/compiler/aslcompiler.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslcompiler.l b/src/acpica/source/compiler/aslcompiler.l
> index f981796..b06aa65 100644
> --- a/src/acpica/source/compiler/aslcompiler.l
> +++ b/src/acpica/source/compiler/aslcompiler.l
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslcompiler.y b/src/acpica/source/compiler/aslcompiler.y
> index 7191e85..25130bf 100644
> --- a/src/acpica/source/compiler/aslcompiler.y
> +++ b/src/acpica/source/compiler/aslcompiler.y
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asldefine.h b/src/acpica/source/compiler/asldefine.h
> index a0603a1..71f52db 100644
> --- a/src/acpica/source/compiler/asldefine.h
> +++ b/src/acpica/source/compiler/asldefine.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslerror.c b/src/acpica/source/compiler/aslerror.c
> index e3d1e62..8e506f0 100644
> --- a/src/acpica/source/compiler/aslerror.c
> +++ b/src/acpica/source/compiler/aslerror.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslfileio.c b/src/acpica/source/compiler/aslfileio.c
> index 9a4fc09..b125c61 100644
> --- a/src/acpica/source/compiler/aslfileio.c
> +++ b/src/acpica/source/compiler/aslfileio.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslfiles.c b/src/acpica/source/compiler/aslfiles.c
> index c470146..8a62567 100644
> --- a/src/acpica/source/compiler/aslfiles.c
> +++ b/src/acpica/source/compiler/aslfiles.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslfold.c b/src/acpica/source/compiler/aslfold.c
> index b0a0663..c4cf421 100644
> --- a/src/acpica/source/compiler/aslfold.c
> +++ b/src/acpica/source/compiler/aslfold.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslglobal.h b/src/acpica/source/compiler/aslglobal.h
> index 29e0ff6..f6dc41d 100644
> --- a/src/acpica/source/compiler/aslglobal.h
> +++ b/src/acpica/source/compiler/aslglobal.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslhex.c b/src/acpica/source/compiler/aslhex.c
> index 82eb070..6110f1f 100644
> --- a/src/acpica/source/compiler/aslhex.c
> +++ b/src/acpica/source/compiler/aslhex.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asllength.c b/src/acpica/source/compiler/asllength.c
> index e78c97b..b49467d 100644
> --- a/src/acpica/source/compiler/asllength.c
> +++ b/src/acpica/source/compiler/asllength.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asllisting.c b/src/acpica/source/compiler/asllisting.c
> index 3d0f85d..2c6b53b 100644
> --- a/src/acpica/source/compiler/asllisting.c
> +++ b/src/acpica/source/compiler/asllisting.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asllistsup.c b/src/acpica/source/compiler/asllistsup.c
> index f4eb57a..5162524 100644
> --- a/src/acpica/source/compiler/asllistsup.c
> +++ b/src/acpica/source/compiler/asllistsup.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslload.c b/src/acpica/source/compiler/aslload.c
> index 27bd254..3baea4e 100644
> --- a/src/acpica/source/compiler/aslload.c
> +++ b/src/acpica/source/compiler/aslload.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asllookup.c b/src/acpica/source/compiler/asllookup.c
> index 259df47..507158e 100644
> --- a/src/acpica/source/compiler/asllookup.c
> +++ b/src/acpica/source/compiler/asllookup.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslmain.c b/src/acpica/source/compiler/aslmain.c
> index 27fc6b0..3469032 100644
> --- a/src/acpica/source/compiler/aslmain.c
> +++ b/src/acpica/source/compiler/aslmain.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslmap.c b/src/acpica/source/compiler/aslmap.c
> index aec3a7b..f03a8cf 100644
> --- a/src/acpica/source/compiler/aslmap.c
> +++ b/src/acpica/source/compiler/aslmap.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslmessages.h b/src/acpica/source/compiler/aslmessages.h
> index a3f6c8b..f7e9b00 100644
> --- a/src/acpica/source/compiler/aslmessages.h
> +++ b/src/acpica/source/compiler/aslmessages.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslmethod.c b/src/acpica/source/compiler/aslmethod.c
> index f7b82d3..a30acb4 100644
> --- a/src/acpica/source/compiler/aslmethod.c
> +++ b/src/acpica/source/compiler/aslmethod.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslnamesp.c b/src/acpica/source/compiler/aslnamesp.c
> index 149a5db..9c96c00 100644
> --- a/src/acpica/source/compiler/aslnamesp.c
> +++ b/src/acpica/source/compiler/aslnamesp.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asloffset.c b/src/acpica/source/compiler/asloffset.c
> index 1c6911f..7b7cf09 100644
> --- a/src/acpica/source/compiler/asloffset.c
> +++ b/src/acpica/source/compiler/asloffset.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslopcodes.c b/src/acpica/source/compiler/aslopcodes.c
> index 4d26a8b..53971e0 100644
> --- a/src/acpica/source/compiler/aslopcodes.c
> +++ b/src/acpica/source/compiler/aslopcodes.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asloperands.c b/src/acpica/source/compiler/asloperands.c
> index f011d51..a142eea 100644
> --- a/src/acpica/source/compiler/asloperands.c
> +++ b/src/acpica/source/compiler/asloperands.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslopt.c b/src/acpica/source/compiler/aslopt.c
> index 0588246..fa2badb 100644
> --- a/src/acpica/source/compiler/aslopt.c
> +++ b/src/acpica/source/compiler/aslopt.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -821,7 +821,7 @@ OptOptimizeNamePath (
> HowMuchShorter = (AmlNameStringLength - ACPI_STRLEN (NewPath));
> OptTotal += HowMuchShorter;
>
> - ACPI_DEBUG_PRINT_RAW ((ACPI_DB_OPTIMIZATIONS,
> + ACPI_DEBUG_PRINT_RAW ((ACPI_DB_OPTIMIZATIONS,
> " REDUCED BY %2u (TOTAL SAVED %2u)",
> (UINT32) HowMuchShorter, OptTotal));
>
> diff --git a/src/acpica/source/compiler/aslpredef.c b/src/acpica/source/compiler/aslpredef.c
> index 09e1f02..c94c3e2 100644
> --- a/src/acpica/source/compiler/aslpredef.c
> +++ b/src/acpica/source/compiler/aslpredef.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslprepkg.c b/src/acpica/source/compiler/aslprepkg.c
> index 9957328..e403ef4 100644
> --- a/src/acpica/source/compiler/aslprepkg.c
> +++ b/src/acpica/source/compiler/aslprepkg.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslresource.c b/src/acpica/source/compiler/aslresource.c
> index 4a375b0..427a871 100644
> --- a/src/acpica/source/compiler/aslresource.c
> +++ b/src/acpica/source/compiler/aslresource.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslrestype1.c b/src/acpica/source/compiler/aslrestype1.c
> index 072af81..47bc1af 100644
> --- a/src/acpica/source/compiler/aslrestype1.c
> +++ b/src/acpica/source/compiler/aslrestype1.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslrestype1i.c b/src/acpica/source/compiler/aslrestype1i.c
> index 360b8db..cda8aee 100644
> --- a/src/acpica/source/compiler/aslrestype1i.c
> +++ b/src/acpica/source/compiler/aslrestype1i.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslrestype2.c b/src/acpica/source/compiler/aslrestype2.c
> index aba1feb..a739753 100644
> --- a/src/acpica/source/compiler/aslrestype2.c
> +++ b/src/acpica/source/compiler/aslrestype2.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslrestype2d.c b/src/acpica/source/compiler/aslrestype2d.c
> index cb10a84..c618505 100644
> --- a/src/acpica/source/compiler/aslrestype2d.c
> +++ b/src/acpica/source/compiler/aslrestype2d.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslrestype2e.c b/src/acpica/source/compiler/aslrestype2e.c
> index a027714..9e24f70 100644
> --- a/src/acpica/source/compiler/aslrestype2e.c
> +++ b/src/acpica/source/compiler/aslrestype2e.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslrestype2q.c b/src/acpica/source/compiler/aslrestype2q.c
> index e7fffb8..ea07d52 100644
> --- a/src/acpica/source/compiler/aslrestype2q.c
> +++ b/src/acpica/source/compiler/aslrestype2q.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslrestype2s.c b/src/acpica/source/compiler/aslrestype2s.c
> index be502a7..ccfb5f5 100644
> --- a/src/acpica/source/compiler/aslrestype2s.c
> +++ b/src/acpica/source/compiler/aslrestype2s.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslrestype2w.c b/src/acpica/source/compiler/aslrestype2w.c
> index 726fb17..ea040c6 100644
> --- a/src/acpica/source/compiler/aslrestype2w.c
> +++ b/src/acpica/source/compiler/aslrestype2w.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslstartup.c b/src/acpica/source/compiler/aslstartup.c
> index 4504532..cba3b82 100644
> --- a/src/acpica/source/compiler/aslstartup.c
> +++ b/src/acpica/source/compiler/aslstartup.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslstubs.c b/src/acpica/source/compiler/aslstubs.c
> index 8d2400e..5c5ced4 100644
> --- a/src/acpica/source/compiler/aslstubs.c
> +++ b/src/acpica/source/compiler/aslstubs.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslsupport.l b/src/acpica/source/compiler/aslsupport.l
> index 2f47a63..550dace 100644
> --- a/src/acpica/source/compiler/aslsupport.l
> +++ b/src/acpica/source/compiler/aslsupport.l
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asltransform.c b/src/acpica/source/compiler/asltransform.c
> index 967f441..6cc2559 100644
> --- a/src/acpica/source/compiler/asltransform.c
> +++ b/src/acpica/source/compiler/asltransform.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asltree.c b/src/acpica/source/compiler/asltree.c
> index 59cea2b..dabe198 100644
> --- a/src/acpica/source/compiler/asltree.c
> +++ b/src/acpica/source/compiler/asltree.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asltypes.h b/src/acpica/source/compiler/asltypes.h
> index aa6c90b..fcfb945 100644
> --- a/src/acpica/source/compiler/asltypes.h
> +++ b/src/acpica/source/compiler/asltypes.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslutils.c b/src/acpica/source/compiler/aslutils.c
> index 2e4db5a..5fdca1b 100644
> --- a/src/acpica/source/compiler/aslutils.c
> +++ b/src/acpica/source/compiler/aslutils.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/asluuid.c b/src/acpica/source/compiler/asluuid.c
> index 67df9ab..ad76c2d 100644
> --- a/src/acpica/source/compiler/asluuid.c
> +++ b/src/acpica/source/compiler/asluuid.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/aslwalks.c b/src/acpica/source/compiler/aslwalks.c
> index aec8bab..545d809 100644
> --- a/src/acpica/source/compiler/aslwalks.c
> +++ b/src/acpica/source/compiler/aslwalks.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -677,6 +677,10 @@ AnOtherSemanticAnalysisWalkBegin (
> ArgNode = Op->Asl.Parent; /* Field definition */
> ArgNode = ArgNode->Asl.Child; /* First child is the OpRegion Name */
> Node = ArgNode->Asl.Node; /* OpRegion namespace node */
> + if (!Node)
> + {
> + break;
> + }
>
> ArgNode = Node->Op; /* OpRegion definition */
> ArgNode = ArgNode->Asl.Child; /* First child is the OpRegion Name */
> diff --git a/src/acpica/source/compiler/aslxref.c b/src/acpica/source/compiler/aslxref.c
> index 78a8775..39978bb 100644
> --- a/src/acpica/source/compiler/aslxref.c
> +++ b/src/acpica/source/compiler/aslxref.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dtcompile.c b/src/acpica/source/compiler/dtcompile.c
> index 926bf72..1c7580f 100644
> --- a/src/acpica/source/compiler/dtcompile.c
> +++ b/src/acpica/source/compiler/dtcompile.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dtcompiler.h b/src/acpica/source/compiler/dtcompiler.h
> index 4c04508..9694770 100644
> --- a/src/acpica/source/compiler/dtcompiler.h
> +++ b/src/acpica/source/compiler/dtcompiler.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dtexpress.c b/src/acpica/source/compiler/dtexpress.c
> index d8ae2c8..705ffc3 100644
> --- a/src/acpica/source/compiler/dtexpress.c
> +++ b/src/acpica/source/compiler/dtexpress.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dtfield.c b/src/acpica/source/compiler/dtfield.c
> index 4a45519..919ee9d 100644
> --- a/src/acpica/source/compiler/dtfield.c
> +++ b/src/acpica/source/compiler/dtfield.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dtio.c b/src/acpica/source/compiler/dtio.c
> index 3c22381..16cafef 100644
> --- a/src/acpica/source/compiler/dtio.c
> +++ b/src/acpica/source/compiler/dtio.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dtparser.l b/src/acpica/source/compiler/dtparser.l
> index bc8b22b..7c26759 100644
> --- a/src/acpica/source/compiler/dtparser.l
> +++ b/src/acpica/source/compiler/dtparser.l
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dtparser.y b/src/acpica/source/compiler/dtparser.y
> index c400549..40e8066 100644
> --- a/src/acpica/source/compiler/dtparser.y
> +++ b/src/acpica/source/compiler/dtparser.y
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dtsubtable.c b/src/acpica/source/compiler/dtsubtable.c
> index b4ea93f..3892fdc 100644
> --- a/src/acpica/source/compiler/dtsubtable.c
> +++ b/src/acpica/source/compiler/dtsubtable.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dttable.c b/src/acpica/source/compiler/dttable.c
> index 5b9236f..58aa9f1 100644
> --- a/src/acpica/source/compiler/dttable.c
> +++ b/src/acpica/source/compiler/dttable.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dttemplate.c b/src/acpica/source/compiler/dttemplate.c
> index bdcad38..e3c3c0c 100644
> --- a/src/acpica/source/compiler/dttemplate.c
> +++ b/src/acpica/source/compiler/dttemplate.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dttemplate.h b/src/acpica/source/compiler/dttemplate.h
> index d133d91..b6303dd 100644
> --- a/src/acpica/source/compiler/dttemplate.h
> +++ b/src/acpica/source/compiler/dttemplate.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/dtutils.c b/src/acpica/source/compiler/dtutils.c
> index d3e8616..6fdffd2 100644
> --- a/src/acpica/source/compiler/dtutils.c
> +++ b/src/acpica/source/compiler/dtutils.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/preprocess.h b/src/acpica/source/compiler/preprocess.h
> index ccf83d0..eac2078 100644
> --- a/src/acpica/source/compiler/preprocess.h
> +++ b/src/acpica/source/compiler/preprocess.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/prexpress.c b/src/acpica/source/compiler/prexpress.c
> index f7cb32c..f787009 100644
> --- a/src/acpica/source/compiler/prexpress.c
> +++ b/src/acpica/source/compiler/prexpress.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/prmacros.c b/src/acpica/source/compiler/prmacros.c
> index edbfd3d..65282b3 100644
> --- a/src/acpica/source/compiler/prmacros.c
> +++ b/src/acpica/source/compiler/prmacros.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/prparser.l b/src/acpica/source/compiler/prparser.l
> index cae12cb..fe73c90 100644
> --- a/src/acpica/source/compiler/prparser.l
> +++ b/src/acpica/source/compiler/prparser.l
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/prparser.y b/src/acpica/source/compiler/prparser.y
> index 2b19713..71b33c8 100644
> --- a/src/acpica/source/compiler/prparser.y
> +++ b/src/acpica/source/compiler/prparser.y
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/prscan.c b/src/acpica/source/compiler/prscan.c
> index c36a52c..943b721 100644
> --- a/src/acpica/source/compiler/prscan.c
> +++ b/src/acpica/source/compiler/prscan.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/compiler/prutils.c b/src/acpica/source/compiler/prutils.c
> index 19f2784..c7b977e 100644
> --- a/src/acpica/source/compiler/prutils.c
> +++ b/src/acpica/source/compiler/prutils.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/debugger/dbcmds.c b/src/acpica/source/components/debugger/dbcmds.c
> index bed0f55..b0d1cc1 100644
> --- a/src/acpica/source/components/debugger/dbcmds.c
> +++ b/src/acpica/source/components/debugger/dbcmds.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/debugger/dbconvert.c b/src/acpica/source/components/debugger/dbconvert.c
> index 8eda00c..172f36a 100644
> --- a/src/acpica/source/components/debugger/dbconvert.c
> +++ b/src/acpica/source/components/debugger/dbconvert.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/debugger/dbdisply.c b/src/acpica/source/components/debugger/dbdisply.c
> index 832647d..525e73f 100644
> --- a/src/acpica/source/components/debugger/dbdisply.c
> +++ b/src/acpica/source/components/debugger/dbdisply.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/debugger/dbexec.c b/src/acpica/source/components/debugger/dbexec.c
> index 769eb29..a7a791d 100644
> --- a/src/acpica/source/components/debugger/dbexec.c
> +++ b/src/acpica/source/components/debugger/dbexec.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/debugger/dbfileio.c b/src/acpica/source/components/debugger/dbfileio.c
> index e9a9ad6..16f6e12 100644
> --- a/src/acpica/source/components/debugger/dbfileio.c
> +++ b/src/acpica/source/components/debugger/dbfileio.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -545,6 +545,7 @@ AcpiDbReadTableFromFile (
> ACPI_TABLE_HEADER **Table)
> {
> FILE *File;
> + UINT32 FileSize;
> UINT32 TableLength;
> ACPI_STATUS Status;
>
> @@ -558,9 +559,17 @@ AcpiDbReadTableFromFile (
> return (AE_ERROR);
> }
>
> + /* Get the file size */
> +
> + fseek (File, 0, SEEK_END);
> + FileSize = (UINT32) ftell (File);
> + fseek (File, 0, SEEK_SET);
> +
> /* Get the entire file */
>
> - fprintf (stderr, "Loading Acpi table from file %s\n", Filename);
> + fprintf (stderr, "Loading Acpi table from file %10s - Length %.8u (%06X)\n",
> + Filename, FileSize, FileSize);
> +
> Status = AcpiDbReadTable (File, Table, &TableLength);
> fclose(File);
>
> diff --git a/src/acpica/source/components/debugger/dbhistry.c b/src/acpica/source/components/debugger/dbhistry.c
> index 8ba3c7f..c74519b 100644
> --- a/src/acpica/source/components/debugger/dbhistry.c
> +++ b/src/acpica/source/components/debugger/dbhistry.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/debugger/dbinput.c b/src/acpica/source/components/debugger/dbinput.c
> index 4b60389..fde510b 100644
> --- a/src/acpica/source/components/debugger/dbinput.c
> +++ b/src/acpica/source/components/debugger/dbinput.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -165,7 +165,6 @@ enum AcpiExDebuggerCommands
> CMD_ALLOCATIONS,
> CMD_ARGS,
> CMD_ARGUMENTS,
> - CMD_BATCH,
> CMD_BREAKPOINT,
> CMD_BUSINFO,
> CMD_CALL,
> @@ -219,6 +218,7 @@ enum AcpiExDebuggerCommands
> CMD_TABLES,
> CMD_TEMPLATE,
> CMD_TERMINATE,
> + CMD_TEST,
> CMD_THREADS,
> CMD_TRACE,
> CMD_TREE,
> @@ -238,7 +238,6 @@ static const ACPI_DB_COMMAND_INFO AcpiGbl_DbCommands[] =
> {"ALLOCATIONS", 0},
> {"ARGS", 0},
> {"ARGUMENTS", 0},
> - {"BATCH", 0},
> {"BREAKPOINT", 1},
> {"BUSINFO", 0},
> {"CALL", 0},
> @@ -292,6 +291,7 @@ static const ACPI_DB_COMMAND_INFO AcpiGbl_DbCommands[] =
> {"TABLES", 0},
> {"TEMPLATE", 1},
> {"TERMINATE", 0},
> + {"TEST", 1},
> {"THREADS", 3},
> {"TRACE", 1},
> {"TREE", 0},
> @@ -318,8 +318,7 @@ static const ACPI_DB_COMMAND_HELP AcpiGbl_DbCommandHelp[] =
> {1, " Locks", "Current status of internal mutexes\n"},
> {1, " Osi [Install|Remove <name>]", "Display or modify global _OSI list\n"},
> {1, " Quit or Exit", "Exit this command\n"},
> - {9, " Stats [Allocations|Memory|Misc|", "\n"},
> - {1, " Objects|Sizes|Stack|Tables]", "Display namespace and memory statistics\n"},
> + {8, " Stats <SubCommand>", "Display namespace and memory statistics\n"},
> {1, " Allocations", "Display list of current memory allocations\n"},
> {1, " Memory", "Dump internal memory lists\n"},
> {1, " Misc", "Namespace search and mutex stats\n"},
> @@ -387,6 +386,11 @@ static const ACPI_DB_COMMAND_HELP AcpiGbl_DbCommandHelp[] =
> {1, " Close", "Close debug output file\n"},
> {1, " Load <Input Filename>", "Load ACPI table from a file\n"},
> {1, " Open <Output Filename>", "Open a file for debug output\n"},
> +
> + {0, "\nDebug Test Commands:", "\n"},
> + {3, " Test <TestName>", "Invoke a debug test\n"},
> + {1, " Objects", "Read/write/compare all namespace data objects\n"},
> + {1, " Predefined", "Execute all ACPI predefined names (_STA, etc.)\n"},
> {0, NULL, NULL}
> };
>
> @@ -864,11 +868,6 @@ AcpiDbCommandDispatch (
> AcpiDbDisplayArguments ();
> break;
>
> - case CMD_BATCH:
> -
> - AcpiDbBatchExecute (AcpiGbl_DbArgs[1]);
> - break;
> -
> case CMD_BREAKPOINT:
>
> AcpiDbSetMethodBreakpoint (AcpiGbl_DbArgs[1], WalkState, Op);
> @@ -1171,6 +1170,11 @@ AcpiDbCommandDispatch (
> /* AcpiInitialize (NULL); */
> break;
>
> + case CMD_TEST:
> +
> + AcpiDbExecuteTest (AcpiGbl_DbArgs[1]);
> + break;
> +
> case CMD_THREADS:
>
> AcpiDbCreateExecutionThreads (AcpiGbl_DbArgs[1], AcpiGbl_DbArgs[2],
> diff --git a/src/acpica/source/components/debugger/dbmethod.c b/src/acpica/source/components/debugger/dbmethod.c
> index 8b25765..f21cff9 100644
> --- a/src/acpica/source/components/debugger/dbmethod.c
> +++ b/src/acpica/source/components/debugger/dbmethod.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -130,16 +130,6 @@
> ACPI_MODULE_NAME ("dbmethod")
>
>
> -/* Local prototypes */
> -
> -static ACPI_STATUS
> -AcpiDbWalkForExecute (
> - ACPI_HANDLE ObjHandle,
> - UINT32 NestingLevel,
> - void *Context,
> - void **ReturnValue);
> -
> -
> /*******************************************************************************
> *
> * FUNCTION: AcpiDbSetMethodBreakpoint
> @@ -486,195 +476,4 @@ AcpiDbDisassembleMethod (
> return (AE_OK);
> }
>
> -
> -/*******************************************************************************
> - *
> - * FUNCTION: AcpiDbWalkForExecute
> - *
> - * PARAMETERS: Callback from WalkNamespace
> - *
> - * RETURN: Status
> - *
> - * DESCRIPTION: Batch execution module. Currently only executes predefined
> - * ACPI names.
> - *
> - ******************************************************************************/
> -
> -static ACPI_STATUS
> -AcpiDbWalkForExecute (
> - ACPI_HANDLE ObjHandle,
> - UINT32 NestingLevel,
> - void *Context,
> - void **ReturnValue)
> -{
> - ACPI_NAMESPACE_NODE *Node = (ACPI_NAMESPACE_NODE *) ObjHandle;
> - ACPI_DB_EXECUTE_WALK *Info = (ACPI_DB_EXECUTE_WALK *) Context;
> - char *Pathname;
> - const ACPI_PREDEFINED_INFO *Predefined;
> - ACPI_DEVICE_INFO *ObjInfo;
> - ACPI_OBJECT_LIST ParamObjects;
> - ACPI_OBJECT Params[ACPI_METHOD_NUM_ARGS];
> - ACPI_OBJECT *ThisParam;
> - ACPI_BUFFER ReturnObj;
> - ACPI_STATUS Status;
> - UINT16 ArgTypeList;
> - UINT8 ArgCount;
> - UINT8 ArgType;
> - UINT32 i;
> -
> -
> - /* The name must be a predefined ACPI name */
> -
> - Predefined = AcpiUtMatchPredefinedMethod (Node->Name.Ascii);
> - if (!Predefined)
> - {
> - return (AE_OK);
> - }
> -
> - if (Node->Type == ACPI_TYPE_LOCAL_SCOPE)
> - {
> - return (AE_OK);
> - }
> -
> - Pathname = AcpiNsGetExternalPathname (Node);
> - if (!Pathname)
> - {
> - return (AE_OK);
> - }
> -
> - /* Get the object info for number of method parameters */
> -
> - Status = AcpiGetObjectInfo (ObjHandle, &ObjInfo);
> - if (ACPI_FAILURE (Status))
> - {
> - return (Status);
> - }
> -
> - ParamObjects.Count = 0;
> - ParamObjects.Pointer = NULL;
> -
> - if (ObjInfo->Type == ACPI_TYPE_METHOD)
> - {
> - /* Setup default parameters (with proper types) */
> -
> - ArgTypeList = Predefined->Info.ArgumentList;
> - ArgCount = METHOD_GET_ARG_COUNT (ArgTypeList);
> -
> - /*
> - * Setup the ACPI-required number of arguments, regardless of what
> - * the actual method defines. If there is a difference, then the
> - * method is wrong and a warning will be issued during execution.
> - */
> - ThisParam = Params;
> - for (i = 0; i < ArgCount; i++)
> - {
> - ArgType = METHOD_GET_NEXT_TYPE (ArgTypeList);
> - ThisParam->Type = ArgType;
> -
> - switch (ArgType)
> - {
> - case ACPI_TYPE_INTEGER:
> -
> - ThisParam->Integer.Value = 1;
> - break;
> -
> - case ACPI_TYPE_STRING:
> -
> - ThisParam->String.Pointer = "This is the default argument string";
> - ThisParam->String.Length = ACPI_STRLEN (ThisParam->String.Pointer);
> - break;
> -
> - case ACPI_TYPE_BUFFER:
> -
> - ThisParam->Buffer.Pointer = (UINT8 *) Params; /* just a garbage buffer */
> - ThisParam->Buffer.Length = 48;
> - break;
> -
> - case ACPI_TYPE_PACKAGE:
> -
> - ThisParam->Package.Elements = NULL;
> - ThisParam->Package.Count = 0;
> - break;
> -
> - default:
> -
> - AcpiOsPrintf ("%s: Unsupported argument type: %u\n",
> - Pathname, ArgType);
> - break;
> - }
> -
> - ThisParam++;
> - }
> -
> - ParamObjects.Count = ArgCount;
> - ParamObjects.Pointer = Params;
> - }
> -
> - ACPI_FREE (ObjInfo);
> - ReturnObj.Pointer = NULL;
> - ReturnObj.Length = ACPI_ALLOCATE_BUFFER;
> -
> - /* Do the actual method execution */
> -
> - AcpiGbl_MethodExecuting = TRUE;
> -
> - Status = AcpiEvaluateObject (Node, NULL, &ParamObjects, &ReturnObj);
> -
> - AcpiOsPrintf ("%-32s returned %s\n", Pathname, AcpiFormatException (Status));
> - AcpiGbl_MethodExecuting = FALSE;
> - ACPI_FREE (Pathname);
> -
> - /* Ignore status from method execution */
> -
> - Status = AE_OK;
> -
> - /* Update count, check if we have executed enough methods */
> -
> - Info->Count++;
> - if (Info->Count >= Info->MaxCount)
> - {
> - Status = AE_CTRL_TERMINATE;
> - }
> -
> - return (Status);
> -}
> -
> -
> -/*******************************************************************************
> - *
> - * FUNCTION: AcpiDbBatchExecute
> - *
> - * PARAMETERS: CountArg - Max number of methods to execute
> - *
> - * RETURN: None
> - *
> - * DESCRIPTION: Namespace batch execution. Execute predefined names in the
> - * namespace, up to the max count, if specified.
> - *
> - ******************************************************************************/
> -
> -void
> -AcpiDbBatchExecute (
> - char *CountArg)
> -{
> - ACPI_DB_EXECUTE_WALK Info;
> -
> -
> - Info.Count = 0;
> - Info.MaxCount = ACPI_UINT32_MAX;
> -
> - if (CountArg)
> - {
> - Info.MaxCount = ACPI_STRTOUL (CountArg, NULL, 0);
> - }
> -
> -
> - /* Search all nodes in namespace */
> -
> - (void) AcpiWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
> - AcpiDbWalkForExecute, NULL, (void *) &Info, NULL);
> -
> - AcpiOsPrintf ("Evaluated %u predefined names in the namespace\n", Info.Count);
> -}
> -
> #endif /* ACPI_DEBUGGER */
> diff --git a/src/acpica/source/components/debugger/dbnames.c b/src/acpica/source/components/debugger/dbnames.c
> index d7d66a3..621ae61 100644
> --- a/src/acpica/source/components/debugger/dbnames.c
> +++ b/src/acpica/source/components/debugger/dbnames.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/debugger/dbstats.c b/src/acpica/source/components/debugger/dbstats.c
> index 8829504..9594b3d 100644
> --- a/src/acpica/source/components/debugger/dbstats.c
> +++ b/src/acpica/source/components/debugger/dbstats.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -473,7 +473,7 @@ AcpiDbDisplayStatistics (
>
> AcpiUtStrupr (TypeArg);
> Temp = AcpiDbMatchArgument (TypeArg, AcpiDbStatTypes);
> - if (Temp == (UINT32) -1)
> + if (Temp == ACPI_TYPE_NOT_FOUND)
> {
> AcpiOsPrintf ("Invalid or unsupported argument\n");
> return (AE_OK);
> diff --git a/src/acpica/source/components/debugger/dbtest.c b/src/acpica/source/components/debugger/dbtest.c
> new file mode 100755
> index 0000000..34ccdac
> --- /dev/null
> +++ b/src/acpica/source/components/debugger/dbtest.c
> @@ -0,0 +1,1209 @@
> +/*******************************************************************************
> + *
> + * Module Name: dbtest - Various debug-related tests
> + *
> + ******************************************************************************/
> +
> +/******************************************************************************
> + *
> + * 1. Copyright Notice
> + *
> + * Some or all of this work - Copyright (c) 1999 - 2014, 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.
> + *
> + *****************************************************************************/
> +
> +#include "acpi.h"
> +#include "accommon.h"
> +#include "acdebug.h"
> +#include "acnamesp.h"
> +#include "acpredef.h"
> +
> +#ifdef ACPI_DEBUGGER
> +
> +#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
> +AcpiDbReadFromObject (
> + ACPI_NAMESPACE_NODE *Node,
> + ACPI_OBJECT_TYPE ExpectedType,
> + ACPI_OBJECT **Value);
> +
> +static ACPI_STATUS
> +AcpiDbWriteToObject (
> + ACPI_NAMESPACE_NODE *Node,
> + ACPI_OBJECT *Value);
> +
> +static void
> +AcpiDbEvaluateAllPredefinedNames (
> + char *CountArg);
> +
> +static ACPI_STATUS
> +AcpiDbEvaluateOnePredefinedName (
> + ACPI_HANDLE ObjHandle,
> + UINT32 NestingLevel,
> + void *Context,
> + void **ReturnValue);
> +
> +/*
> + * Test subcommands
> + */
> +static ACPI_DB_ARGUMENT_INFO AcpiDbTestTypes [] =
> +{
> + {"OBJECTS"},
> + {"PREDEFINED"},
> + {NULL} /* Must be null terminated */
> +};
> +
> +#define CMD_TEST_OBJECTS 0
> +#define CMD_TEST_PREDEFINED 1
> +
> +#define BUFFER_FILL_VALUE 0xFF
> +
> +/*
> + * Support for the special debugger read/write control methods.
> + * These methods are installed into the current namespace and are
> + * used to read and write the various namespace objects. The point
> + * is to force the AML interpreter do all of the work.
> + */
> +#define ACPI_DB_READ_METHOD "\\_T98"
> +#define ACPI_DB_WRITE_METHOD "\\_T99"
> +
> +static ACPI_HANDLE ReadHandle = NULL;
> +static ACPI_HANDLE WriteHandle = NULL;
> +
> +/* ASL Definitions of the debugger read/write control methods */
> +
> +#if 0
> +DefinitionBlock ("ssdt.aml", "SSDT", 2, "Intel", "DEBUG", 0x00000001)
> +{
> + Method (_T98, 1, NotSerialized) /* Read */
> + {
> + Return (DeRefOf (Arg0))
> + }
> +}
> +DefinitionBlock ("ssdt2.aml", "SSDT", 2, "Intel", "DEBUG", 0x00000001)
> +{
> + Method (_T99, 2, NotSerialized) /* Write */
> + {
> + Store (Arg1, Arg0)
> + }
> +}
> +#endif
> +
> +static unsigned char ReadMethodCode[] =
> +{
> + 0x53,0x53,0x44,0x54,0x2E,0x00,0x00,0x00, /* 00000000 "SSDT...." */
> + 0x02,0xC9,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
> + 0x44,0x45,0x42,0x55,0x47,0x00,0x00,0x00, /* 00000010 "DEBUG..." */
> + 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
> + 0x18,0x12,0x13,0x20,0x14,0x09,0x5F,0x54, /* 00000020 "... .._T" */
> + 0x39,0x38,0x01,0xA4,0x83,0x68 /* 00000028 "98...h" */
> +};
> +
> +static unsigned char WriteMethodCode[] =
> +{
> + 0x53,0x53,0x44,0x54,0x2E,0x00,0x00,0x00, /* 00000000 "SSDT...." */
> + 0x02,0x15,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
> + 0x44,0x45,0x42,0x55,0x47,0x00,0x00,0x00, /* 00000010 "DEBUG..." */
> + 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
> + 0x18,0x12,0x13,0x20,0x14,0x09,0x5F,0x54, /* 00000020 "... .._T" */
> + 0x39,0x39,0x02,0x70,0x69,0x68 /* 00000028 "99.pih" */
> +};
> +
> +
> +/*******************************************************************************
> + *
> + * FUNCTION: AcpiDbExecuteTest
> + *
> + * PARAMETERS: TypeArg - Subcommand
> + *
> + * RETURN: None
> + *
> + * DESCRIPTION: Execute various debug tests.
> + *
> + * Note: Code is prepared for future expansion of the TEST command.
> + *
> + ******************************************************************************/
> +
> +void
> +AcpiDbExecuteTest (
> + char *TypeArg)
> +{
> + UINT32 Temp;
> +
> +
> + AcpiUtStrupr (TypeArg);
> + Temp = AcpiDbMatchArgument (TypeArg, AcpiDbTestTypes);
> + if (Temp == ACPI_TYPE_NOT_FOUND)
> + {
> + AcpiOsPrintf ("Invalid or unsupported argument\n");
> + return;
> + }
> +
> + switch (Temp)
> + {
> + case CMD_TEST_OBJECTS:
> +
> + AcpiDbTestAllObjects ();
> + break;
> +
> + case CMD_TEST_PREDEFINED:
> +
> + AcpiDbEvaluateAllPredefinedNames (NULL);
> + break;
> +
> + default:
> + break;
> + }
> +}
> +
> +
> +/*******************************************************************************
> + *
> + * FUNCTION: AcpiDbTestAllObjects
> + *
> + * PARAMETERS: None
> + *
> + * RETURN: None
> + *
> + * DESCRIPTION: This test implements the OBJECTS subcommand. It exercises the
> + * namespace by reading/writing/comparing all data objects such
> + * as integers, strings, buffers, fields, buffer fields, etc.
> + *
> + ******************************************************************************/
> +
> +static void
> +AcpiDbTestAllObjects (
> + void)
> +{
> + ACPI_STATUS Status;
> +
> +
> + /* Install the debugger read-object control method if necessary */
> +
> + if (!ReadHandle)
> + {
> + Status = AcpiInstallMethod (ReadMethodCode);
> + if (ACPI_FAILURE (Status))
> + {
> + AcpiOsPrintf ("%s, Could not install debugger read method\n",
> + AcpiFormatException (Status));
> + return;
> + }
> +
> + Status = AcpiGetHandle (NULL, ACPI_DB_READ_METHOD, &ReadHandle);
> + if (ACPI_FAILURE (Status))
> + {
> + AcpiOsPrintf ("Could not obtain handle for debug method %s\n",
> + ACPI_DB_READ_METHOD);
> + return;
> + }
> + }
> +
> + /* Install the debugger write-object control method if necessary */
> +
> + if (!WriteHandle)
> + {
> + Status = AcpiInstallMethod (WriteMethodCode);
> + if (ACPI_FAILURE (Status))
> + {
> + AcpiOsPrintf ("%s, Could not install debugger write method\n",
> + AcpiFormatException (Status));
> + return;
> + }
> +
> + Status = AcpiGetHandle (NULL, ACPI_DB_WRITE_METHOD, &WriteHandle);
> + if (ACPI_FAILURE (Status))
> + {
> + AcpiOsPrintf ("Could not obtain handle for debug method %s\n",
> + ACPI_DB_WRITE_METHOD);
> + return;
> + }
> + }
> +
> + /* Walk the entire namespace, testing each supported named data object */
> +
> + (void) AcpiWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
> + ACPI_UINT32_MAX, AcpiDbTestOneObject, NULL, NULL, NULL);
> +}
> +
> +
> +/*******************************************************************************
> + *
> + * FUNCTION: AcpiDbTestOneObject
> + *
> + * PARAMETERS: ACPI_WALK_CALLBACK
> + *
> + * RETURN: Status
> + *
> + * DESCRIPTION: Test one namespace object. Supported types are Integer,
> + * String, Buffer, BufferField, and FieldUnit. All other object
> + * types are simply ignored.
> + *
> + * Note: Support for Packages is not implemented.
> + *
> + ******************************************************************************/
> +
> +static ACPI_STATUS
> +AcpiDbTestOneObject (
> + ACPI_HANDLE ObjHandle,
> + UINT32 NestingLevel,
> + void *Context,
> + void **ReturnValue)
> +{
> + ACPI_NAMESPACE_NODE *Node;
> + ACPI_OPERAND_OBJECT *ObjDesc;
> + ACPI_OPERAND_OBJECT *RegionObj;
> + ACPI_OBJECT_TYPE LocalType;
> + UINT32 BitLength = 0;
> + UINT32 ByteLength = 0;
> + ACPI_STATUS Status = AE_OK;
> +
> +
> + Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle);
> + ObjDesc = Node->Object;
> +
> + /*
> + * For the supported types, get the actual bit length or
> + * byte length. Map the type to one of Integer/String/Buffer.
> + */
> + switch (Node->Type)
> + {
> + case ACPI_TYPE_INTEGER:
> +
> + /* Integer width is either 32 or 64 */
> +
> + LocalType = ACPI_TYPE_INTEGER;
> + BitLength = AcpiGbl_IntegerBitWidth;
> + break;
> +
> + case ACPI_TYPE_STRING:
> +
> + LocalType = ACPI_TYPE_STRING;
> + ByteLength = ObjDesc->String.Length;
> + break;
> +
> + case ACPI_TYPE_BUFFER:
> +
> + LocalType = ACPI_TYPE_BUFFER;
> + ByteLength = ObjDesc->Buffer.Length;
> + BitLength = ByteLength * 8;
> + break;
> +
> + case ACPI_TYPE_FIELD_UNIT:
> + case ACPI_TYPE_BUFFER_FIELD:
> + case ACPI_TYPE_LOCAL_REGION_FIELD:
> + case ACPI_TYPE_LOCAL_INDEX_FIELD:
> + case ACPI_TYPE_LOCAL_BANK_FIELD:
> +
> + LocalType = ACPI_TYPE_INTEGER;
> + if (ObjDesc)
> + {
> + /*
> + * Returned object will be a Buffer if the field length
> + * is larger than the size of an Integer (32 or 64 bits
> + * depending on the DSDT version).
> + */
> + BitLength = ObjDesc->CommonField.BitLength;
> + ByteLength = ACPI_ROUND_BITS_UP_TO_BYTES (BitLength);
> + if (BitLength > AcpiGbl_IntegerBitWidth)
> + {
> + LocalType = ACPI_TYPE_BUFFER;
> + }
> + }
> + break;
> +
> + default:
> +
> + /* Ignore all other types */
> +
> + return (AE_OK);
> + }
> +
> + /* Emit the common prefix: Type:Name */
> +
> + AcpiOsPrintf ("%14s: %4.4s",
> + AcpiUtGetTypeName (Node->Type), Node->Name.Ascii);
> + if (!ObjDesc)
> + {
> + AcpiOsPrintf (" Ignoring, no attached object\n");
> + return (AE_OK);
> + }
> +
> + /*
> + * Check for unsupported region types. Note: AcpiExec simulates
> + * access to SystemMemory, SystemIO, PCI_Config, and EC.
> + */
> + switch (Node->Type)
> + {
> + case ACPI_TYPE_LOCAL_REGION_FIELD:
> +
> + RegionObj = ObjDesc->Field.RegionObj;
> + switch (RegionObj->Region.SpaceId)
> + {
> + case ACPI_ADR_SPACE_SYSTEM_MEMORY:
> + case ACPI_ADR_SPACE_SYSTEM_IO:
> + case ACPI_ADR_SPACE_PCI_CONFIG:
> + case ACPI_ADR_SPACE_EC:
> +
> + break;
> +
> + default:
> +
> + AcpiOsPrintf (" %s space is not supported [%4.4s]\n",
> + AcpiUtGetRegionName (RegionObj->Region.SpaceId),
> + RegionObj->Region.Node->Name.Ascii);
> + return (AE_OK);
> + }
> + break;
> +
> + default:
> + break;
> + }
> +
> + /* At this point, we have resolved the object to one of the major types */
> +
> + switch (LocalType)
> + {
> + case ACPI_TYPE_INTEGER:
> +
> + Status = AcpiDbTestIntegerType (Node, BitLength);
> + break;
> +
> + case ACPI_TYPE_STRING:
> +
> + Status = AcpiDbTestStringType (Node, ByteLength);
> + break;
> +
> + case ACPI_TYPE_BUFFER:
> +
> + Status = AcpiDbTestBufferType (Node, BitLength);
> + break;
> +
> + default:
> +
> + AcpiOsPrintf (" Ignoring, type not implemented (%2.2X)",
> + LocalType);
> + break;
> + }
> +
> + switch (Node->Type)
> + {
> + case ACPI_TYPE_LOCAL_REGION_FIELD:
> +
> + RegionObj = ObjDesc->Field.RegionObj;
> + AcpiOsPrintf (" (%s)",
> + AcpiUtGetRegionName (RegionObj->Region.SpaceId));
> + break;
> +
> + default:
> + break;
> + }
> +
> + AcpiOsPrintf ("\n");
> + return (Status);
> +}
> +
> +
> +/*******************************************************************************
> + *
> + * FUNCTION: AcpiDbTestIntegerType
> + *
> + * PARAMETERS: Node - Parent NS node for the object
> + * BitLength - Actual length of the object. Used for
> + * support of arbitrary length FieldUnit
> + * and BufferField objects.
> + *
> + * RETURN: Status
> + *
> + * DESCRIPTION: Test read/write for an Integer-valued object. Performs a
> + * write/read/compare of an arbitrary new value, then performs
> + * a write/read/compare of the original value.
> + *
> + ******************************************************************************/
> +
> +static ACPI_STATUS
> +AcpiDbTestIntegerType (
> + ACPI_NAMESPACE_NODE *Node,
> + UINT32 BitLength)
> +{
> + ACPI_OBJECT *Temp1 = NULL;
> + ACPI_OBJECT *Temp2 = NULL;
> + ACPI_OBJECT *Temp3 = NULL;
> + ACPI_OBJECT WriteValue;
> + UINT64 ValueToWrite;
> + ACPI_STATUS Status;
> +
> +
> + if (BitLength > 64)
> + {
> + AcpiOsPrintf (" Invalid length for an Integer: %u", BitLength);
> + return (AE_OK);
> + }
> +
> + /* Read the original value */
> +
> + Status = AcpiDbReadFromObject (Node, ACPI_TYPE_INTEGER, &Temp1);
> + if (ACPI_FAILURE (Status))
> + {
> + return (Status);
> + }
> +
> + AcpiOsPrintf (" (%4.4X/%3.3X) %8.8X%8.8X",
> + BitLength, ACPI_ROUND_BITS_UP_TO_BYTES (BitLength),
> + ACPI_FORMAT_UINT64 (Temp1->Integer.Value));
> +
> + ValueToWrite = ACPI_UINT64_MAX >> (64 - BitLength);
> + if (Temp1->Integer.Value == ValueToWrite)
> + {
> + ValueToWrite = 0;
> + }
> +
> + /* Write a new value */
> +
> + WriteValue.Type = ACPI_TYPE_INTEGER;
> + WriteValue.Integer.Value = ValueToWrite;
> + Status = AcpiDbWriteToObject (Node, &WriteValue);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + /* Ensure that we can read back the new value */
> +
> + Status = AcpiDbReadFromObject (Node, ACPI_TYPE_INTEGER, &Temp2);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + if (Temp2->Integer.Value != ValueToWrite)
> + {
> + AcpiOsPrintf (" MISMATCH 2: %8.8X%8.8X, expecting %8.8X%8.8X",
> + ACPI_FORMAT_UINT64 (Temp2->Integer.Value),
> + ACPI_FORMAT_UINT64 (ValueToWrite));
> + }
> +
> + /* Write back the original value */
> +
> + WriteValue.Integer.Value = Temp1->Integer.Value;
> + Status = AcpiDbWriteToObject (Node, &WriteValue);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + /* Ensure that we can read back the original value */
> +
> + Status = AcpiDbReadFromObject (Node, ACPI_TYPE_INTEGER, &Temp3);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + if (Temp3->Integer.Value != Temp1->Integer.Value)
> + {
> + AcpiOsPrintf (" MISMATCH 3: %8.8X%8.8X, expecting %8.8X%8.8X",
> + ACPI_FORMAT_UINT64 (Temp3->Integer.Value),
> + ACPI_FORMAT_UINT64 (Temp1->Integer.Value));
> + }
> +
> +Exit:
> + if (Temp1) {AcpiOsFree (Temp1);}
> + if (Temp2) {AcpiOsFree (Temp2);}
> + if (Temp3) {AcpiOsFree (Temp3);}
> + return (AE_OK);
> +}
> +
> +
> +/*******************************************************************************
> + *
> + * FUNCTION: AcpiDbTestBufferType
> + *
> + * PARAMETERS: Node - Parent NS node for the object
> + * BitLength - Actual length of the object.
> + *
> + * RETURN: Status
> + *
> + * DESCRIPTION: Test read/write for an Buffer-valued object. Performs a
> + * write/read/compare of an arbitrary new value, then performs
> + * a write/read/compare of the original value.
> + *
> + ******************************************************************************/
> +
> +static ACPI_STATUS
> +AcpiDbTestBufferType (
> + ACPI_NAMESPACE_NODE *Node,
> + UINT32 BitLength)
> +{
> + ACPI_OBJECT *Temp1 = NULL;
> + ACPI_OBJECT *Temp2 = NULL;
> + ACPI_OBJECT *Temp3 = NULL;
> + UINT8 *Buffer;
> + ACPI_OBJECT WriteValue;
> + ACPI_STATUS Status;
> + UINT32 ByteLength;
> + UINT32 i;
> + UINT8 ExtraBits;
> +
> +
> + ByteLength = ACPI_ROUND_BITS_UP_TO_BYTES (BitLength);
> + if (ByteLength == 0)
> + {
> + AcpiOsPrintf (" Ignoring zero length buffer");
> + return (AE_OK);
> + }
> +
> + /* Allocate a local buffer */
> +
> + Buffer = ACPI_ALLOCATE_ZEROED (ByteLength);
> + if (!Buffer)
> + {
> + return (AE_NO_MEMORY);
> + }
> +
> + /* Read the original value */
> +
> + Status = AcpiDbReadFromObject (Node, ACPI_TYPE_BUFFER, &Temp1);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + /* Emit a few bytes of the buffer */
> +
> + AcpiOsPrintf (" (%4.4X/%3.3X)", BitLength, Temp1->Buffer.Length);
> + for (i = 0; ((i < 4) && (i < ByteLength)); i++)
> + {
> + AcpiOsPrintf (" %2.2X", Temp1->Buffer.Pointer[i]);
> + }
> + AcpiOsPrintf ("... ");
> +
> + /*
> + * Write a new value.
> + *
> + * Handle possible extra bits at the end of the buffer. Can
> + * happen for FieldUnits larger than an integer, but the bit
> + * count is not an integral number of bytes. Zero out the
> + * unused bits.
> + */
> + ACPI_MEMSET (Buffer, BUFFER_FILL_VALUE, ByteLength);
> + ExtraBits = BitLength % 8;
> + if (ExtraBits)
> + {
> + Buffer [ByteLength - 1] = ACPI_MASK_BITS_ABOVE (ExtraBits);
> + }
> +
> + WriteValue.Type = ACPI_TYPE_BUFFER;
> + WriteValue.Buffer.Length = ByteLength;
> + WriteValue.Buffer.Pointer = Buffer;
> +
> + Status = AcpiDbWriteToObject (Node, &WriteValue);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + /* Ensure that we can read back the new value */
> +
> + Status = AcpiDbReadFromObject (Node, ACPI_TYPE_BUFFER, &Temp2);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + if (ACPI_MEMCMP (Temp2->Buffer.Pointer, Buffer, ByteLength))
> + {
> + AcpiOsPrintf (" MISMATCH 2: New buffer value");
> + }
> +
> + /* Write back the original value */
> +
> + WriteValue.Buffer.Length = ByteLength;
> + WriteValue.Buffer.Pointer = Temp1->Buffer.Pointer;
> +
> + Status = AcpiDbWriteToObject (Node, &WriteValue);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + /* Ensure that we can read back the original value */
> +
> + Status = AcpiDbReadFromObject (Node, ACPI_TYPE_BUFFER, &Temp3);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + if (ACPI_MEMCMP (Temp1->Buffer.Pointer, Temp3->Buffer.Pointer, ByteLength))
> + {
> + AcpiOsPrintf (" MISMATCH 3: While restoring original buffer");
> + }
> +
> +Exit:
> + ACPI_FREE (Buffer);
> + if (Temp1) {AcpiOsFree (Temp1);}
> + if (Temp2) {AcpiOsFree (Temp2);}
> + if (Temp3) {AcpiOsFree (Temp3);}
> + return (Status);
> +}
> +
> +
> +/*******************************************************************************
> + *
> + * FUNCTION: AcpiDbTestStringType
> + *
> + * PARAMETERS: Node - Parent NS node for the object
> + * ByteLength - Actual length of the object.
> + *
> + * RETURN: Status
> + *
> + * DESCRIPTION: Test read/write for an String-valued object. Performs a
> + * write/read/compare of an arbitrary new value, then performs
> + * a write/read/compare of the original value.
> + *
> + ******************************************************************************/
> +
> +static ACPI_STATUS
> +AcpiDbTestStringType (
> + ACPI_NAMESPACE_NODE *Node,
> + UINT32 ByteLength)
> +{
> + ACPI_OBJECT *Temp1 = NULL;
> + ACPI_OBJECT *Temp2 = NULL;
> + ACPI_OBJECT *Temp3 = NULL;
> + char *ValueToWrite = "Test String from AML Debugger";
> + ACPI_OBJECT WriteValue;
> + ACPI_STATUS Status;
> +
> +
> + /* Read the original value */
> +
> + Status = AcpiDbReadFromObject (Node, ACPI_TYPE_STRING, &Temp1);
> + if (ACPI_FAILURE (Status))
> + {
> + return (Status);
> + }
> +
> + AcpiOsPrintf (" (%4.4X/%3.3X) \"%s\"", (Temp1->String.Length * 8),
> + Temp1->String.Length, Temp1->String.Pointer);
> +
> + /* Write a new value */
> +
> + WriteValue.Type = ACPI_TYPE_STRING;
> + WriteValue.String.Length = ACPI_STRLEN (ValueToWrite);
> + WriteValue.String.Pointer = ValueToWrite;
> +
> + Status = AcpiDbWriteToObject (Node, &WriteValue);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + /* Ensure that we can read back the new value */
> +
> + Status = AcpiDbReadFromObject (Node, ACPI_TYPE_STRING, &Temp2);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + if (ACPI_STRCMP (Temp2->String.Pointer, ValueToWrite))
> + {
> + AcpiOsPrintf (" MISMATCH 2: %s, expecting %s",
> + Temp2->String.Pointer, ValueToWrite);
> + }
> +
> + /* Write back the original value */
> +
> + WriteValue.String.Length = ACPI_STRLEN (Temp1->String.Pointer);
> + WriteValue.String.Pointer = Temp1->String.Pointer;
> +
> + Status = AcpiDbWriteToObject (Node, &WriteValue);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + /* Ensure that we can read back the original value */
> +
> + Status = AcpiDbReadFromObject (Node, ACPI_TYPE_STRING, &Temp3);
> + if (ACPI_FAILURE (Status))
> + {
> + goto Exit;
> + }
> +
> + if (ACPI_STRCMP (Temp1->String.Pointer, Temp3->String.Pointer))
> + {
> + AcpiOsPrintf (" MISMATCH 3: %s, expecting %s",
> + Temp3->String.Pointer, Temp1->String.Pointer);
> + }
> +
> +Exit:
> + if (Temp1) {AcpiOsFree (Temp1);}
> + if (Temp2) {AcpiOsFree (Temp2);}
> + if (Temp3) {AcpiOsFree (Temp3);}
> + return (Status);
> +}
> +
> +
> +/*******************************************************************************
> + *
> + * FUNCTION: AcpiDbReadFromObject
> + *
> + * PARAMETERS: Node - Parent NS node for the object
> + * ExpectedType - Object type expected from the read
> + * Value - Where the value read is returned
> + *
> + * RETURN: Status
> + *
> + * DESCRIPTION: Performs a read from the specified object by invoking the
> + * special debugger control method that reads the object. Thus,
> + * the AML interpreter is doing all of the work, increasing the
> + * validity of the test.
> + *
> + ******************************************************************************/
> +
> +static ACPI_STATUS
> +AcpiDbReadFromObject (
> + ACPI_NAMESPACE_NODE *Node,
> + ACPI_OBJECT_TYPE ExpectedType,
> + ACPI_OBJECT **Value)
> +{
> + ACPI_OBJECT *RetValue;
> + ACPI_OBJECT_LIST ParamObjects;
> + ACPI_OBJECT Params[2];
> + ACPI_BUFFER ReturnObj;
> + ACPI_STATUS Status;
> +
> +
> + Params[0].Type = ACPI_TYPE_LOCAL_REFERENCE;
> + Params[0].Reference.ActualType = Node->Type;
> + Params[0].Reference.Handle = ACPI_CAST_PTR (ACPI_HANDLE, Node);
> +
> + ParamObjects.Count = 1;
> + ParamObjects.Pointer = Params;
> +
> + ReturnObj.Length = ACPI_ALLOCATE_BUFFER;
> +
> + AcpiGbl_MethodExecuting = TRUE;
> + Status = AcpiEvaluateObject (ReadHandle, NULL, &ParamObjects, &ReturnObj);
> + AcpiGbl_MethodExecuting = FALSE;
> +
> + if (ACPI_FAILURE (Status))
> + {
> + AcpiOsPrintf ("Could not read from object, %s",
> + AcpiFormatException (Status));
> + return (Status);
> + }
> +
> + RetValue = (ACPI_OBJECT *) ReturnObj.Pointer;
> +
> + switch (RetValue->Type)
> + {
> + case ACPI_TYPE_INTEGER:
> + case ACPI_TYPE_BUFFER:
> + case ACPI_TYPE_STRING:
> + /*
> + * Did we receive the type we wanted? Most important for the
> + * Integer/Buffer case (when a field is larger than an Integer,
> + * it should return a Buffer).
> + */
> + if (RetValue->Type != ExpectedType)
> + {
> + AcpiOsPrintf (" Type mismatch: Expected %s, Received %s",
> + AcpiUtGetTypeName (ExpectedType),
> + AcpiUtGetTypeName (RetValue->Type));
> +
> + return (AE_TYPE);
> + }
> +
> + *Value = RetValue;
> + break;
> +
> + default:
> +
> + AcpiOsPrintf (" Unsupported return object type, %s",
> + AcpiUtGetTypeName (RetValue->Type));
> + AcpiOsFree (ReturnObj.Pointer);
> +
> + return (AE_TYPE);
> + }
> +
> + return (Status);
> +}
> +
> +
> +/*******************************************************************************
> + *
> + * FUNCTION: AcpiDbWriteToObject
> + *
> + * PARAMETERS: Node - Parent NS node for the object
> + * Value - Value to be written
> + *
> + * RETURN: Status
> + *
> + * DESCRIPTION: Performs a write to the specified object by invoking the
> + * special debugger control method that writes the object. Thus,
> + * the AML interpreter is doing all of the work, increasing the
> + * validity of the test.
> + *
> + ******************************************************************************/
> +
> +static ACPI_STATUS
> +AcpiDbWriteToObject (
> + ACPI_NAMESPACE_NODE *Node,
> + ACPI_OBJECT *Value)
> +{
> + ACPI_OBJECT_LIST ParamObjects;
> + ACPI_OBJECT Params[2];
> + ACPI_STATUS Status;
> +
> +
> + Params[0].Type = ACPI_TYPE_LOCAL_REFERENCE;
> + Params[0].Reference.ActualType = Node->Type;
> + Params[0].Reference.Handle = ACPI_CAST_PTR (ACPI_HANDLE, Node);
> +
> + /* Copy the incoming user parameter */
> +
> + ACPI_MEMCPY (&Params[1], Value, sizeof (ACPI_OBJECT));
> +
> + ParamObjects.Count = 2;
> + ParamObjects.Pointer = Params;
> +
> + AcpiGbl_MethodExecuting = TRUE;
> + Status = AcpiEvaluateObject (WriteHandle, NULL, &ParamObjects, NULL);
> + AcpiGbl_MethodExecuting = FALSE;
> +
> + if (ACPI_FAILURE (Status))
> + {
> + AcpiOsPrintf ("Could not write to object, %s",
> + AcpiFormatException (Status));
> + }
> +
> + return (Status);
> +}
> +
> +
> +/*******************************************************************************
> + *
> + * FUNCTION: AcpiDbEvaluateAllPredefinedNames
> + *
> + * PARAMETERS: CountArg - Max number of methods to execute
> + *
> + * RETURN: None
> + *
> + * DESCRIPTION: Namespace batch execution. Execute predefined names in the
> + * namespace, up to the max count, if specified.
> + *
> + ******************************************************************************/
> +
> +static void
> +AcpiDbEvaluateAllPredefinedNames (
> + char *CountArg)
> +{
> + ACPI_DB_EXECUTE_WALK Info;
> +
> +
> + Info.Count = 0;
> + Info.MaxCount = ACPI_UINT32_MAX;
> +
> + if (CountArg)
> + {
> + Info.MaxCount = ACPI_STRTOUL (CountArg, NULL, 0);
> + }
> +
> + /* Search all nodes in namespace */
> +
> + (void) AcpiWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
> + AcpiDbEvaluateOnePredefinedName, NULL, (void *) &Info, NULL);
> +
> + AcpiOsPrintf ("Evaluated %u predefined names in the namespace\n", Info.Count);
> +}
> +
> +
> +/*******************************************************************************
> + *
> + * FUNCTION: AcpiDbEvaluateOnePredefinedName
> + *
> + * PARAMETERS: Callback from WalkNamespace
> + *
> + * RETURN: Status
> + *
> + * DESCRIPTION: Batch execution module. Currently only executes predefined
> + * ACPI names.
> + *
> + ******************************************************************************/
> +
> +static ACPI_STATUS
> +AcpiDbEvaluateOnePredefinedName (
> + ACPI_HANDLE ObjHandle,
> + UINT32 NestingLevel,
> + void *Context,
> + void **ReturnValue)
> +{
> + ACPI_NAMESPACE_NODE *Node = (ACPI_NAMESPACE_NODE *) ObjHandle;
> + ACPI_DB_EXECUTE_WALK *Info = (ACPI_DB_EXECUTE_WALK *) Context;
> + char *Pathname;
> + const ACPI_PREDEFINED_INFO *Predefined;
> + ACPI_DEVICE_INFO *ObjInfo;
> + ACPI_OBJECT_LIST ParamObjects;
> + ACPI_OBJECT Params[ACPI_METHOD_NUM_ARGS];
> + ACPI_OBJECT *ThisParam;
> + ACPI_BUFFER ReturnObj;
> + ACPI_STATUS Status;
> + UINT16 ArgTypeList;
> + UINT8 ArgCount;
> + UINT8 ArgType;
> + UINT32 i;
> +
> +
> + /* The name must be a predefined ACPI name */
> +
> + Predefined = AcpiUtMatchPredefinedMethod (Node->Name.Ascii);
> + if (!Predefined)
> + {
> + return (AE_OK);
> + }
> +
> + if (Node->Type == ACPI_TYPE_LOCAL_SCOPE)
> + {
> + return (AE_OK);
> + }
> +
> + Pathname = AcpiNsGetExternalPathname (Node);
> + if (!Pathname)
> + {
> + return (AE_OK);
> + }
> +
> + /* Get the object info for number of method parameters */
> +
> + Status = AcpiGetObjectInfo (ObjHandle, &ObjInfo);
> + if (ACPI_FAILURE (Status))
> + {
> + return (Status);
> + }
> +
> + ParamObjects.Count = 0;
> + ParamObjects.Pointer = NULL;
> +
> + if (ObjInfo->Type == ACPI_TYPE_METHOD)
> + {
> + /* Setup default parameters (with proper types) */
> +
> + ArgTypeList = Predefined->Info.ArgumentList;
> + ArgCount = METHOD_GET_ARG_COUNT (ArgTypeList);
> +
> + /*
> + * Setup the ACPI-required number of arguments, regardless of what
> + * the actual method defines. If there is a difference, then the
> + * method is wrong and a warning will be issued during execution.
> + */
> + ThisParam = Params;
> + for (i = 0; i < ArgCount; i++)
> + {
> + ArgType = METHOD_GET_NEXT_TYPE (ArgTypeList);
> + ThisParam->Type = ArgType;
> +
> + switch (ArgType)
> + {
> + case ACPI_TYPE_INTEGER:
> +
> + ThisParam->Integer.Value = 1;
> + break;
> +
> + case ACPI_TYPE_STRING:
> +
> + ThisParam->String.Pointer = "This is the default argument string";
> + ThisParam->String.Length = ACPI_STRLEN (ThisParam->String.Pointer);
> + break;
> +
> + case ACPI_TYPE_BUFFER:
> +
> + ThisParam->Buffer.Pointer = (UINT8 *) Params; /* just a garbage buffer */
> + ThisParam->Buffer.Length = 48;
> + break;
> +
> + case ACPI_TYPE_PACKAGE:
> +
> + ThisParam->Package.Elements = NULL;
> + ThisParam->Package.Count = 0;
> + break;
> +
> + default:
> +
> + AcpiOsPrintf ("%s: Unsupported argument type: %u\n",
> + Pathname, ArgType);
> + break;
> + }
> +
> + ThisParam++;
> + }
> +
> + ParamObjects.Count = ArgCount;
> + ParamObjects.Pointer = Params;
> + }
> +
> + ACPI_FREE (ObjInfo);
> + ReturnObj.Pointer = NULL;
> + ReturnObj.Length = ACPI_ALLOCATE_BUFFER;
> +
> + /* Do the actual method execution */
> +
> + AcpiGbl_MethodExecuting = TRUE;
> +
> + Status = AcpiEvaluateObject (Node, NULL, &ParamObjects, &ReturnObj);
> +
> + AcpiOsPrintf ("%-32s returned %s\n", Pathname, AcpiFormatException (Status));
> + AcpiGbl_MethodExecuting = FALSE;
> + ACPI_FREE (Pathname);
> +
> + /* Ignore status from method execution */
> +
> + Status = AE_OK;
> +
> + /* Update count, check if we have executed enough methods */
> +
> + Info->Count++;
> + if (Info->Count >= Info->MaxCount)
> + {
> + Status = AE_CTRL_TERMINATE;
> + }
> +
> + return (Status);
> +}
> +
> +#endif /* ACPI_DEBUGGER */
> diff --git a/src/acpica/source/components/debugger/dbutils.c b/src/acpica/source/components/debugger/dbutils.c
> index 3a98d4f..9bcc675 100644
> --- a/src/acpica/source/components/debugger/dbutils.c
> +++ b/src/acpica/source/components/debugger/dbutils.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/debugger/dbxface.c b/src/acpica/source/components/debugger/dbxface.c
> index 845d75f..ed821c4 100644
> --- a/src/acpica/source/components/debugger/dbxface.c
> +++ b/src/acpica/source/components/debugger/dbxface.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmbuffer.c b/src/acpica/source/components/disassembler/dmbuffer.c
> index 9e9f4c4..108e989 100644
> --- a/src/acpica/source/components/disassembler/dmbuffer.c
> +++ b/src/acpica/source/components/disassembler/dmbuffer.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmdeferred.c b/src/acpica/source/components/disassembler/dmdeferred.c
> index 0a75b68..148de63 100644
> --- a/src/acpica/source/components/disassembler/dmdeferred.c
> +++ b/src/acpica/source/components/disassembler/dmdeferred.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmnames.c b/src/acpica/source/components/disassembler/dmnames.c
> index de5934c..f88e35e 100644
> --- a/src/acpica/source/components/disassembler/dmnames.c
> +++ b/src/acpica/source/components/disassembler/dmnames.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmobject.c b/src/acpica/source/components/disassembler/dmobject.c
> index 25a2c04..4194939 100644
> --- a/src/acpica/source/components/disassembler/dmobject.c
> +++ b/src/acpica/source/components/disassembler/dmobject.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmopcode.c b/src/acpica/source/components/disassembler/dmopcode.c
> index 767c2bf..0564244 100644
> --- a/src/acpica/source/components/disassembler/dmopcode.c
> +++ b/src/acpica/source/components/disassembler/dmopcode.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmresrc.c b/src/acpica/source/components/disassembler/dmresrc.c
> index 7dd5693..610ead7 100644
> --- a/src/acpica/source/components/disassembler/dmresrc.c
> +++ b/src/acpica/source/components/disassembler/dmresrc.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmresrcl.c b/src/acpica/source/components/disassembler/dmresrcl.c
> index 4096822..64c10bf 100644
> --- a/src/acpica/source/components/disassembler/dmresrcl.c
> +++ b/src/acpica/source/components/disassembler/dmresrcl.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmresrcl2.c b/src/acpica/source/components/disassembler/dmresrcl2.c
> index a5cc7fb..50e60fd 100644
> --- a/src/acpica/source/components/disassembler/dmresrcl2.c
> +++ b/src/acpica/source/components/disassembler/dmresrcl2.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmresrcs.c b/src/acpica/source/components/disassembler/dmresrcs.c
> index 0851357..e29b9ee 100644
> --- a/src/acpica/source/components/disassembler/dmresrcs.c
> +++ b/src/acpica/source/components/disassembler/dmresrcs.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmutils.c b/src/acpica/source/components/disassembler/dmutils.c
> index 6369a69..26141ea 100644
> --- a/src/acpica/source/components/disassembler/dmutils.c
> +++ b/src/acpica/source/components/disassembler/dmutils.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/disassembler/dmwalk.c b/src/acpica/source/components/disassembler/dmwalk.c
> index 882197f..9d9a0cc 100644
> --- a/src/acpica/source/components/disassembler/dmwalk.c
> +++ b/src/acpica/source/components/disassembler/dmwalk.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dsargs.c b/src/acpica/source/components/dispatcher/dsargs.c
> index 1ac2197..7801341 100644
> --- a/src/acpica/source/components/dispatcher/dsargs.c
> +++ b/src/acpica/source/components/dispatcher/dsargs.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dscontrol.c b/src/acpica/source/components/dispatcher/dscontrol.c
> index 1751e28..6ed6010 100644
> --- a/src/acpica/source/components/dispatcher/dscontrol.c
> +++ b/src/acpica/source/components/dispatcher/dscontrol.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dsfield.c b/src/acpica/source/components/dispatcher/dsfield.c
> index 812c30b..2219952 100644
> --- a/src/acpica/source/components/dispatcher/dsfield.c
> +++ b/src/acpica/source/components/dispatcher/dsfield.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dsinit.c b/src/acpica/source/components/dispatcher/dsinit.c
> index 119d734..94b6d6d 100644
> --- a/src/acpica/source/components/dispatcher/dsinit.c
> +++ b/src/acpica/source/components/dispatcher/dsinit.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dsmethod.c b/src/acpica/source/components/dispatcher/dsmethod.c
> index 01aa788..a4ed4cd 100644
> --- a/src/acpica/source/components/dispatcher/dsmethod.c
> +++ b/src/acpica/source/components/dispatcher/dsmethod.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dsmthdat.c b/src/acpica/source/components/dispatcher/dsmthdat.c
> index 2e034e9..9b664bc 100644
> --- a/src/acpica/source/components/dispatcher/dsmthdat.c
> +++ b/src/acpica/source/components/dispatcher/dsmthdat.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dsobject.c b/src/acpica/source/components/dispatcher/dsobject.c
> index b2e2e61..d6260b5 100644
> --- a/src/acpica/source/components/dispatcher/dsobject.c
> +++ b/src/acpica/source/components/dispatcher/dsobject.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dsopcode.c b/src/acpica/source/components/dispatcher/dsopcode.c
> index 1bca33d..83d482d 100644
> --- a/src/acpica/source/components/dispatcher/dsopcode.c
> +++ b/src/acpica/source/components/dispatcher/dsopcode.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dsutils.c b/src/acpica/source/components/dispatcher/dsutils.c
> index 7757238..2553ad2 100644
> --- a/src/acpica/source/components/dispatcher/dsutils.c
> +++ b/src/acpica/source/components/dispatcher/dsutils.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dswexec.c b/src/acpica/source/components/dispatcher/dswexec.c
> index b8c5be3..afa707d 100644
> --- a/src/acpica/source/components/dispatcher/dswexec.c
> +++ b/src/acpica/source/components/dispatcher/dswexec.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dswload.c b/src/acpica/source/components/dispatcher/dswload.c
> index d7c437a..f97f821 100644
> --- a/src/acpica/source/components/dispatcher/dswload.c
> +++ b/src/acpica/source/components/dispatcher/dswload.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dswload2.c b/src/acpica/source/components/dispatcher/dswload2.c
> index 2362d98..bef85cb 100644
> --- a/src/acpica/source/components/dispatcher/dswload2.c
> +++ b/src/acpica/source/components/dispatcher/dswload2.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dswscope.c b/src/acpica/source/components/dispatcher/dswscope.c
> index 2490b8b..62f2596 100644
> --- a/src/acpica/source/components/dispatcher/dswscope.c
> +++ b/src/acpica/source/components/dispatcher/dswscope.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/dispatcher/dswstate.c b/src/acpica/source/components/dispatcher/dswstate.c
> index 99def39..e76d4ce 100644
> --- a/src/acpica/source/components/dispatcher/dswstate.c
> +++ b/src/acpica/source/components/dispatcher/dswstate.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evevent.c b/src/acpica/source/components/events/evevent.c
> index 897c933..f43eeff 100644
> --- a/src/acpica/source/components/events/evevent.c
> +++ b/src/acpica/source/components/events/evevent.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evglock.c b/src/acpica/source/components/events/evglock.c
> index f92b5de..fa1954a 100644
> --- a/src/acpica/source/components/events/evglock.c
> +++ b/src/acpica/source/components/events/evglock.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evgpe.c b/src/acpica/source/components/events/evgpe.c
> index 0eceb5e..d27fd80 100644
> --- a/src/acpica/source/components/events/evgpe.c
> +++ b/src/acpica/source/components/events/evgpe.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evgpeblk.c b/src/acpica/source/components/events/evgpeblk.c
> index 4d45cf0..f1a5b1b 100644
> --- a/src/acpica/source/components/events/evgpeblk.c
> +++ b/src/acpica/source/components/events/evgpeblk.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evgpeinit.c b/src/acpica/source/components/events/evgpeinit.c
> index c9ae57b..6bf32ff 100644
> --- a/src/acpica/source/components/events/evgpeinit.c
> +++ b/src/acpica/source/components/events/evgpeinit.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evgpeutil.c b/src/acpica/source/components/events/evgpeutil.c
> index 57a2385..0410bae 100644
> --- a/src/acpica/source/components/events/evgpeutil.c
> +++ b/src/acpica/source/components/events/evgpeutil.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evhandler.c b/src/acpica/source/components/events/evhandler.c
> index a92546f..d17411e 100644
> --- a/src/acpica/source/components/events/evhandler.c
> +++ b/src/acpica/source/components/events/evhandler.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evmisc.c b/src/acpica/source/components/events/evmisc.c
> index b0c8983..f9a5fb1 100644
> --- a/src/acpica/source/components/events/evmisc.c
> +++ b/src/acpica/source/components/events/evmisc.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evregion.c b/src/acpica/source/components/events/evregion.c
> index efaf38b..c03ae6c 100644
> --- a/src/acpica/source/components/events/evregion.c
> +++ b/src/acpica/source/components/events/evregion.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evrgnini.c b/src/acpica/source/components/events/evrgnini.c
> index 8087f8c..ac321c7 100644
> --- a/src/acpica/source/components/events/evrgnini.c
> +++ b/src/acpica/source/components/events/evrgnini.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evsci.c b/src/acpica/source/components/events/evsci.c
> index fe5c309..b0c19e5 100644
> --- a/src/acpica/source/components/events/evsci.c
> +++ b/src/acpica/source/components/events/evsci.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evxface.c b/src/acpica/source/components/events/evxface.c
> index 91bae82..bba1bfb 100644
> --- a/src/acpica/source/components/events/evxface.c
> +++ b/src/acpica/source/components/events/evxface.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evxfevnt.c b/src/acpica/source/components/events/evxfevnt.c
> index 10780f3..c099bdb 100644
> --- a/src/acpica/source/components/events/evxfevnt.c
> +++ b/src/acpica/source/components/events/evxfevnt.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/events/evxfgpe.c b/src/acpica/source/components/events/evxfgpe.c
> index 9b4ce30..8ab1ed1 100644
> --- a/src/acpica/source/components/events/evxfgpe.c
> +++ b/src/acpica/source/components/events/evxfgpe.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -863,6 +863,20 @@ AcpiInstallGpeBlock (
> goto UnlockAndExit;
> }
>
> + /* Validate the parent device */
> +
> + if (Node->Type != ACPI_TYPE_DEVICE)
> + {
> + Status = AE_TYPE;
> + goto UnlockAndExit;
> + }
> +
> + if (Node->Object)
> + {
> + Status = AE_ALREADY_EXISTS;
> + goto UnlockAndExit;
> + }
> +
> /*
> * For user-installed GPE Block Devices, the GpeBlockBaseNumber
> * is always zero
> @@ -956,6 +970,14 @@ AcpiRemoveGpeBlock (
> goto UnlockAndExit;
> }
>
> + /* Validate the parent device */
> +
> + if (Node->Type != ACPI_TYPE_DEVICE)
> + {
> + Status = AE_TYPE;
> + goto UnlockAndExit;
> + }
> +
> /* Get the DeviceObject attached to the node */
>
> ObjDesc = AcpiNsGetAttachedObject (Node);
> diff --git a/src/acpica/source/components/events/evxfregn.c b/src/acpica/source/components/events/evxfregn.c
> index eefb119..014e375 100644
> --- a/src/acpica/source/components/events/evxfregn.c
> +++ b/src/acpica/source/components/events/evxfregn.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exconfig.c b/src/acpica/source/components/executer/exconfig.c
> index 809adb8..1c32a33 100644
> --- a/src/acpica/source/components/executer/exconfig.c
> +++ b/src/acpica/source/components/executer/exconfig.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exconvrt.c b/src/acpica/source/components/executer/exconvrt.c
> index 99f03da..2b2fffd 100644
> --- a/src/acpica/source/components/executer/exconvrt.c
> +++ b/src/acpica/source/components/executer/exconvrt.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/excreate.c b/src/acpica/source/components/executer/excreate.c
> index 0b26c48..8f7b9e7 100644
> --- a/src/acpica/source/components/executer/excreate.c
> +++ b/src/acpica/source/components/executer/excreate.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exdebug.c b/src/acpica/source/components/executer/exdebug.c
> index b4525ca..e374e13 100644
> --- a/src/acpica/source/components/executer/exdebug.c
> +++ b/src/acpica/source/components/executer/exdebug.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exdump.c b/src/acpica/source/components/executer/exdump.c
> index af788e2..d020a71 100644
> --- a/src/acpica/source/components/executer/exdump.c
> +++ b/src/acpica/source/components/executer/exdump.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exfield.c b/src/acpica/source/components/executer/exfield.c
> index 2ebce9d..3cb1b12 100644
> --- a/src/acpica/source/components/executer/exfield.c
> +++ b/src/acpica/source/components/executer/exfield.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exfldio.c b/src/acpica/source/components/executer/exfldio.c
> index 934f024..51a1e6d 100644
> --- a/src/acpica/source/components/executer/exfldio.c
> +++ b/src/acpica/source/components/executer/exfldio.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exmisc.c b/src/acpica/source/components/executer/exmisc.c
> index 793abbf..b78425c 100644
> --- a/src/acpica/source/components/executer/exmisc.c
> +++ b/src/acpica/source/components/executer/exmisc.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exmutex.c b/src/acpica/source/components/executer/exmutex.c
> index 14ad6f0..a613c54 100644
> --- a/src/acpica/source/components/executer/exmutex.c
> +++ b/src/acpica/source/components/executer/exmutex.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exnames.c b/src/acpica/source/components/executer/exnames.c
> index 847cb57..e8dc00c 100644
> --- a/src/acpica/source/components/executer/exnames.c
> +++ b/src/acpica/source/components/executer/exnames.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exoparg1.c b/src/acpica/source/components/executer/exoparg1.c
> index 8bde71a..30fc504 100644
> --- a/src/acpica/source/components/executer/exoparg1.c
> +++ b/src/acpica/source/components/executer/exoparg1.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exoparg2.c b/src/acpica/source/components/executer/exoparg2.c
> index 77308f1..3a65485 100644
> --- a/src/acpica/source/components/executer/exoparg2.c
> +++ b/src/acpica/source/components/executer/exoparg2.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exoparg3.c b/src/acpica/source/components/executer/exoparg3.c
> index ce88cac..97df207 100644
> --- a/src/acpica/source/components/executer/exoparg3.c
> +++ b/src/acpica/source/components/executer/exoparg3.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exoparg6.c b/src/acpica/source/components/executer/exoparg6.c
> index 9d5eacd..515fc59 100644
> --- a/src/acpica/source/components/executer/exoparg6.c
> +++ b/src/acpica/source/components/executer/exoparg6.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exprep.c b/src/acpica/source/components/executer/exprep.c
> index 88dc577..f170736 100644
> --- a/src/acpica/source/components/executer/exprep.c
> +++ b/src/acpica/source/components/executer/exprep.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exregion.c b/src/acpica/source/components/executer/exregion.c
> index e1ebea2..ea10a01 100644
> --- a/src/acpica/source/components/executer/exregion.c
> +++ b/src/acpica/source/components/executer/exregion.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exresnte.c b/src/acpica/source/components/executer/exresnte.c
> index 6100be0..323f9db 100644
> --- a/src/acpica/source/components/executer/exresnte.c
> +++ b/src/acpica/source/components/executer/exresnte.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exresolv.c b/src/acpica/source/components/executer/exresolv.c
> index c35150a..e035918 100644
> --- a/src/acpica/source/components/executer/exresolv.c
> +++ b/src/acpica/source/components/executer/exresolv.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exresop.c b/src/acpica/source/components/executer/exresop.c
> index f0705f0..aafc1dc 100644
> --- a/src/acpica/source/components/executer/exresop.c
> +++ b/src/acpica/source/components/executer/exresop.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exstore.c b/src/acpica/source/components/executer/exstore.c
> index 3524c5a..97b8be8 100644
> --- a/src/acpica/source/components/executer/exstore.c
> +++ b/src/acpica/source/components/executer/exstore.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exstoren.c b/src/acpica/source/components/executer/exstoren.c
> index b3d7845..d1fc09f 100644
> --- a/src/acpica/source/components/executer/exstoren.c
> +++ b/src/acpica/source/components/executer/exstoren.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exstorob.c b/src/acpica/source/components/executer/exstorob.c
> index abd3ae7..dc64e92 100644
> --- a/src/acpica/source/components/executer/exstorob.c
> +++ b/src/acpica/source/components/executer/exstorob.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exsystem.c b/src/acpica/source/components/executer/exsystem.c
> index e5bb978..91a8a00 100644
> --- a/src/acpica/source/components/executer/exsystem.c
> +++ b/src/acpica/source/components/executer/exsystem.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/executer/exutils.c b/src/acpica/source/components/executer/exutils.c
> index a520a30..0c94337 100644
> --- a/src/acpica/source/components/executer/exutils.c
> +++ b/src/acpica/source/components/executer/exutils.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/hardware/hwacpi.c b/src/acpica/source/components/hardware/hwacpi.c
> index 9bef5e9..1facc20 100644
> --- a/src/acpica/source/components/hardware/hwacpi.c
> +++ b/src/acpica/source/components/hardware/hwacpi.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/hardware/hwesleep.c b/src/acpica/source/components/hardware/hwesleep.c
> index c9befbf..0dab77a 100644
> --- a/src/acpica/source/components/hardware/hwesleep.c
> +++ b/src/acpica/source/components/hardware/hwesleep.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/hardware/hwgpe.c b/src/acpica/source/components/hardware/hwgpe.c
> index 118b985..a777e58 100644
> --- a/src/acpica/source/components/hardware/hwgpe.c
> +++ b/src/acpica/source/components/hardware/hwgpe.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/hardware/hwpci.c b/src/acpica/source/components/hardware/hwpci.c
> index 81dd281..42b5f59 100644
> --- a/src/acpica/source/components/hardware/hwpci.c
> +++ b/src/acpica/source/components/hardware/hwpci.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/hardware/hwregs.c b/src/acpica/source/components/hardware/hwregs.c
> index 84895be..9950579 100644
> --- a/src/acpica/source/components/hardware/hwregs.c
> +++ b/src/acpica/source/components/hardware/hwregs.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/hardware/hwsleep.c b/src/acpica/source/components/hardware/hwsleep.c
> index 0952d64..4501598 100644
> --- a/src/acpica/source/components/hardware/hwsleep.c
> +++ b/src/acpica/source/components/hardware/hwsleep.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/hardware/hwvalid.c b/src/acpica/source/components/hardware/hwvalid.c
> index 2712dc6..511a631 100644
> --- a/src/acpica/source/components/hardware/hwvalid.c
> +++ b/src/acpica/source/components/hardware/hwvalid.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/hardware/hwxface.c b/src/acpica/source/components/hardware/hwxface.c
> index 36f4e5c..4687ae1 100644
> --- a/src/acpica/source/components/hardware/hwxface.c
> +++ b/src/acpica/source/components/hardware/hwxface.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/hardware/hwxfsleep.c b/src/acpica/source/components/hardware/hwxfsleep.c
> index 8369600..db64da6 100644
> --- a/src/acpica/source/components/hardware/hwxfsleep.c
> +++ b/src/acpica/source/components/hardware/hwxfsleep.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsaccess.c b/src/acpica/source/components/namespace/nsaccess.c
> index d0e70f6..4c8bd30 100644
> --- a/src/acpica/source/components/namespace/nsaccess.c
> +++ b/src/acpica/source/components/namespace/nsaccess.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsalloc.c b/src/acpica/source/components/namespace/nsalloc.c
> index 8efa313..d1701b8 100644
> --- a/src/acpica/source/components/namespace/nsalloc.c
> +++ b/src/acpica/source/components/namespace/nsalloc.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsarguments.c b/src/acpica/source/components/namespace/nsarguments.c
> index df9de34..792cd59 100644
> --- a/src/acpica/source/components/namespace/nsarguments.c
> +++ b/src/acpica/source/components/namespace/nsarguments.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsconvert.c b/src/acpica/source/components/namespace/nsconvert.c
> index cacd78d..5bd6868 100644
> --- a/src/acpica/source/components/namespace/nsconvert.c
> +++ b/src/acpica/source/components/namespace/nsconvert.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsdump.c b/src/acpica/source/components/namespace/nsdump.c
> index d62ca29..4823046 100644
> --- a/src/acpica/source/components/namespace/nsdump.c
> +++ b/src/acpica/source/components/namespace/nsdump.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsdumpdv.c b/src/acpica/source/components/namespace/nsdumpdv.c
> index 7f5dba4..ed1b8a9 100644
> --- a/src/acpica/source/components/namespace/nsdumpdv.c
> +++ b/src/acpica/source/components/namespace/nsdumpdv.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nseval.c b/src/acpica/source/components/namespace/nseval.c
> index 7ae62b5..227a103 100644
> --- a/src/acpica/source/components/namespace/nseval.c
> +++ b/src/acpica/source/components/namespace/nseval.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsinit.c b/src/acpica/source/components/namespace/nsinit.c
> index 8619d68..055d66c 100644
> --- a/src/acpica/source/components/namespace/nsinit.c
> +++ b/src/acpica/source/components/namespace/nsinit.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsload.c b/src/acpica/source/components/namespace/nsload.c
> index 4c50101..e156b0d 100644
> --- a/src/acpica/source/components/namespace/nsload.c
> +++ b/src/acpica/source/components/namespace/nsload.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsnames.c b/src/acpica/source/components/namespace/nsnames.c
> index 2274a6e..f345d90 100644
> --- a/src/acpica/source/components/namespace/nsnames.c
> +++ b/src/acpica/source/components/namespace/nsnames.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsobject.c b/src/acpica/source/components/namespace/nsobject.c
> index b493dc7..922c5ca 100644
> --- a/src/acpica/source/components/namespace/nsobject.c
> +++ b/src/acpica/source/components/namespace/nsobject.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsparse.c b/src/acpica/source/components/namespace/nsparse.c
> index 5d1ed91..847e61b 100644
> --- a/src/acpica/source/components/namespace/nsparse.c
> +++ b/src/acpica/source/components/namespace/nsparse.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nspredef.c b/src/acpica/source/components/namespace/nspredef.c
> index 15ba35e..820710d 100644
> --- a/src/acpica/source/components/namespace/nspredef.c
> +++ b/src/acpica/source/components/namespace/nspredef.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsprepkg.c b/src/acpica/source/components/namespace/nsprepkg.c
> index f199053..7c58355 100644
> --- a/src/acpica/source/components/namespace/nsprepkg.c
> +++ b/src/acpica/source/components/namespace/nsprepkg.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsrepair.c b/src/acpica/source/components/namespace/nsrepair.c
> index 3593da5..6cf826e 100644
> --- a/src/acpica/source/components/namespace/nsrepair.c
> +++ b/src/acpica/source/components/namespace/nsrepair.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsrepair2.c b/src/acpica/source/components/namespace/nsrepair2.c
> index 46f4107..5fee88a 100644
> --- a/src/acpica/source/components/namespace/nsrepair2.c
> +++ b/src/acpica/source/components/namespace/nsrepair2.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nssearch.c b/src/acpica/source/components/namespace/nssearch.c
> index b4102e6..1632f2e 100644
> --- a/src/acpica/source/components/namespace/nssearch.c
> +++ b/src/acpica/source/components/namespace/nssearch.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsutils.c b/src/acpica/source/components/namespace/nsutils.c
> index f51fbf3..cf4214e 100644
> --- a/src/acpica/source/components/namespace/nsutils.c
> +++ b/src/acpica/source/components/namespace/nsutils.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nswalk.c b/src/acpica/source/components/namespace/nswalk.c
> index 20b1b32..c6c5663 100644
> --- a/src/acpica/source/components/namespace/nswalk.c
> +++ b/src/acpica/source/components/namespace/nswalk.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsxfeval.c b/src/acpica/source/components/namespace/nsxfeval.c
> index 881945e..4864e61 100644
> --- a/src/acpica/source/components/namespace/nsxfeval.c
> +++ b/src/acpica/source/components/namespace/nsxfeval.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsxfname.c b/src/acpica/source/components/namespace/nsxfname.c
> index a4bca31..475491c 100644
> --- a/src/acpica/source/components/namespace/nsxfname.c
> +++ b/src/acpica/source/components/namespace/nsxfname.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/namespace/nsxfobj.c b/src/acpica/source/components/namespace/nsxfobj.c
> index 233ce26..0f61a71 100644
> --- a/src/acpica/source/components/namespace/nsxfobj.c
> +++ b/src/acpica/source/components/namespace/nsxfobj.c
> @@ -9,7 +9,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/psargs.c b/src/acpica/source/components/parser/psargs.c
> index 938a4f1..5e2e434 100644
> --- a/src/acpica/source/components/parser/psargs.c
> +++ b/src/acpica/source/components/parser/psargs.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/psloop.c b/src/acpica/source/components/parser/psloop.c
> index d9d4548..83b4b65 100644
> --- a/src/acpica/source/components/parser/psloop.c
> +++ b/src/acpica/source/components/parser/psloop.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/psobject.c b/src/acpica/source/components/parser/psobject.c
> index 8e5faed..39d0ed3 100644
> --- a/src/acpica/source/components/parser/psobject.c
> +++ b/src/acpica/source/components/parser/psobject.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/psopcode.c b/src/acpica/source/components/parser/psopcode.c
> index 22f958b..0af5e9a 100644
> --- a/src/acpica/source/components/parser/psopcode.c
> +++ b/src/acpica/source/components/parser/psopcode.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/psopinfo.c b/src/acpica/source/components/parser/psopinfo.c
> index f614f6b..5118ccd 100644
> --- a/src/acpica/source/components/parser/psopinfo.c
> +++ b/src/acpica/source/components/parser/psopinfo.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/psparse.c b/src/acpica/source/components/parser/psparse.c
> index 689c2b8..b9038f1 100644
> --- a/src/acpica/source/components/parser/psparse.c
> +++ b/src/acpica/source/components/parser/psparse.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/psscope.c b/src/acpica/source/components/parser/psscope.c
> index c90b467..45a5768 100644
> --- a/src/acpica/source/components/parser/psscope.c
> +++ b/src/acpica/source/components/parser/psscope.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/pstree.c b/src/acpica/source/components/parser/pstree.c
> index dcb4ded..4a6403d 100644
> --- a/src/acpica/source/components/parser/pstree.c
> +++ b/src/acpica/source/components/parser/pstree.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/psutils.c b/src/acpica/source/components/parser/psutils.c
> index 4ce867b..12d74a9 100644
> --- a/src/acpica/source/components/parser/psutils.c
> +++ b/src/acpica/source/components/parser/psutils.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/pswalk.c b/src/acpica/source/components/parser/pswalk.c
> index 863afa5..7226e48 100644
> --- a/src/acpica/source/components/parser/pswalk.c
> +++ b/src/acpica/source/components/parser/pswalk.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/parser/psxface.c b/src/acpica/source/components/parser/psxface.c
> index 1e58b81..65758fc 100644
> --- a/src/acpica/source/components/parser/psxface.c
> +++ b/src/acpica/source/components/parser/psxface.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsaddr.c b/src/acpica/source/components/resources/rsaddr.c
> index dad7c9c..d29307d 100644
> --- a/src/acpica/source/components/resources/rsaddr.c
> +++ b/src/acpica/source/components/resources/rsaddr.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rscalc.c b/src/acpica/source/components/resources/rscalc.c
> index dd0df81..0e2434b 100644
> --- a/src/acpica/source/components/resources/rscalc.c
> +++ b/src/acpica/source/components/resources/rscalc.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rscreate.c b/src/acpica/source/components/resources/rscreate.c
> index c73147a..c86a5d0 100644
> --- a/src/acpica/source/components/resources/rscreate.c
> +++ b/src/acpica/source/components/resources/rscreate.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsdump.c b/src/acpica/source/components/resources/rsdump.c
> index fb1af63..e1ae1d6 100644
> --- a/src/acpica/source/components/resources/rsdump.c
> +++ b/src/acpica/source/components/resources/rsdump.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsdumpinfo.c b/src/acpica/source/components/resources/rsdumpinfo.c
> index 8b3b23c..34f83f5 100644
> --- a/src/acpica/source/components/resources/rsdumpinfo.c
> +++ b/src/acpica/source/components/resources/rsdumpinfo.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsinfo.c b/src/acpica/source/components/resources/rsinfo.c
> index 1861ecf..3e2fa5b 100644
> --- a/src/acpica/source/components/resources/rsinfo.c
> +++ b/src/acpica/source/components/resources/rsinfo.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsio.c b/src/acpica/source/components/resources/rsio.c
> index 8a2b245..b0e6f1d 100644
> --- a/src/acpica/source/components/resources/rsio.c
> +++ b/src/acpica/source/components/resources/rsio.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsirq.c b/src/acpica/source/components/resources/rsirq.c
> index 9930eb8..1bd887b 100644
> --- a/src/acpica/source/components/resources/rsirq.c
> +++ b/src/acpica/source/components/resources/rsirq.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rslist.c b/src/acpica/source/components/resources/rslist.c
> index ddb6287..71e3164 100644
> --- a/src/acpica/source/components/resources/rslist.c
> +++ b/src/acpica/source/components/resources/rslist.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsmemory.c b/src/acpica/source/components/resources/rsmemory.c
> index 29e1652..727d3ee 100644
> --- a/src/acpica/source/components/resources/rsmemory.c
> +++ b/src/acpica/source/components/resources/rsmemory.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsmisc.c b/src/acpica/source/components/resources/rsmisc.c
> index 946d74f..a697602 100644
> --- a/src/acpica/source/components/resources/rsmisc.c
> +++ b/src/acpica/source/components/resources/rsmisc.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsserial.c b/src/acpica/source/components/resources/rsserial.c
> index fcaf0cd..2eee1a2 100644
> --- a/src/acpica/source/components/resources/rsserial.c
> +++ b/src/acpica/source/components/resources/rsserial.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsutils.c b/src/acpica/source/components/resources/rsutils.c
> index ec692e2..e9952f0 100644
> --- a/src/acpica/source/components/resources/rsutils.c
> +++ b/src/acpica/source/components/resources/rsutils.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/resources/rsxface.c b/src/acpica/source/components/resources/rsxface.c
> index 1ae45b0..2ae63b3 100644
> --- a/src/acpica/source/components/resources/rsxface.c
> +++ b/src/acpica/source/components/resources/rsxface.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/tables/tbfadt.c b/src/acpica/source/components/tables/tbfadt.c
> index 5f7bab5..0823e40 100644
> --- a/src/acpica/source/components/tables/tbfadt.c
> +++ b/src/acpica/source/components/tables/tbfadt.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/tables/tbfind.c b/src/acpica/source/components/tables/tbfind.c
> index 6258ca1..77dbf8f 100644
> --- a/src/acpica/source/components/tables/tbfind.c
> +++ b/src/acpica/source/components/tables/tbfind.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/tables/tbinstal.c b/src/acpica/source/components/tables/tbinstal.c
> index 429abbc..c2d9ad9 100644
> --- a/src/acpica/source/components/tables/tbinstal.c
> +++ b/src/acpica/source/components/tables/tbinstal.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -387,9 +387,10 @@ AcpiTbTableOverride (
> if (!NewTable)
> {
> ACPI_EXCEPTION ((AE_INFO, AE_NO_MEMORY,
> - "%4.4s %p Attempted physical table override failed",
> + "%4.4s " ACPI_PRINTF_UINT
> + " Attempted physical table override failed",
> TableHeader->Signature,
> - ACPI_CAST_PTR (void, TableDesc->Address)));
> + ACPI_FORMAT_TO_UINT (TableDesc->Address)));
> return (NULL);
> }
>
> @@ -403,11 +404,11 @@ AcpiTbTableOverride (
>
> FinishOverride:
>
> - ACPI_INFO ((AE_INFO,
> - "%4.4s %p %s table override, new table: %p",
> + ACPI_INFO ((AE_INFO, "%4.4s " ACPI_PRINTF_UINT
> + " %s table override, new table: " ACPI_PRINTF_UINT,
> TableHeader->Signature,
> - ACPI_CAST_PTR (void, TableDesc->Address),
> - OverrideType, NewTable));
> + ACPI_FORMAT_TO_UINT (TableDesc->Address),
> + OverrideType, ACPI_FORMAT_TO_UINT (NewTable)));
>
> /* We can now unmap/delete the original table (if fully mapped) */
>
> diff --git a/src/acpica/source/components/tables/tbprint.c b/src/acpica/source/components/tables/tbprint.c
> index d04f161..553daf9 100644
> --- a/src/acpica/source/components/tables/tbprint.c
> +++ b/src/acpica/source/components/tables/tbprint.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -219,15 +219,17 @@ AcpiTbPrintTableHeader (
>
>
> /*
> - * The reason that the Address is cast to a void pointer is so that we
> - * can use %p which will work properly on both 32-bit and 64-bit hosts.
> + * The reason that we use ACPI_PRINTF_UINT and ACPI_FORMAT_TO_UINT is to
> + * support both 32-bit and 64-bit hosts/addresses in a consistent manner.
> + * The %p specifier does not emit uniform output on all hosts. On some,
> + * leading zeros are not supported.
> */
> if (ACPI_COMPARE_NAME (Header->Signature, ACPI_SIG_FACS))
> {
> /* FACS only has signature and length fields */
>
> - ACPI_INFO ((AE_INFO, "%4.4s %p %06X",
> - Header->Signature, ACPI_CAST_PTR (void, Address),
> + ACPI_INFO ((AE_INFO, "%-4.4s " ACPI_PRINTF_UINT " %06X",
> + Header->Signature, ACPI_FORMAT_TO_UINT (Address),
> Header->Length));
> }
> else if (ACPI_VALIDATE_RSDP_SIG (Header->Signature))
> @@ -238,8 +240,8 @@ AcpiTbPrintTableHeader (
> ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->OemId, ACPI_OEM_ID_SIZE);
> AcpiTbFixString (LocalHeader.OemId, ACPI_OEM_ID_SIZE);
>
> - ACPI_INFO ((AE_INFO, "RSDP %p %06X (v%.2d %6.6s)",
> - ACPI_CAST_PTR (void, Address),
> + ACPI_INFO ((AE_INFO, "RSDP " ACPI_PRINTF_UINT " %06X (v%.2d %-6.6s)",
> + ACPI_FORMAT_TO_UINT (Address),
> (ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Revision > 0) ?
> ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20,
> ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Revision,
> @@ -252,8 +254,9 @@ AcpiTbPrintTableHeader (
> AcpiTbCleanupTableHeader (&LocalHeader, Header);
>
> ACPI_INFO ((AE_INFO,
> - "%4.4s %p %06X (v%.2d %6.6s %8.8s %08X %4.4s %08X)",
> - LocalHeader.Signature, ACPI_CAST_PTR (void, Address),
> + "%-4.4s " ACPI_PRINTF_UINT
> + " %06X (v%.2d %-6.6s %-8.8s %08X %-4.4s %08X)",
> + LocalHeader.Signature, ACPI_FORMAT_TO_UINT (Address),
> LocalHeader.Length, LocalHeader.Revision, LocalHeader.OemId,
> LocalHeader.OemTableId, LocalHeader.OemRevision,
> LocalHeader.AslCompilerId, LocalHeader.AslCompilerRevision));
> diff --git a/src/acpica/source/components/tables/tbutils.c b/src/acpica/source/components/tables/tbutils.c
> index 97aaef2..0d9375e 100644
> --- a/src/acpica/source/components/tables/tbutils.c
> +++ b/src/acpica/source/components/tables/tbutils.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/tables/tbxface.c b/src/acpica/source/components/tables/tbxface.c
> index 7076e4a..01274ce 100644
> --- a/src/acpica/source/components/tables/tbxface.c
> +++ b/src/acpica/source/components/tables/tbxface.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/tables/tbxfload.c b/src/acpica/source/components/tables/tbxfload.c
> index b7a8b24..4f74333 100644
> --- a/src/acpica/source/components/tables/tbxfload.c
> +++ b/src/acpica/source/components/tables/tbxfload.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/tables/tbxfroot.c b/src/acpica/source/components/tables/tbxfroot.c
> index 6ad19a5..81d08a9 100644
> --- a/src/acpica/source/components/tables/tbxfroot.c
> +++ b/src/acpica/source/components/tables/tbxfroot.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utaddress.c b/src/acpica/source/components/utilities/utaddress.c
> index 38069cc..750f47c 100644
> --- a/src/acpica/source/components/utilities/utaddress.c
> +++ b/src/acpica/source/components/utilities/utaddress.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utalloc.c b/src/acpica/source/components/utilities/utalloc.c
> index cf14068..00345fc 100644
> --- a/src/acpica/source/components/utilities/utalloc.c
> +++ b/src/acpica/source/components/utilities/utalloc.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utbuffer.c b/src/acpica/source/components/utilities/utbuffer.c
> index 13681c5..c241f7d 100644
> --- a/src/acpica/source/components/utilities/utbuffer.c
> +++ b/src/acpica/source/components/utilities/utbuffer.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utcache.c b/src/acpica/source/components/utilities/utcache.c
> index 3a89cd6..1bd2c54 100644
> --- a/src/acpica/source/components/utilities/utcache.c
> +++ b/src/acpica/source/components/utilities/utcache.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utcopy.c b/src/acpica/source/components/utilities/utcopy.c
> index 83dcb98..4ca33bc 100644
> --- a/src/acpica/source/components/utilities/utcopy.c
> +++ b/src/acpica/source/components/utilities/utcopy.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -636,10 +636,10 @@ AcpiUtCopyEsimpleToIsimple (
>
> case ACPI_TYPE_LOCAL_REFERENCE:
>
> - /* TBD: should validate incoming handle */
> + /* An incoming reference is defined to be a namespace node */
>
> - InternalObject->Reference.Class = ACPI_REFCLASS_NAME;
> - InternalObject->Reference.Node = ExternalObject->Reference.Handle;
> + InternalObject->Reference.Class = ACPI_REFCLASS_REFOF;
> + InternalObject->Reference.Object = ExternalObject->Reference.Handle;
> break;
>
> default:
> diff --git a/src/acpica/source/components/utilities/utdebug.c b/src/acpica/source/components/utilities/utdebug.c
> index eeff454..5a1f981 100644
> --- a/src/acpica/source/components/utilities/utdebug.c
> +++ b/src/acpica/source/components/utilities/utdebug.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utdecode.c b/src/acpica/source/components/utilities/utdecode.c
> index e6076f3..2501f1a 100644
> --- a/src/acpica/source/components/utilities/utdecode.c
> +++ b/src/acpica/source/components/utilities/utdecode.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utdelete.c b/src/acpica/source/components/utilities/utdelete.c
> index d4f68b0..47c97a7 100644
> --- a/src/acpica/source/components/utilities/utdelete.c
> +++ b/src/acpica/source/components/utilities/utdelete.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/uterror.c b/src/acpica/source/components/utilities/uterror.c
> index b3d1a8f..b590af7 100644
> --- a/src/acpica/source/components/utilities/uterror.c
> +++ b/src/acpica/source/components/utilities/uterror.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/uteval.c b/src/acpica/source/components/utilities/uteval.c
> index b8d7b6b..b3a7341 100644
> --- a/src/acpica/source/components/utilities/uteval.c
> +++ b/src/acpica/source/components/utilities/uteval.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utexcep.c b/src/acpica/source/components/utilities/utexcep.c
> index 28ae7ac..d9f0471 100644
> --- a/src/acpica/source/components/utilities/utexcep.c
> +++ b/src/acpica/source/components/utilities/utexcep.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utglobal.c b/src/acpica/source/components/utilities/utglobal.c
> index 8c5c593..c9575cf 100644
> --- a/src/acpica/source/components/utilities/utglobal.c
> +++ b/src/acpica/source/components/utilities/utglobal.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utids.c b/src/acpica/source/components/utilities/utids.c
> index 7fec698..4cf84e8 100644
> --- a/src/acpica/source/components/utilities/utids.c
> +++ b/src/acpica/source/components/utilities/utids.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utinit.c b/src/acpica/source/components/utilities/utinit.c
> index d06fc35..46df0ab 100644
> --- a/src/acpica/source/components/utilities/utinit.c
> +++ b/src/acpica/source/components/utilities/utinit.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utlock.c b/src/acpica/source/components/utilities/utlock.c
> index b19ee4f..b3e4cb4 100644
> --- a/src/acpica/source/components/utilities/utlock.c
> +++ b/src/acpica/source/components/utilities/utlock.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utmath.c b/src/acpica/source/components/utilities/utmath.c
> index d50e748..c781c7e 100644
> --- a/src/acpica/source/components/utilities/utmath.c
> +++ b/src/acpica/source/components/utilities/utmath.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utmisc.c b/src/acpica/source/components/utilities/utmisc.c
> index 8f5e43c..69d8350 100644
> --- a/src/acpica/source/components/utilities/utmisc.c
> +++ b/src/acpica/source/components/utilities/utmisc.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utmutex.c b/src/acpica/source/components/utilities/utmutex.c
> index dc26999..168afa3 100644
> --- a/src/acpica/source/components/utilities/utmutex.c
> +++ b/src/acpica/source/components/utilities/utmutex.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utobject.c b/src/acpica/source/components/utilities/utobject.c
> index 1129fa7..c32782b 100644
> --- a/src/acpica/source/components/utilities/utobject.c
> +++ b/src/acpica/source/components/utilities/utobject.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utosi.c b/src/acpica/source/components/utilities/utosi.c
> index 55a1d92..adcda25 100644
> --- a/src/acpica/source/components/utilities/utosi.c
> +++ b/src/acpica/source/components/utilities/utosi.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utownerid.c b/src/acpica/source/components/utilities/utownerid.c
> index a6cd6b9..ae42970 100644
> --- a/src/acpica/source/components/utilities/utownerid.c
> +++ b/src/acpica/source/components/utilities/utownerid.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utpredef.c b/src/acpica/source/components/utilities/utpredef.c
> index d02acdd..d20e905 100644
> --- a/src/acpica/source/components/utilities/utpredef.c
> +++ b/src/acpica/source/components/utilities/utpredef.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utresrc.c b/src/acpica/source/components/utilities/utresrc.c
> index cf11295..f5af86f 100644
> --- a/src/acpica/source/components/utilities/utresrc.c
> +++ b/src/acpica/source/components/utilities/utresrc.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -125,7 +125,7 @@
> ACPI_MODULE_NAME ("utresrc")
>
>
> -#if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER)
> +#if defined(ACPI_DEBUG_OUTPUT) || defined (ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER)
>
> /*
> * Strings used to decode resource descriptors.
> diff --git a/src/acpica/source/components/utilities/utstate.c b/src/acpica/source/components/utilities/utstate.c
> index 2ea6ca0..fc99c56 100644
> --- a/src/acpica/source/components/utilities/utstate.c
> +++ b/src/acpica/source/components/utilities/utstate.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utstring.c b/src/acpica/source/components/utilities/utstring.c
> index 3a731d6..730d961 100644
> --- a/src/acpica/source/components/utilities/utstring.c
> +++ b/src/acpica/source/components/utilities/utstring.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/uttrack.c b/src/acpica/source/components/utilities/uttrack.c
> index 8cf189c..df04aa3 100644
> --- a/src/acpica/source/components/utilities/uttrack.c
> +++ b/src/acpica/source/components/utilities/uttrack.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -379,7 +379,8 @@ AcpiUtFreeAndTrack (
> }
>
> AcpiOsFree (DebugBlock);
> - ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS, "%p freed\n", Allocation));
> + ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS, "%p freed (block %p)\n",
> + Allocation, DebugBlock));
> return_VOID;
> }
>
> diff --git a/src/acpica/source/components/utilities/utxface.c b/src/acpica/source/components/utilities/utxface.c
> index 51ab251..e915b84 100644
> --- a/src/acpica/source/components/utilities/utxface.c
> +++ b/src/acpica/source/components/utilities/utxface.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utxferror.c b/src/acpica/source/components/utilities/utxferror.c
> index 80c1ca7..af396c6 100644
> --- a/src/acpica/source/components/utilities/utxferror.c
> +++ b/src/acpica/source/components/utilities/utxferror.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/components/utilities/utxfinit.c b/src/acpica/source/components/utilities/utxfinit.c
> index 3d04a15..b9b1326 100644
> --- a/src/acpica/source/components/utilities/utxfinit.c
> +++ b/src/acpica/source/components/utilities/utxfinit.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acapps.h b/src/acpica/source/include/acapps.h
> index eefa5d6..3608d69 100644
> --- a/src/acpica/source/include/acapps.h
> +++ b/src/acpica/source/include/acapps.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -124,7 +124,7 @@
> /* Common info for tool signons */
>
> #define ACPICA_NAME "Intel ACPI Component Architecture"
> -#define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2013 Intel Corporation"
> +#define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2014 Intel Corporation"
>
> #if ACPI_MACHINE_WIDTH == 64
> #define ACPI_WIDTH "-64"
> diff --git a/src/acpica/source/include/acbuffer.h b/src/acpica/source/include/acbuffer.h
> index e68dc0f..3228bca 100644
> --- a/src/acpica/source/include/acbuffer.h
> +++ b/src/acpica/source/include/acbuffer.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/accommon.h b/src/acpica/source/include/accommon.h
> index 4b7f6bc..57735c5 100644
> --- a/src/acpica/source/include/accommon.h
> +++ b/src/acpica/source/include/accommon.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acconfig.h b/src/acpica/source/include/acconfig.h
> index d1a3dce..6b34484 100644
> --- a/src/acpica/source/include/acconfig.h
> +++ b/src/acpica/source/include/acconfig.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acdebug.h b/src/acpica/source/include/acdebug.h
> index a0f720f..1807c31 100644
> --- a/src/acpica/source/include/acdebug.h
> +++ b/src/acpica/source/include/acdebug.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -236,6 +236,11 @@ void
> AcpiDbGenerateSci (
> void))
>
> +void
> +AcpiDbExecuteTest (
> + char *TypeArg);
> +
> +
> /*
> * dbconvert - miscellaneous conversion routines
> */
> diff --git a/src/acpica/source/include/acdisasm.h b/src/acpica/source/include/acdisasm.h
> index a640af0..3a38dad 100644
> --- a/src/acpica/source/include/acdisasm.h
> +++ b/src/acpica/source/include/acdisasm.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acdispat.h b/src/acpica/source/include/acdispat.h
> index 3b1ff6d..ed7d22c 100644
> --- a/src/acpica/source/include/acdispat.h
> +++ b/src/acpica/source/include/acdispat.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acevents.h b/src/acpica/source/include/acevents.h
> index ff94961..731defb 100644
> --- a/src/acpica/source/include/acevents.h
> +++ b/src/acpica/source/include/acevents.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acexcep.h b/src/acpica/source/include/acexcep.h
> index 69feb53..89d9852 100644
> --- a/src/acpica/source/include/acexcep.h
> +++ b/src/acpica/source/include/acexcep.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acglobal.h b/src/acpica/source/include/acglobal.h
> index 16dc0ad..747fe59 100644
> --- a/src/acpica/source/include/acglobal.h
> +++ b/src/acpica/source/include/acglobal.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/achware.h b/src/acpica/source/include/achware.h
> index 8655954..ed39a36 100644
> --- a/src/acpica/source/include/achware.h
> +++ b/src/acpica/source/include/achware.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acinterp.h b/src/acpica/source/include/acinterp.h
> index ff53ea9..fbe0890 100644
> --- a/src/acpica/source/include/acinterp.h
> +++ b/src/acpica/source/include/acinterp.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/aclocal.h b/src/acpica/source/include/aclocal.h
> index f2f4c1e..e31aedc 100644
> --- a/src/acpica/source/include/aclocal.h
> +++ b/src/acpica/source/include/aclocal.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acmacros.h b/src/acpica/source/include/acmacros.h
> index 67fd89c..aa8bd56 100644
> --- a/src/acpica/source/include/acmacros.h
> +++ b/src/acpica/source/include/acmacros.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -136,17 +136,21 @@
> #define ACPI_SET64(ptr, val) (*ACPI_CAST64 (ptr) = (UINT64) (val))
>
> /*
> - * printf() format helpers
> + * printf() format helpers. These macros are workarounds for the difficulties
> + * with emitting 64-bit integers and 64-bit pointers with the same code
> + * for both 32-bit and 64-bit hosts.
> */
> -
> -/* Split 64-bit integer into two 32-bit values. Use with %8.8X%8.8X */
> -
> #define ACPI_FORMAT_UINT64(i) ACPI_HIDWORD(i), ACPI_LODWORD(i)
>
> #if ACPI_MACHINE_WIDTH == 64
> #define ACPI_FORMAT_NATIVE_UINT(i) ACPI_FORMAT_UINT64(i)
> +#define ACPI_FORMAT_TO_UINT(i) ACPI_FORMAT_UINT64(i)
> +#define ACPI_PRINTF_UINT "0x%8.8X%8.8X"
> +
> #else
> -#define ACPI_FORMAT_NATIVE_UINT(i) 0, (i)
> +#define ACPI_FORMAT_NATIVE_UINT(i) 0, (UINT32) (i)
> +#define ACPI_FORMAT_TO_UINT(i) (UINT32) (i)
> +#define ACPI_PRINTF_UINT "0x%8.8X"
> #endif
>
>
> diff --git a/src/acpica/source/include/acnames.h b/src/acpica/source/include/acnames.h
> index 99eb36a..bde34f5 100644
> --- a/src/acpica/source/include/acnames.h
> +++ b/src/acpica/source/include/acnames.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acnamesp.h b/src/acpica/source/include/acnamesp.h
> index 7489e59..883e9c4 100644
> --- a/src/acpica/source/include/acnamesp.h
> +++ b/src/acpica/source/include/acnamesp.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acobject.h b/src/acpica/source/include/acobject.h
> index 5b28b57..534fe31 100644
> --- a/src/acpica/source/include/acobject.h
> +++ b/src/acpica/source/include/acobject.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acopcode.h b/src/acpica/source/include/acopcode.h
> index 2e4b535..4ee0497 100644
> --- a/src/acpica/source/include/acopcode.h
> +++ b/src/acpica/source/include/acopcode.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acoutput.h b/src/acpica/source/include/acoutput.h
> index 9c835cd..2311c44 100644
> --- a/src/acpica/source/include/acoutput.h
> +++ b/src/acpica/source/include/acoutput.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acparser.h b/src/acpica/source/include/acparser.h
> index 81cca70..5827a8c 100644
> --- a/src/acpica/source/include/acparser.h
> +++ b/src/acpica/source/include/acparser.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acpi.h b/src/acpica/source/include/acpi.h
> index 8da57af..9c8bc8d 100644
> --- a/src/acpica/source/include/acpi.h
> +++ b/src/acpica/source/include/acpi.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -134,5 +134,8 @@
> #include "acrestyp.h" /* Resource Descriptor structs */
> #include "acpiosxf.h" /* OSL interfaces (ACPICA-to-OS) */
> #include "acpixf.h" /* ACPI core subsystem external interfaces */
> +#ifdef ACPI_NATIVE_INTERFACE_HEADER
> +#include ACPI_NATIVE_INTERFACE_HEADER
> +#endif
>
> #endif /* __ACPI_H__ */
> diff --git a/src/acpica/source/include/acpiosxf.h b/src/acpica/source/include/acpiosxf.h
> index 627c59e..00922c7 100644
> --- a/src/acpica/source/include/acpiosxf.h
> +++ b/src/acpica/source/include/acpiosxf.h
> @@ -10,7 +10,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acpixf.h b/src/acpica/source/include/acpixf.h
> index 86a2643..4e34438 100644
> --- a/src/acpica/source/include/acpixf.h
> +++ b/src/acpica/source/include/acpixf.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -119,7 +119,7 @@
>
> /* Current ACPICA subsystem version in YYYYMMDD format */
>
> -#define ACPI_CA_VERSION 0x20131218
> +#define ACPI_CA_VERSION 0x20140114
>
> #include "acconfig.h"
> #include "actypes.h"
> diff --git a/src/acpica/source/include/acpredef.h b/src/acpica/source/include/acpredef.h
> index 834efe7..5e8b00c 100644
> --- a/src/acpica/source/include/acpredef.h
> +++ b/src/acpica/source/include/acpredef.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acresrc.h b/src/acpica/source/include/acresrc.h
> index 12e4451..d1366f0 100644
> --- a/src/acpica/source/include/acresrc.h
> +++ b/src/acpica/source/include/acresrc.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acrestyp.h b/src/acpica/source/include/acrestyp.h
> index 0f565d2..9cf948b 100644
> --- a/src/acpica/source/include/acrestyp.h
> +++ b/src/acpica/source/include/acrestyp.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acstruct.h b/src/acpica/source/include/acstruct.h
> index aa0f9dd..ee4f989 100644
> --- a/src/acpica/source/include/acstruct.h
> +++ b/src/acpica/source/include/acstruct.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/actables.h b/src/acpica/source/include/actables.h
> index 219f4c0..ed0e1b0 100644
> --- a/src/acpica/source/include/actables.h
> +++ b/src/acpica/source/include/actables.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/actbl.h b/src/acpica/source/include/actbl.h
> index c1ba0e9..b300661 100644
> --- a/src/acpica/source/include/actbl.h
> +++ b/src/acpica/source/include/actbl.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/actbl1.h b/src/acpica/source/include/actbl1.h
> index 0476fa5..4710672 100644
> --- a/src/acpica/source/include/actbl1.h
> +++ b/src/acpica/source/include/actbl1.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/actbl2.h b/src/acpica/source/include/actbl2.h
> index 1443d24..2ae8ce3 100644
> --- a/src/acpica/source/include/actbl2.h
> +++ b/src/acpica/source/include/actbl2.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/actbl3.h b/src/acpica/source/include/actbl3.h
> index 51ab879..efec7e8 100644
> --- a/src/acpica/source/include/actbl3.h
> +++ b/src/acpica/source/include/actbl3.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/actypes.h b/src/acpica/source/include/actypes.h
> index b134fc2..a02cd10 100644
> --- a/src/acpica/source/include/actypes.h
> +++ b/src/acpica/source/include/actypes.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/acutils.h b/src/acpica/source/include/acutils.h
> index 442600d..f1c2c8b 100644
> --- a/src/acpica/source/include/acutils.h
> +++ b/src/acpica/source/include/acutils.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -122,7 +122,7 @@ extern const UINT8 AcpiGbl_ResourceAmlSerialBusSizes[];
>
> /* Strings used by the disassembler and debugger resource dump routines */
>
> -#if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER)
> +#if defined(ACPI_DEBUG_OUTPUT) || defined (ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER)
>
> extern const char *AcpiGbl_BmDecode[];
> extern const char *AcpiGbl_ConfigDecode[];
> diff --git a/src/acpica/source/include/amlcode.h b/src/acpica/source/include/amlcode.h
> index 3d56e32..5eaf30c 100644
> --- a/src/acpica/source/include/amlcode.h
> +++ b/src/acpica/source/include/amlcode.h
> @@ -10,7 +10,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/amlresrc.h b/src/acpica/source/include/amlresrc.h
> index f71eb32..3fcd9ed 100644
> --- a/src/acpica/source/include/amlresrc.h
> +++ b/src/acpica/source/include/amlresrc.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/platform/acenv.h b/src/acpica/source/include/platform/acenv.h
> index 79ae6aa..1696079 100644
> --- a/src/acpica/source/include/platform/acenv.h
> +++ b/src/acpica/source/include/platform/acenv.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/platform/acgcc.h b/src/acpica/source/include/platform/acgcc.h
> index 2c7bd0b..dd56819 100644
> --- a/src/acpica/source/include/platform/acgcc.h
> +++ b/src/acpica/source/include/platform/acgcc.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/include/platform/aclinux.h b/src/acpica/source/include/platform/aclinux.h
> index 2d04973..b8da18b 100644
> --- a/src/acpica/source/include/platform/aclinux.h
> +++ b/src/acpica/source/include/platform/aclinux.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -329,11 +329,6 @@ EarlyAcpiOsUnmapMemory (
> void __iomem *Virt,
> ACPI_SIZE Size);
>
> -ACPI_STATUS
> -AcpiOsHotplugExecute (
> - ACPI_OSD_EXEC_CALLBACK Function,
> - void *Context);
> -
> #endif /* __KERNEL__ */
>
> #endif /* __ACLINUX_H__ */
> diff --git a/src/acpica/source/os_specific/service_layers/osunixxf.c b/src/acpica/source/os_specific/service_layers/osunixxf.c
> index 5e2c538..f0f645a 100644
> --- a/src/acpica/source/os_specific/service_layers/osunixxf.c
> +++ b/src/acpica/source/os_specific/service_layers/osunixxf.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> diff --git a/src/acpica/source/tools/acpiexec/aecommon.h b/src/acpica/source/tools/acpiexec/aecommon.h
> index 8375bea..5aac8f8 100644
> --- a/src/acpica/source/tools/acpiexec/aecommon.h
> +++ b/src/acpica/source/tools/acpiexec/aecommon.h
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -140,6 +140,7 @@ extern UINT8 AcpiGbl_RegionFillValue;
> extern UINT8 AcpiGbl_UseHwReducedFadt;
> extern BOOLEAN AcpiGbl_DisplayRegionAccess;
> extern BOOLEAN AcpiGbl_DoInterfaceTests;
> +extern BOOLEAN AcpiGbl_LoadTestTables;
>
> /* Check for unexpected exceptions */
>
> diff --git a/src/acpica/source/tools/acpiexec/aehandlers.c b/src/acpica/source/tools/acpiexec/aehandlers.c
> index fe1fb8c..5a29a58 100644
> --- a/src/acpica/source/tools/acpiexec/aehandlers.c
> +++ b/src/acpica/source/tools/acpiexec/aehandlers.c
> @@ -8,7 +8,7 @@
> *
> * 1. Copyright Notice
> *
> - * Some or all of this work - Copyright (c) 1999 - 2013, Intel Corp.
> + * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
> * All rights reserved.
> *
> * 2. License
> @@ -221,18 +221,22 @@ static AE_DEBUG_REGIONS AeRegions;
> BOOLEAN AcpiGbl_DisplayRegionAccess = FALSE;
>
> /*
> - * We will override some of the default region handlers, especially the
> - * SystemMemory handler, which must be implemented locally. Do not override
> - * the PCI_Config handler since we would like to exercise the default handler
> - * code. These handlers are installed "early" - before any _REG methods
> + * We will override some of the default region handlers, especially
> + * the SystemMemory handler, which must be implemented locally.
> + * These handlers are installed "early" - before any _REG methods
> * are executed - since they are special in the sense that the ACPI spec
> * declares that they must "always be available". Cannot override the
> * DataTable region handler either -- needed for test execution.
> + *
> + * NOTE: The local region handler will simulate access to these address
> + * spaces by creating a memory buffer behind each operation region.
> */
> static ACPI_ADR_SPACE_TYPE DefaultSpaceIdList[] =
> {
> ACPI_ADR_SPACE_SYSTEM_MEMORY,
> - ACPI_ADR_SPACE_SYSTEM_IO
> + ACPI_ADR_SPACE_SYSTEM_IO,
> + ACPI_ADR_SPACE_PCI_CONFIG,
> + ACPI_ADR_SPACE_EC
> };
>
> /*
> @@ -1224,13 +1228,20 @@ AeRegionHandler (
>
> ACPI_OPERAND_OBJECT *RegionObject = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, RegionContext);
> UINT8 *Buffer = ACPI_CAST_PTR (UINT8, Value);
> + UINT8 *OldBuffer;
> + UINT8 *NewBuffer;
> ACPI_PHYSICAL_ADDRESS BaseAddress;
> + ACPI_PHYSICAL_ADDRESS BaseAddressEnd;
> + ACPI_PHYSICAL_ADDRESS RegionAddress;
> + ACPI_PHYSICAL_ADDRESS RegionAddressEnd;
> ACPI_SIZE Length;
> BOOLEAN BufferExists;
> + BOOLEAN BufferResize;
> AE_REGION *RegionElement;
> void *BufferValue;
> ACPI_STATUS Status;
> UINT32 ByteWidth;
> + UINT32 RegionLength;
> UINT32 i;
> UINT8 SpaceId;
> ACPI_CONNECTION_INFO *MyContext;
> @@ -1513,21 +1524,119 @@ AeRegionHandler (
> * Search through the linked list for this region's buffer
> */
> BufferExists = FALSE;
> + BufferResize = FALSE;
> RegionElement = AeRegions.RegionList;
>
> if (AeRegions.NumberOfRegions)
> {
> + BaseAddressEnd = BaseAddress + Length - 1;
> while (!BufferExists && RegionElement)
> {
> - if (RegionElement->Address == BaseAddress &&
> - RegionElement->Length == Length &&
> - RegionElement->SpaceId == SpaceId)
> + RegionAddress = RegionElement->Address;
> + RegionAddressEnd = RegionElement->Address + RegionElement->Length - 1;
> + RegionLength = RegionElement->Length;
> +
> + /*
> + * Overlapping Region Support
> + *
> + * While searching through the region buffer list, determine if an
> + * overlap exists between the requested buffer space and the current
> + * RegionElement space. If there is an overlap then replace the old
> + * buffer with a new buffer of increased size before continuing to
> + * do the read or write
> + */
> + if (RegionElement->SpaceId != SpaceId ||
> + BaseAddressEnd < RegionAddress ||
> + BaseAddress > RegionAddressEnd)
> {
> - BufferExists = TRUE;
> + /*
> + * Requested buffer is outside of the current RegionElement
> + * bounds
> + */
> + RegionElement = RegionElement->NextRegion;
> }
> else
> {
> - RegionElement = RegionElement->NextRegion;
> + /*
> + * Some amount of buffer space sharing exists. There are 4 cases
> + * to consider:
> + *
> + * 1. Right overlap
> + * 2. Left overlap
> + * 3. Left and right overlap
> + * 4. Fully contained - no resizing required
> + */
> + BufferExists = TRUE;
> +
> + if ((BaseAddress >= RegionAddress) &&
> + (BaseAddress <= RegionAddressEnd) &&
> + (BaseAddressEnd > RegionAddressEnd))
> + {
> + /* Right overlap */
> +
> + RegionElement->Length = BaseAddress -
> + RegionAddress + Length;
> + BufferResize = TRUE;
> + }
> +
> + else if ((BaseAddressEnd >= RegionAddress) &&
> + (BaseAddressEnd <= RegionAddressEnd) &&
> + (BaseAddress < RegionAddress))
> + {
> + /* Left overlap */
> +
> + RegionElement->Address = BaseAddress;
> + RegionElement->Length = RegionAddress -
> + BaseAddress + RegionElement->Length;
> + BufferResize = TRUE;
> + }
> +
> + else if ((BaseAddress < RegionAddress) &&
> + (BaseAddressEnd > RegionAddressEnd))
> + {
> + /* Left and right overlap */
> +
> + RegionElement->Address = BaseAddress;
> + RegionElement->Length = Length;
> + BufferResize = TRUE;
> + }
> +
> + /*
> + * only remaining case is fully contained for which we don't
> + * need to do anything
> + */
> + if (BufferResize)
> + {
> + NewBuffer = AcpiOsAllocate (RegionElement->Length);
> + if (!NewBuffer)
> + {
> + return (AE_NO_MEMORY);
> + }
> +
> + OldBuffer = RegionElement->Buffer;
> + RegionElement->Buffer = NewBuffer;
> + NewBuffer = NULL;
> +
> + /* Initialize the region with the default fill value */
> +
> + ACPI_MEMSET (RegionElement->Buffer,
> + AcpiGbl_RegionFillValue, RegionElement->Length);
> +
> + /*
> + * Get BufferValue to point (within the new buffer) to the
> + * base address of the old buffer
> + */
> + BufferValue = (UINT8 *) RegionElement->Buffer +
> + (UINT64) RegionAddress -
> + (UINT64) RegionElement->Address;
> +
> + /*
> + * Copy the old buffer to its same location within the new
> + * buffer
> + */
> + ACPI_MEMCPY (BufferValue, OldBuffer, RegionLength);
> + AcpiOsFree (OldBuffer);
> + }
> }
> }
> }
> @@ -1537,9 +1646,8 @@ AeRegionHandler (
> */
> if (!BufferExists)
> {
> - /*
> - * Do the memory allocations first
> - */
> + /* Do the memory allocations first */
> +
> RegionElement = AcpiOsAllocate (sizeof (AE_REGION));
> if (!RegionElement)
> {
> @@ -1564,8 +1672,8 @@ AeRegionHandler (
>
> /*
> * Increment the number of regions and put this one
> - * at the head of the list as it will probably get accessed
> - * more often anyway.
> + * at the head of the list as it will probably get accessed
> + * more often anyway.
> */
> AeRegions.NumberOfRegions += 1;
>
> @@ -1577,9 +1685,8 @@ AeRegionHandler (
> AeRegions.RegionList = RegionElement;
> }
>
> - /*
> - * Calculate the size of the memory copy
> - */
> + /* Calculate the size of the memory copy */
> +
> ByteWidth = (BitWidth / 8);
>
> if (BitWidth % 8)
>
Acked-by: Ivan Hu <ivan.hu at canonical.com>
More information about the fwts-devel
mailing list