svn commit: r202766 - in vendor-sys/acpica/dist: . common compiler
debugger disassembler dispatcher events executer hardware
include include/platform namespace os_specific/service_layers
parser res...
Jung-uk Kim
jkim at FreeBSD.org
Thu Jan 21 20:56:20 UTC 2010
Author: jkim
Date: Thu Jan 21 20:56:18 2010
New Revision: 202766
URL: http://svn.freebsd.org/changeset/base/202766
Log:
Import ACPICA 20100121.
Modified:
vendor-sys/acpica/dist/changes.txt
vendor-sys/acpica/dist/common/adfile.c
vendor-sys/acpica/dist/common/adisasm.c
vendor-sys/acpica/dist/common/adwalk.c
vendor-sys/acpica/dist/common/dmextern.c
vendor-sys/acpica/dist/common/dmrestag.c
vendor-sys/acpica/dist/common/dmtable.c
vendor-sys/acpica/dist/common/dmtbdump.c
vendor-sys/acpica/dist/common/dmtbinfo.c
vendor-sys/acpica/dist/common/getopt.c
vendor-sys/acpica/dist/compiler/aslanalyze.c
vendor-sys/acpica/dist/compiler/aslcodegen.c
vendor-sys/acpica/dist/compiler/aslcompile.c
vendor-sys/acpica/dist/compiler/aslcompiler.h
vendor-sys/acpica/dist/compiler/aslcompiler.l
vendor-sys/acpica/dist/compiler/aslcompiler.y
vendor-sys/acpica/dist/compiler/asldefine.h
vendor-sys/acpica/dist/compiler/aslerror.c
vendor-sys/acpica/dist/compiler/aslfiles.c
vendor-sys/acpica/dist/compiler/aslfold.c
vendor-sys/acpica/dist/compiler/aslglobal.h
vendor-sys/acpica/dist/compiler/asllength.c
vendor-sys/acpica/dist/compiler/asllisting.c
vendor-sys/acpica/dist/compiler/aslload.c
vendor-sys/acpica/dist/compiler/asllookup.c
vendor-sys/acpica/dist/compiler/aslmain.c
vendor-sys/acpica/dist/compiler/aslmap.c
vendor-sys/acpica/dist/compiler/aslopcodes.c
vendor-sys/acpica/dist/compiler/asloperands.c
vendor-sys/acpica/dist/compiler/aslopt.c
vendor-sys/acpica/dist/compiler/aslresource.c
vendor-sys/acpica/dist/compiler/aslrestype1.c
vendor-sys/acpica/dist/compiler/aslrestype2.c
vendor-sys/acpica/dist/compiler/aslstartup.c
vendor-sys/acpica/dist/compiler/aslstubs.c
vendor-sys/acpica/dist/compiler/asltransform.c
vendor-sys/acpica/dist/compiler/asltree.c
vendor-sys/acpica/dist/compiler/asltypes.h
vendor-sys/acpica/dist/compiler/aslutils.c
vendor-sys/acpica/dist/debugger/dbcmds.c
vendor-sys/acpica/dist/debugger/dbdisply.c
vendor-sys/acpica/dist/debugger/dbexec.c
vendor-sys/acpica/dist/debugger/dbfileio.c
vendor-sys/acpica/dist/debugger/dbhistry.c
vendor-sys/acpica/dist/debugger/dbinput.c
vendor-sys/acpica/dist/debugger/dbstats.c
vendor-sys/acpica/dist/debugger/dbutils.c
vendor-sys/acpica/dist/debugger/dbxface.c
vendor-sys/acpica/dist/disassembler/dmbuffer.c
vendor-sys/acpica/dist/disassembler/dmnames.c
vendor-sys/acpica/dist/disassembler/dmobject.c
vendor-sys/acpica/dist/disassembler/dmopcode.c
vendor-sys/acpica/dist/disassembler/dmresrc.c
vendor-sys/acpica/dist/disassembler/dmresrcl.c
vendor-sys/acpica/dist/disassembler/dmresrcs.c
vendor-sys/acpica/dist/disassembler/dmutils.c
vendor-sys/acpica/dist/disassembler/dmwalk.c
vendor-sys/acpica/dist/dispatcher/dsfield.c
vendor-sys/acpica/dist/dispatcher/dsinit.c
vendor-sys/acpica/dist/dispatcher/dsmethod.c
vendor-sys/acpica/dist/dispatcher/dsmthdat.c
vendor-sys/acpica/dist/dispatcher/dsobject.c
vendor-sys/acpica/dist/dispatcher/dsopcode.c
vendor-sys/acpica/dist/dispatcher/dsutils.c
vendor-sys/acpica/dist/dispatcher/dswexec.c
vendor-sys/acpica/dist/dispatcher/dswload.c
vendor-sys/acpica/dist/dispatcher/dswscope.c
vendor-sys/acpica/dist/dispatcher/dswstate.c
vendor-sys/acpica/dist/events/evevent.c
vendor-sys/acpica/dist/events/evgpe.c
vendor-sys/acpica/dist/events/evgpeblk.c
vendor-sys/acpica/dist/events/evmisc.c
vendor-sys/acpica/dist/events/evregion.c
vendor-sys/acpica/dist/events/evrgnini.c
vendor-sys/acpica/dist/events/evsci.c
vendor-sys/acpica/dist/events/evxface.c
vendor-sys/acpica/dist/events/evxfevnt.c
vendor-sys/acpica/dist/events/evxfregn.c
vendor-sys/acpica/dist/executer/exconfig.c
vendor-sys/acpica/dist/executer/exconvrt.c
vendor-sys/acpica/dist/executer/excreate.c
vendor-sys/acpica/dist/executer/exdump.c
vendor-sys/acpica/dist/executer/exfield.c
vendor-sys/acpica/dist/executer/exfldio.c
vendor-sys/acpica/dist/executer/exmisc.c
vendor-sys/acpica/dist/executer/exmutex.c
vendor-sys/acpica/dist/executer/exnames.c
vendor-sys/acpica/dist/executer/exoparg1.c
vendor-sys/acpica/dist/executer/exoparg2.c
vendor-sys/acpica/dist/executer/exoparg3.c
vendor-sys/acpica/dist/executer/exoparg6.c
vendor-sys/acpica/dist/executer/exprep.c
vendor-sys/acpica/dist/executer/exregion.c
vendor-sys/acpica/dist/executer/exresnte.c
vendor-sys/acpica/dist/executer/exresolv.c
vendor-sys/acpica/dist/executer/exresop.c
vendor-sys/acpica/dist/executer/exstore.c
vendor-sys/acpica/dist/executer/exstoren.c
vendor-sys/acpica/dist/executer/exstorob.c
vendor-sys/acpica/dist/executer/exsystem.c
vendor-sys/acpica/dist/executer/exutils.c
vendor-sys/acpica/dist/hardware/hwacpi.c
vendor-sys/acpica/dist/hardware/hwgpe.c
vendor-sys/acpica/dist/hardware/hwregs.c
vendor-sys/acpica/dist/hardware/hwsleep.c
vendor-sys/acpica/dist/hardware/hwtimer.c
vendor-sys/acpica/dist/hardware/hwvalid.c
vendor-sys/acpica/dist/hardware/hwxface.c
vendor-sys/acpica/dist/include/acapps.h
vendor-sys/acpica/dist/include/accommon.h
vendor-sys/acpica/dist/include/acconfig.h
vendor-sys/acpica/dist/include/acdebug.h
vendor-sys/acpica/dist/include/acdisasm.h
vendor-sys/acpica/dist/include/acdispat.h
vendor-sys/acpica/dist/include/acevents.h
vendor-sys/acpica/dist/include/acexcep.h
vendor-sys/acpica/dist/include/acglobal.h
vendor-sys/acpica/dist/include/achware.h
vendor-sys/acpica/dist/include/acinterp.h
vendor-sys/acpica/dist/include/aclocal.h
vendor-sys/acpica/dist/include/acmacros.h
vendor-sys/acpica/dist/include/acnames.h
vendor-sys/acpica/dist/include/acnamesp.h
vendor-sys/acpica/dist/include/acobject.h
vendor-sys/acpica/dist/include/acopcode.h
vendor-sys/acpica/dist/include/acoutput.h
vendor-sys/acpica/dist/include/acparser.h
vendor-sys/acpica/dist/include/acpi.h
vendor-sys/acpica/dist/include/acpiosxf.h
vendor-sys/acpica/dist/include/acpixf.h
vendor-sys/acpica/dist/include/acpredef.h
vendor-sys/acpica/dist/include/acresrc.h
vendor-sys/acpica/dist/include/acrestyp.h
vendor-sys/acpica/dist/include/acstruct.h
vendor-sys/acpica/dist/include/actables.h
vendor-sys/acpica/dist/include/actbl.h
vendor-sys/acpica/dist/include/actbl1.h
vendor-sys/acpica/dist/include/actbl2.h
vendor-sys/acpica/dist/include/actypes.h
vendor-sys/acpica/dist/include/acutils.h
vendor-sys/acpica/dist/include/amlcode.h
vendor-sys/acpica/dist/include/amlresrc.h
vendor-sys/acpica/dist/include/platform/accygwin.h
vendor-sys/acpica/dist/include/platform/acefi.h
vendor-sys/acpica/dist/include/platform/acenv.h
vendor-sys/acpica/dist/include/platform/acfreebsd.h
vendor-sys/acpica/dist/include/platform/acgcc.h
vendor-sys/acpica/dist/include/platform/acintel.h
vendor-sys/acpica/dist/include/platform/aclinux.h
vendor-sys/acpica/dist/include/platform/acmsvc.h
vendor-sys/acpica/dist/include/platform/acnetbsd.h
vendor-sys/acpica/dist/include/platform/acos2.h
vendor-sys/acpica/dist/include/platform/acwin.h
vendor-sys/acpica/dist/include/platform/acwin64.h
vendor-sys/acpica/dist/namespace/nsaccess.c
vendor-sys/acpica/dist/namespace/nsalloc.c
vendor-sys/acpica/dist/namespace/nsdump.c
vendor-sys/acpica/dist/namespace/nsdumpdv.c
vendor-sys/acpica/dist/namespace/nseval.c
vendor-sys/acpica/dist/namespace/nsinit.c
vendor-sys/acpica/dist/namespace/nsload.c
vendor-sys/acpica/dist/namespace/nsnames.c
vendor-sys/acpica/dist/namespace/nsobject.c
vendor-sys/acpica/dist/namespace/nsparse.c
vendor-sys/acpica/dist/namespace/nspredef.c
vendor-sys/acpica/dist/namespace/nsrepair.c
vendor-sys/acpica/dist/namespace/nsrepair2.c
vendor-sys/acpica/dist/namespace/nssearch.c
vendor-sys/acpica/dist/namespace/nsutils.c
vendor-sys/acpica/dist/namespace/nswalk.c
vendor-sys/acpica/dist/namespace/nsxfeval.c
vendor-sys/acpica/dist/namespace/nsxfname.c
vendor-sys/acpica/dist/namespace/nsxfobj.c
vendor-sys/acpica/dist/os_specific/service_layers/osunixdir.c
vendor-sys/acpica/dist/os_specific/service_layers/osunixxf.c
vendor-sys/acpica/dist/os_specific/service_layers/oswindir.c
vendor-sys/acpica/dist/os_specific/service_layers/oswintbl.c
vendor-sys/acpica/dist/os_specific/service_layers/oswinxf.c
vendor-sys/acpica/dist/osunixxf.c
vendor-sys/acpica/dist/parser/psargs.c
vendor-sys/acpica/dist/parser/psloop.c
vendor-sys/acpica/dist/parser/psopcode.c
vendor-sys/acpica/dist/parser/psparse.c
vendor-sys/acpica/dist/parser/psscope.c
vendor-sys/acpica/dist/parser/pstree.c
vendor-sys/acpica/dist/parser/psutils.c
vendor-sys/acpica/dist/parser/pswalk.c
vendor-sys/acpica/dist/parser/psxface.c
vendor-sys/acpica/dist/resources/rsaddr.c
vendor-sys/acpica/dist/resources/rscalc.c
vendor-sys/acpica/dist/resources/rscreate.c
vendor-sys/acpica/dist/resources/rsdump.c
vendor-sys/acpica/dist/resources/rsinfo.c
vendor-sys/acpica/dist/resources/rsio.c
vendor-sys/acpica/dist/resources/rsirq.c
vendor-sys/acpica/dist/resources/rslist.c
vendor-sys/acpica/dist/resources/rsmemory.c
vendor-sys/acpica/dist/resources/rsmisc.c
vendor-sys/acpica/dist/resources/rsutils.c
vendor-sys/acpica/dist/resources/rsxface.c
vendor-sys/acpica/dist/tables/tbfadt.c
vendor-sys/acpica/dist/tables/tbfind.c
vendor-sys/acpica/dist/tables/tbinstal.c
vendor-sys/acpica/dist/tables/tbutils.c
vendor-sys/acpica/dist/tables/tbxface.c
vendor-sys/acpica/dist/tables/tbxfroot.c
vendor-sys/acpica/dist/tools/acpiexec/aecommon.h
vendor-sys/acpica/dist/tools/acpiexec/aeexec.c
vendor-sys/acpica/dist/tools/acpiexec/aehandlers.c
vendor-sys/acpica/dist/tools/acpiexec/aemain.c
vendor-sys/acpica/dist/tools/acpiexec/aetables.c
vendor-sys/acpica/dist/tools/acpiexec/osunixdir.c
vendor-sys/acpica/dist/tools/acpisrc/acpisrc.h
vendor-sys/acpica/dist/tools/acpisrc/ascase.c
vendor-sys/acpica/dist/tools/acpisrc/asconvrt.c
vendor-sys/acpica/dist/tools/acpisrc/asfile.c
vendor-sys/acpica/dist/tools/acpisrc/asmain.c
vendor-sys/acpica/dist/tools/acpisrc/asremove.c
vendor-sys/acpica/dist/tools/acpisrc/astable.c
vendor-sys/acpica/dist/tools/acpisrc/asutils.c
vendor-sys/acpica/dist/tools/acpisrc/osunixdir.c
vendor-sys/acpica/dist/tools/acpixtract/acpixtract.c
vendor-sys/acpica/dist/tools/examples/examples.c
vendor-sys/acpica/dist/utilities/utalloc.c
vendor-sys/acpica/dist/utilities/utcache.c
vendor-sys/acpica/dist/utilities/utclib.c
vendor-sys/acpica/dist/utilities/utcopy.c
vendor-sys/acpica/dist/utilities/utdebug.c
vendor-sys/acpica/dist/utilities/utdelete.c
vendor-sys/acpica/dist/utilities/uteval.c
vendor-sys/acpica/dist/utilities/utglobal.c
vendor-sys/acpica/dist/utilities/utids.c
vendor-sys/acpica/dist/utilities/utinit.c
vendor-sys/acpica/dist/utilities/utlock.c
vendor-sys/acpica/dist/utilities/utmath.c
vendor-sys/acpica/dist/utilities/utmisc.c
vendor-sys/acpica/dist/utilities/utmutex.c
vendor-sys/acpica/dist/utilities/utobject.c
vendor-sys/acpica/dist/utilities/utresrc.c
vendor-sys/acpica/dist/utilities/utstate.c
vendor-sys/acpica/dist/utilities/uttrack.c
vendor-sys/acpica/dist/utilities/utxface.c
Modified: vendor-sys/acpica/dist/changes.txt
==============================================================================
--- vendor-sys/acpica/dist/changes.txt Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/changes.txt Thu Jan 21 20:56:18 2010 (r202766)
@@ -1,7 +1,55 @@
----------------------------------------
-14 December 2009. Summary of changes for version 20091214:
+21 January 2010. Summary of changes for version 20100121:
+
+1) ACPI CA Core Subsystem:
-This release is available at www.acpica.org/downloads
+Added the 2010 copyright to all module headers and signons. This affects
+virtually every file in the ACPICA core subsystem, the iASL compiler, the
+tools/utilities, and the test suites.
+
+Implemented a change to the AcpiGetDevices interface to eliminate unnecessary
+invocations of the _STA method. In the case where a specific _HID is
+requested, do not run _STA until a _HID match is found. This eliminates
+potentially dozens of _STA calls during a search for a particular device/HID,
+which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
+
+Implemented an additional repair for predefined method return values. Attempt
+to repair unexpected NULL elements within returned Package objects. Create an
+Integer of value zero, a NULL String, or a zero-length Buffer as appropriate.
+ACPICA BZ 818. Lin Ming, Bob Moore.
+
+Removed the obsolete ACPI_INTEGER data type. This type was introduced as the
+code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with
+64-bit AML integers). It is now obsolete and this change removes it from the
+ACPICA code base, replaced by UINT64. The original typedef has been retained
+for now for compatibility with existing device driver code. ACPICA BZ 824.
+
+Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in
+the parse tree object.
+
+Added additional warning options for the gcc-4 generation. Updated the source
+accordingly. This includes some code restructuring to eliminate unreachable
+code, elimination of some gotos, elimination of unused return values, some
+additional casting, and removal of redundant declarations.
+
+Example Code and Data Size: These are the sizes for the OS-independent
+acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
+debug version of the code includes the debug output trace mechanism and has a
+much larger code and data size.
+
+ Previous Release:
+ Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
+ Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
+ Current Release:
+ Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
+ Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
+
+2) iASL Compiler/Disassembler and Tools:
+
+No functional changes for this release.
+
+----------------------------------------
+14 December 2009. Summary of changes for version 20091214:
1) ACPI CA Core Subsystem:
@@ -68,8 +116,6 @@ depend on a specific initial value for a
----------------------------------------
12 November 2009. Summary of changes for version 20091112:
-This release is available at www.acpica.org/downloads
-
1) ACPI CA Core Subsystem:
Implemented a post-order callback to AcpiWalkNamespace. The existing
@@ -141,8 +187,6 @@ level set very high.
----------------------------------------
13 October 2009. Summary of changes for version 20091013:
-This release is available at www.acpica.org/downloads
-
1) ACPI CA Core Subsystem:
Fixed a problem where an Operation Region _REG method could be executed more
@@ -1037,9 +1081,6 @@ header.
29 July 2008. Summary of changes for version 20080729:
-This release is available at http://acpica.org/downloads
-Direct git access via http://www.acpica.org/repos/acpica.git
-
1) ACPI CA Core Subsystem:
Fix a possible deadlock in the GPE dispatch. Remove call to
@@ -1129,9 +1170,6 @@ completion message. Previously, no messa
----------------------------------------
01 July 2008. Summary of changes for version 20080701:
-This release is available at http://acpica.org/downloads
-Direct git access via http://www.acpica.org/repos/acpica.git
-
0) Git source tree / acpica.org
Fixed a problem where a git-clone from http would not transfer the entire
Modified: vendor-sys/acpica/dist/common/adfile.c
==============================================================================
--- vendor-sys/acpica/dist/common/adfile.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/common/adfile.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/common/adisasm.c
==============================================================================
--- vendor-sys/acpica/dist/common/adisasm.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/common/adisasm.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/common/adwalk.c
==============================================================================
--- vendor-sys/acpica/dist/common/adwalk.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/common/adwalk.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/common/dmextern.c
==============================================================================
--- vendor-sys/acpica/dist/common/dmextern.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/common/dmextern.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/common/dmrestag.c
==============================================================================
--- vendor-sys/acpica/dist/common/dmrestag.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/common/dmrestag.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/common/dmtable.c
==============================================================================
--- vendor-sys/acpica/dist/common/dmtable.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/common/dmtable.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/common/dmtbdump.c
==============================================================================
--- vendor-sys/acpica/dist/common/dmtbdump.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/common/dmtbdump.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/common/dmtbinfo.c
==============================================================================
--- vendor-sys/acpica/dist/common/dmtbinfo.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/common/dmtbinfo.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/common/getopt.c
==============================================================================
--- vendor-sys/acpica/dist/common/getopt.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/common/getopt.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslanalyze.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslanalyze.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslanalyze.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -667,8 +667,8 @@ AnCheckForReservedName (
{
/* The next two characters must be hex digits */
- if ((isxdigit (Name[2])) &&
- (isxdigit (Name[3])))
+ if ((isxdigit ((int) Name[2])) &&
+ (isxdigit ((int) Name[3])))
{
return (ACPI_EVENT_RESERVED_NAME);
}
@@ -1236,7 +1236,7 @@ AnMethodAnalysisWalkBegin (
*/
for (i = 0; Next->Asl.Value.String[i]; i++)
{
- if (!isalnum (Next->Asl.Value.String[i]))
+ if (!isalnum ((int) Next->Asl.Value.String[i]))
{
AslError (ASL_ERROR, ASL_MSG_ALPHANUMERIC_STRING,
Next, Next->Asl.Value.String);
@@ -2157,7 +2157,7 @@ AnOtherSemanticAnalysisWalkBegin (
*/
if (((ArgNode->Asl.ParseOpcode == PARSEOP_WORDCONST) ||
(ArgNode->Asl.ParseOpcode == PARSEOP_INTEGER)) &&
- (ArgNode->Asl.Value.Integer >= (ACPI_INTEGER) ACPI_WAIT_FOREVER))
+ (ArgNode->Asl.Value.Integer >= (UINT64) ACPI_WAIT_FOREVER))
{
break;
}
Modified: vendor-sys/acpica/dist/compiler/aslcodegen.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslcodegen.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslcodegen.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslcompile.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslcompile.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslcompile.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslcompiler.h
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslcompiler.h Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslcompiler.h Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -511,7 +511,7 @@ TrCreateLeafNode (
ACPI_PARSE_OBJECT *
TrCreateValuedLeafNode (
UINT32 ParseOpcode,
- ACPI_INTEGER Value);
+ UINT64 Value);
ACPI_PARSE_OBJECT *
TrLinkChildren (
@@ -718,7 +718,7 @@ UtCheckIntegerRange (
UINT32 LowValue,
UINT32 HighValue);
-ACPI_INTEGER
+UINT64
UtDoConstant (
char *String);
Modified: vendor-sys/acpica/dist/compiler/aslcompiler.l
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslcompiler.l Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslcompiler.l Thu Jan 21 20:56:18 2010 (r202766)
@@ -10,7 +10,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslcompiler.y
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslcompiler.y Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslcompiler.y Thu Jan 21 20:56:18 2010 (r202766)
@@ -10,7 +10,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -2388,7 +2388,7 @@ QWordConstExpr
ConstExprTerm
: PARSEOP_ZERO {$$ = TrCreateValuedLeafNode (PARSEOP_ZERO, 0);}
| PARSEOP_ONE {$$ = TrCreateValuedLeafNode (PARSEOP_ONE, 1);}
- | PARSEOP_ONES {$$ = TrCreateValuedLeafNode (PARSEOP_ONES, ACPI_INTEGER_MAX);}
+ | PARSEOP_ONES {$$ = TrCreateValuedLeafNode (PARSEOP_ONES, ACPI_UINT64_MAX);}
;
/* OptionalCount must appear before ByteList or an incorrect reduction will result */
Modified: vendor-sys/acpica/dist/compiler/asldefine.h
==============================================================================
--- vendor-sys/acpica/dist/compiler/asldefine.h Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/asldefine.h Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -127,7 +127,7 @@
#define IntelAcpiCA "Intel ACPI Component Architecture"
#define CompilerId "ASL Optimizing Compiler"
#define DisassemblerId "AML Disassembler"
-#define CompilerCopyright "Copyright (C) 2000 - 2009 Intel Corporation"
+#define CompilerCopyright "Copyright (c) 2000 - 2010 Intel Corporation"
#define CompilerCompliance "Supports ACPI Specification Revision 4.0"
#define CompilerName "iasl"
#define CompilerCreatorId "INTL"
Modified: vendor-sys/acpica/dist/compiler/aslerror.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslerror.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslerror.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -169,13 +169,7 @@ AeAddToErrorLog (
ASL_ERROR_MSG *Prev;
- if (!Gbl_ErrorLog)
- {
- Gbl_ErrorLog = Enode;
- return;
- }
-
- /* List is sorted according to line number */
+ /* If Gbl_ErrorLog is null, this is the first error node */
if (!Gbl_ErrorLog)
{
@@ -183,8 +177,10 @@ AeAddToErrorLog (
return;
}
- /* Walk error list until we find a line number greater than ours */
-
+ /*
+ * Walk error list until we find a line number greater than ours.
+ * List is sorted according to line number.
+ */
Prev = NULL;
Next = Gbl_ErrorLog;
Modified: vendor-sys/acpica/dist/compiler/aslfiles.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslfiles.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslfiles.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslfold.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslfold.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslfold.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslglobal.h
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslglobal.h Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslglobal.h Thu Jan 21 20:56:18 2010 (r202766)
@@ -10,7 +10,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -165,7 +165,6 @@ ASL_EXTERN char ASL_
ASL_EXTERN ASL_ERROR_MSG ASL_INIT_GLOBAL (*Gbl_ErrorLog,NULL);
ASL_EXTERN ASL_ERROR_MSG ASL_INIT_GLOBAL (*Gbl_NextError,NULL);
-extern UINT32 Gbl_ExceptionCount[];
/* Option flags */
@@ -278,5 +277,12 @@ ASL_EXTERN char MsgB
ASL_EXTERN char StringBuffer[ASL_MSG_BUFFER_SIZE];
ASL_EXTERN char StringBuffer2[ASL_MSG_BUFFER_SIZE];
+
+#ifdef _DECLARE_GLOBALS
+UINT32 Gbl_ExceptionCount[ASL_NUM_REPORT_LEVELS] = {0,0,0,0,0,0};
+#else
+extern UINT32 Gbl_ExceptionCount[ASL_NUM_REPORT_LEVELS];
+#endif
+
#endif /* __ASLGLOBAL_H */
Modified: vendor-sys/acpica/dist/compiler/asllength.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/asllength.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/asllength.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/asllisting.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/asllisting.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/asllisting.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslload.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslload.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslload.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -534,7 +534,7 @@ LdNamespace1Begin (
if (Op->Asl.CompileFlags == NODE_IS_RESOURCE_DESC)
{
Status = LdLoadResourceElements (Op, WalkState);
- goto Exit;
+ return_ACPI_STATUS (Status);
}
ObjectType = AslMapNamedOpcodeToDataType (Op->Asl.AmlOpcode);
@@ -578,7 +578,7 @@ LdNamespace1Begin (
AslCoreSubsystemError (Op, Status,
"Failure from namespace lookup", FALSE);
- goto Exit;
+ return_ACPI_STATUS (Status);
}
/* We found a node with this name, now check the type */
@@ -713,15 +713,14 @@ LdNamespace1Begin (
AslError (ASL_ERROR, ASL_MSG_NAME_EXISTS, Op,
Op->Asl.ExternalName);
- Status = AE_OK;
- goto Exit;
+ return_ACPI_STATUS (AE_OK);
}
}
else
{
AslCoreSubsystemError (Op, Status,
"Failure from namespace lookup", FALSE);
- goto Exit;
+ return_ACPI_STATUS (Status);
}
}
@@ -759,8 +758,7 @@ FinishNode:
Node->Value = (UINT32) Op->Asl.Extra;
}
-Exit:
- return (Status);
+ return_ACPI_STATUS (Status);
}
Modified: vendor-sys/acpica/dist/compiler/asllookup.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/asllookup.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/asllookup.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslmain.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslmain.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslmain.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -165,9 +165,6 @@ static int
AslDoResponseFile (
char *Filename);
-extern int AcpiGbl_Opterr;
-extern int AcpiGbl_Optind;
-
#define ASL_TOKEN_SEPARATORS " \t\n"
#define ASL_SUPPORTED_OPTIONS "@:2b:cd^e:fgh^i^I:l^o:p:r:s:t:v:w:x:"
Modified: vendor-sys/acpica/dist/compiler/aslmap.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslmap.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslmap.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslopcodes.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslopcodes.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslopcodes.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -328,7 +328,7 @@ OpcSetOptimalIntegerSize (
}
break;
- case ACPI_INTEGER_MAX:
+ case ACPI_UINT64_MAX:
/* Check for table integer width (32 or 64) */
@@ -568,7 +568,7 @@ OpcDoEisaId (
if (i < 3)
{
- if (!isupper (InString[i]))
+ if (!isupper ((int) InString[i]))
{
Status = AE_BAD_PARAMETER;
}
@@ -576,7 +576,7 @@ OpcDoEisaId (
/* Last 4 characters must be hex digits */
- else if (!isxdigit (InString[i]))
+ else if (!isxdigit ((int) InString[i]))
{
Status = AE_BAD_PARAMETER;
}
@@ -666,7 +666,7 @@ OpcDoUuId (
}
else
{
- if (!isxdigit (InString[i]))
+ if (!isxdigit ((int) InString[i]))
{
Status = AE_BAD_PARAMETER;
}
Modified: vendor-sys/acpica/dist/compiler/asloperands.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/asloperands.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/asloperands.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -604,7 +604,7 @@ OpnDoRegion (
}
else
{
- Op->Asl.Value.Integer = ACPI_INTEGER_MAX;
+ Op->Asl.Value.Integer = ACPI_UINT64_MAX;
}
}
@@ -1007,7 +1007,7 @@ OpnDoDefinitionBlock (
for (i = 0; i < 4; i++)
{
- if (!isalnum (Gbl_TableSignature[i]))
+ if (!isalnum ((int) Gbl_TableSignature[i]))
{
AslError (ASL_ERROR, ASL_MSG_TABLE_SIGNATURE, Child,
"Contains non-alphanumeric characters");
Modified: vendor-sys/acpica/dist/compiler/aslopt.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslopt.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslopt.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslresource.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslresource.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslresource.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -184,7 +184,7 @@ RsCreateBitField (
{
Op->Asl.ExternalName = Name;
- Op->Asl.Value.Integer = ((ACPI_INTEGER) ByteOffset * 8) + BitOffset;
+ Op->Asl.Value.Integer = ((UINT64) ByteOffset * 8) + BitOffset;
Op->Asl.CompileFlags |= (NODE_IS_RESOURCE_FIELD | NODE_IS_BIT_OFFSET);
}
Modified: vendor-sys/acpica/dist/compiler/aslrestype1.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslrestype1.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslrestype1.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslrestype2.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslrestype2.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslrestype2.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslstartup.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslstartup.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslstartup.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/aslstubs.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslstubs.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslstubs.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/compiler/asltransform.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/asltransform.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/asltransform.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -554,7 +554,7 @@ TrDoSwitch (
NewOp = NewOp2;
NewOp2 = TrCreateValuedLeafNode (PARSEOP_NAMESTRING,
- (ACPI_INTEGER) ACPI_TO_INTEGER (PredicateValueName));
+ (UINT64) ACPI_TO_INTEGER (PredicateValueName));
NewOp->Asl.Next = NewOp2;
TrAmlInitLineNumbers (NewOp2, Predicate);
@@ -612,7 +612,7 @@ TrDoSwitch (
* CaseOp->Child->Peer is the beginning of the case block
*/
NewOp = TrCreateValuedLeafNode (PARSEOP_NAMESTRING,
- (ACPI_INTEGER) ACPI_TO_INTEGER (PredicateValueName));
+ (UINT64) ACPI_TO_INTEGER (PredicateValueName));
NewOp->Asl.Next = Predicate;
TrAmlInitLineNumbers (NewOp, Predicate);
@@ -761,7 +761,7 @@ TrDoSwitch (
/* Create the NameSeg child for the Name node */
NewOp2 = TrCreateValuedLeafNode (PARSEOP_NAMESEG,
- (ACPI_INTEGER) ACPI_TO_INTEGER (PredicateValueName));
+ (UINT64) ACPI_TO_INTEGER (PredicateValueName));
NewOp2->Asl.CompileFlags |= NODE_IS_NAME_DECLARATION;
NewOp->Asl.Child = NewOp2;
@@ -771,22 +771,22 @@ TrDoSwitch (
{
case ACPI_BTYPE_INTEGER:
NewOp2->Asl.Next = TrCreateValuedLeafNode (PARSEOP_ZERO,
- (ACPI_INTEGER) 0);
+ (UINT64) 0);
break;
case ACPI_BTYPE_STRING:
NewOp2->Asl.Next = TrCreateValuedLeafNode (PARSEOP_STRING_LITERAL,
- (ACPI_INTEGER) ACPI_TO_INTEGER (""));
+ (UINT64) ACPI_TO_INTEGER (""));
break;
case ACPI_BTYPE_BUFFER:
(void) TrLinkPeerNode (NewOp2, TrCreateValuedLeafNode (PARSEOP_BUFFER,
- (ACPI_INTEGER) 0));
+ (UINT64) 0));
Next = NewOp2->Asl.Next;
(void) TrLinkChildren (Next, 1, TrCreateValuedLeafNode (PARSEOP_ZERO,
- (ACPI_INTEGER) 1));
+ (UINT64) 1));
(void) TrLinkPeerNode (Next->Asl.Child,
- TrCreateValuedLeafNode (PARSEOP_DEFAULT_ARG, (ACPI_INTEGER) 0));
+ TrCreateValuedLeafNode (PARSEOP_DEFAULT_ARG, (UINT64) 0));
TrAmlSetSubtreeParent (Next->Asl.Child, Next);
break;
@@ -821,7 +821,7 @@ TrDoSwitch (
Predicate->Asl.Parent = StoreOp;
NewOp = TrCreateValuedLeafNode (PARSEOP_NAMESEG,
- (ACPI_INTEGER) ACPI_TO_INTEGER (PredicateValueName));
+ (UINT64) ACPI_TO_INTEGER (PredicateValueName));
NewOp->Asl.Parent = StoreOp;
Predicate->Asl.Next = NewOp;
Modified: vendor-sys/acpica/dist/compiler/asltree.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/asltree.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/asltree.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -490,7 +490,7 @@ TrCreateLeafNode (
ACPI_PARSE_OBJECT *
TrCreateValuedLeafNode (
UINT32 ParseOpcode,
- ACPI_INTEGER Value)
+ UINT64 Value)
{
ACPI_PARSE_OBJECT *Op;
Modified: vendor-sys/acpica/dist/compiler/asltypes.h
==============================================================================
--- vendor-sys/acpica/dist/compiler/asltypes.h Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/asltypes.h Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -571,11 +571,6 @@ char *AslErrorLevel [
#define ASL_ERROR_LEVEL_LENGTH 8 /* Length of strings above */
-/* Exception counters */
-
-UINT32 Gbl_ExceptionCount[ASL_NUM_REPORT_LEVELS] = {0,0,0,0,0,0};
-
-#endif
-
+#endif /* ASL_EXCEPTIONS */
#endif /* __ASLTYPES_H */
Modified: vendor-sys/acpica/dist/compiler/aslutils.c
==============================================================================
--- vendor-sys/acpica/dist/compiler/aslutils.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/compiler/aslutils.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -142,7 +142,7 @@ static ACPI_STATUS
UtStrtoul64 (
char *String,
UINT32 Base,
- ACPI_INTEGER *RetInteger);
+ UINT64 *RetInteger);
static void
UtPadNameWithUnderscores (
@@ -846,12 +846,12 @@ UtAttachNamepathToOwner (
*
******************************************************************************/
-ACPI_INTEGER
+UINT64
UtDoConstant (
char *String)
{
ACPI_STATUS Status;
- ACPI_INTEGER Converted;
+ UINT64 Converted;
char ErrBuf[64];
@@ -888,11 +888,11 @@ static ACPI_STATUS
UtStrtoul64 (
char *String,
UINT32 Base,
- ACPI_INTEGER *RetInteger)
+ UINT64 *RetInteger)
{
UINT32 Index;
UINT32 Sign;
- ACPI_INTEGER ReturnValue = 0;
+ UINT64 ReturnValue = 0;
ACPI_STATUS Status = AE_OK;
@@ -916,7 +916,7 @@ UtStrtoul64 (
/* Skip over any white space in the buffer: */
- while (isspace (*String) || *String == '\t')
+ while (isspace ((int) *String) || *String == '\t')
{
++String;
}
@@ -948,7 +948,7 @@ UtStrtoul64 (
{
if (*String == '0')
{
- if (tolower (*(++String)) == 'x')
+ if (tolower ((int) *(++String)) == 'x')
{
Base = 16;
++String;
@@ -975,7 +975,7 @@ UtStrtoul64 (
if (Base == 16 &&
*String == '0' &&
- tolower (*(++String)) == 'x')
+ tolower ((int) *(++String)) == 'x')
{
String++;
}
@@ -984,14 +984,14 @@ UtStrtoul64 (
while (*String)
{
- if (isdigit (*String))
+ if (isdigit ((int) *String))
{
Index = ((UINT8) *String) - '0';
}
else
{
- Index = (UINT8) toupper (*String);
- if (isupper ((char) Index))
+ Index = (UINT8) toupper ((int) *String);
+ if (isupper ((int) Index))
{
Index = Index - 'A' + 10;
}
@@ -1008,8 +1008,8 @@ UtStrtoul64 (
/* Check to see if value is out of range: */
- if (ReturnValue > ((ACPI_INTEGER_MAX - (ACPI_INTEGER) Index) /
- (ACPI_INTEGER) Base))
+ if (ReturnValue > ((ACPI_UINT64_MAX - (UINT64) Index) /
+ (UINT64) Base))
{
goto ErrorExit;
}
Modified: vendor-sys/acpica/dist/debugger/dbcmds.c
==============================================================================
--- vendor-sys/acpica/dist/debugger/dbcmds.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/debugger/dbcmds.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/debugger/dbdisply.c
==============================================================================
--- vendor-sys/acpica/dist/debugger/dbdisply.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/debugger/dbdisply.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
Modified: vendor-sys/acpica/dist/debugger/dbexec.c
==============================================================================
--- vendor-sys/acpica/dist/debugger/dbexec.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/debugger/dbexec.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -243,7 +243,7 @@ AcpiDbExecuteMethod (
default:
Params[i].Type = ACPI_TYPE_INTEGER;
- Params[i].Integer.Value = i * (ACPI_INTEGER) 0x1000;
+ Params[i].Integer.Value = i * (UINT64) 0x1000;
break;
}
}
@@ -484,7 +484,7 @@ AcpiDbExecute (
* Allow any handlers in separate threads to complete.
* (Such as Notify handlers invoked from AML executed above).
*/
- AcpiOsSleep ((ACPI_INTEGER) 10);
+ AcpiOsSleep ((UINT64) 10);
#ifdef ACPI_DEBUG_OUTPUT
Modified: vendor-sys/acpica/dist/debugger/dbfileio.c
==============================================================================
--- vendor-sys/acpica/dist/debugger/dbfileio.c Thu Jan 21 19:17:42 2010 (r202765)
+++ vendor-sys/acpica/dist/debugger/dbfileio.c Thu Jan 21 20:56:18 2010 (r202766)
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -150,9 +150,6 @@ AcpiDbCheckTextModeCorruption (
UINT32 TableLength,
UINT32 FileLength);
-static ACPI_STATUS
-AeLocalLoadTable (
- ACPI_TABLE_HEADER *TablePtr);
#endif
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-all
mailing list