Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi/acpica/Subsystem Merge acpica-unix-20031029.



details:   https://anonhg.NetBSD.org/src/rev/a5e242064911
branches:  trunk
changeset: 554680:a5e242064911
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Fri Oct 31 20:51:07 2003 +0000

description:
Merge acpica-unix-20031029.

diffstat:

 sys/dev/acpi/acpica/Subsystem/acconfig.h |   55 +-
 sys/dev/acpi/acpica/Subsystem/acdebug.h  |   19 +-
 sys/dev/acpi/acpica/Subsystem/acdisasm.h |   34 +-
 sys/dev/acpi/acpica/Subsystem/acdispat.h |    2 +-
 sys/dev/acpi/acpica/Subsystem/acenv.h    |    3 +-
 sys/dev/acpi/acpica/Subsystem/acevents.h |   51 +-
 sys/dev/acpi/acpica/Subsystem/acexcep.h  |   12 +-
 sys/dev/acpi/acpica/Subsystem/acgcc.h    |    2 +-
 sys/dev/acpi/acpica/Subsystem/acglobal.h |   23 +-
 sys/dev/acpi/acpica/Subsystem/achware.h  |   22 +-
 sys/dev/acpi/acpica/Subsystem/acinterp.h |    8 +-
 sys/dev/acpi/acpica/Subsystem/aclocal.h  |  120 ++--
 sys/dev/acpi/acpica/Subsystem/acmacros.h |  264 +++++++---
 sys/dev/acpi/acpica/Subsystem/acnamesp.h |    7 +-
 sys/dev/acpi/acpica/Subsystem/acnetbsd.h |   24 +-
 sys/dev/acpi/acpica/Subsystem/acobject.h |   46 +-
 sys/dev/acpi/acpica/Subsystem/acoutput.h |    2 +-
 sys/dev/acpi/acpica/Subsystem/acparser.h |    2 +-
 sys/dev/acpi/acpica/Subsystem/acpi.h     |    2 +-
 sys/dev/acpi/acpica/Subsystem/acpiosxf.h |   43 +-
 sys/dev/acpi/acpica/Subsystem/acpixf.h   |   55 +-
 sys/dev/acpi/acpica/Subsystem/acresrc.h  |    2 +-
 sys/dev/acpi/acpica/Subsystem/acstruct.h |    5 +-
 sys/dev/acpi/acpica/Subsystem/actables.h |   12 +-
 sys/dev/acpi/acpica/Subsystem/actbl.h    |  262 ++++++++---
 sys/dev/acpi/acpica/Subsystem/actbl1.h   |    6 +-
 sys/dev/acpi/acpica/Subsystem/actbl2.h   |   23 +-
 sys/dev/acpi/acpica/Subsystem/actypes.h  |  103 +++-
 sys/dev/acpi/acpica/Subsystem/acutils.h  |   12 +-
 sys/dev/acpi/acpica/Subsystem/amlcode.h  |    2 +-
 sys/dev/acpi/acpica/Subsystem/amlresrc.h |    2 +-
 sys/dev/acpi/acpica/Subsystem/dbcmds.c   |   91 +--
 sys/dev/acpi/acpica/Subsystem/dbdisply.c |  418 +++--------------
 sys/dev/acpi/acpica/Subsystem/dbexec.c   |   41 +-
 sys/dev/acpi/acpica/Subsystem/dbfileio.c |  107 +++-
 sys/dev/acpi/acpica/Subsystem/dbhistry.c |    4 +-
 sys/dev/acpi/acpica/Subsystem/dbinput.c  |   10 +-
 sys/dev/acpi/acpica/Subsystem/dbstats.c  |   36 +-
 sys/dev/acpi/acpica/Subsystem/dbutils.c  |   24 +-
 sys/dev/acpi/acpica/Subsystem/dbxface.c  |    4 +-
 sys/dev/acpi/acpica/Subsystem/dmbuffer.c |   16 +-
 sys/dev/acpi/acpica/Subsystem/dmnames.c  |    4 +-
 sys/dev/acpi/acpica/Subsystem/dmobject.c |    2 +-
 sys/dev/acpi/acpica/Subsystem/dmopcode.c |   41 +-
 sys/dev/acpi/acpica/Subsystem/dmresrc.c  |    6 +-
 sys/dev/acpi/acpica/Subsystem/dmresrcl.c |   22 +-
 sys/dev/acpi/acpica/Subsystem/dmresrcs.c |    4 +-
 sys/dev/acpi/acpica/Subsystem/dmutils.c  |    4 +-
 sys/dev/acpi/acpica/Subsystem/dmwalk.c   |   19 +-
 sys/dev/acpi/acpica/Subsystem/dsfield.c  |   63 +-
 sys/dev/acpi/acpica/Subsystem/dsinit.c   |   17 +-
 sys/dev/acpi/acpica/Subsystem/dsmethod.c |    9 +-
 sys/dev/acpi/acpica/Subsystem/dsmthdat.c |   49 +-
 sys/dev/acpi/acpica/Subsystem/dsobject.c |   10 +-
 sys/dev/acpi/acpica/Subsystem/dsopcode.c |   56 +-
 sys/dev/acpi/acpica/Subsystem/dsutils.c  |  131 +++--
 sys/dev/acpi/acpica/Subsystem/dswexec.c  |   43 +-
 sys/dev/acpi/acpica/Subsystem/dswload.c  |   25 +-
 sys/dev/acpi/acpica/Subsystem/dswscope.c |   24 +-
 sys/dev/acpi/acpica/Subsystem/dswstate.c |   36 +-
 sys/dev/acpi/acpica/Subsystem/evevent.c  |   15 +-
 sys/dev/acpi/acpica/Subsystem/evgpe.c    |  215 +++++---
 sys/dev/acpi/acpica/Subsystem/evgpeblk.c |  537 ++++++++++++++++++++---
 sys/dev/acpi/acpica/Subsystem/evmisc.c   |   86 +--
 sys/dev/acpi/acpica/Subsystem/evregion.c |  419 ++++++++---------
 sys/dev/acpi/acpica/Subsystem/evrgnini.c |  185 ++++---
 sys/dev/acpi/acpica/Subsystem/evsci.c    |   63 ++-
 sys/dev/acpi/acpica/Subsystem/evxface.c  |  129 +++--
 sys/dev/acpi/acpica/Subsystem/evxfevnt.c |  705 +++++++++++++++++++++---------
 sys/dev/acpi/acpica/Subsystem/evxfregn.c |  180 ++++---
 sys/dev/acpi/acpica/Subsystem/exconfig.c |   22 +-
 sys/dev/acpi/acpica/Subsystem/exconvrt.c |    4 +-
 sys/dev/acpi/acpica/Subsystem/excreate.c |   13 +-
 sys/dev/acpi/acpica/Subsystem/exdump.c   |   85 +--
 sys/dev/acpi/acpica/Subsystem/exfield.c  |   17 +-
 sys/dev/acpi/acpica/Subsystem/exfldio.c  |  394 ++++++++++-------
 sys/dev/acpi/acpica/Subsystem/exmisc.c   |   11 +-
 sys/dev/acpi/acpica/Subsystem/exmutex.c  |   17 +-
 sys/dev/acpi/acpica/Subsystem/exnames.c  |    5 +-
 sys/dev/acpi/acpica/Subsystem/exoparg1.c |   91 ++-
 sys/dev/acpi/acpica/Subsystem/exoparg2.c |    4 +-
 sys/dev/acpi/acpica/Subsystem/exoparg3.c |   10 +-
 sys/dev/acpi/acpica/Subsystem/exoparg6.c |    5 +-
 sys/dev/acpi/acpica/Subsystem/exprep.c   |  209 ++++++--
 sys/dev/acpi/acpica/Subsystem/exregion.c |   25 +-
 sys/dev/acpi/acpica/Subsystem/exresnte.c |   30 +-
 sys/dev/acpi/acpica/Subsystem/exresolv.c |   17 +-
 sys/dev/acpi/acpica/Subsystem/exresop.c  |   22 +-
 sys/dev/acpi/acpica/Subsystem/exstore.c  |    8 +-
 sys/dev/acpi/acpica/Subsystem/exstoren.c |   13 +-
 sys/dev/acpi/acpica/Subsystem/exstorob.c |    5 +-
 sys/dev/acpi/acpica/Subsystem/exsystem.c |   37 +-
 sys/dev/acpi/acpica/Subsystem/exutils.c  |   11 +-
 sys/dev/acpi/acpica/Subsystem/hwacpi.c   |   19 +-
 sys/dev/acpi/acpica/Subsystem/hwgpe.c    |  308 +++++++++----
 sys/dev/acpi/acpica/Subsystem/hwregs.c   |  216 ++++----
 sys/dev/acpi/acpica/Subsystem/hwsleep.c  |   21 +-
 sys/dev/acpi/acpica/Subsystem/hwtimer.c  |    7 +-
 sys/dev/acpi/acpica/Subsystem/nsaccess.c |   20 +-
 sys/dev/acpi/acpica/Subsystem/nsalloc.c  |  248 +++++-----
 sys/dev/acpi/acpica/Subsystem/nsdump.c   |   44 +-
 sys/dev/acpi/acpica/Subsystem/nsdumpdv.c |   19 +-
 sys/dev/acpi/acpica/Subsystem/nseval.c   |    9 +-
 sys/dev/acpi/acpica/Subsystem/nsinit.c   |   79 +-
 sys/dev/acpi/acpica/Subsystem/nsload.c   |   23 +-
 sys/dev/acpi/acpica/Subsystem/nsnames.c  |    7 +-
 sys/dev/acpi/acpica/Subsystem/nsobject.c |   11 +-
 sys/dev/acpi/acpica/Subsystem/nsparse.c  |    8 +-
 sys/dev/acpi/acpica/Subsystem/nssearch.c |   18 +-
 sys/dev/acpi/acpica/Subsystem/nsutils.c  |   97 ++-
 sys/dev/acpi/acpica/Subsystem/nswalk.c   |   17 +-
 sys/dev/acpi/acpica/Subsystem/nsxfeval.c |   42 +-
 sys/dev/acpi/acpica/Subsystem/nsxfname.c |  177 ++++---
 sys/dev/acpi/acpica/Subsystem/nsxfobj.c  |    4 +-
 sys/dev/acpi/acpica/Subsystem/psargs.c   |   28 +-
 sys/dev/acpi/acpica/Subsystem/psopcode.c |    4 +-
 sys/dev/acpi/acpica/Subsystem/psparse.c  |   43 +-
 sys/dev/acpi/acpica/Subsystem/psscope.c  |    4 +-
 sys/dev/acpi/acpica/Subsystem/pstree.c   |    4 +-
 sys/dev/acpi/acpica/Subsystem/psutils.c  |    4 +-
 sys/dev/acpi/acpica/Subsystem/pswalk.c   |    6 +-
 sys/dev/acpi/acpica/Subsystem/psxface.c  |    7 +-
 sys/dev/acpi/acpica/Subsystem/rsaddr.c   |  157 +++---
 sys/dev/acpi/acpica/Subsystem/rscalc.c   |   21 +-
 sys/dev/acpi/acpica/Subsystem/rscreate.c |    6 +-
 sys/dev/acpi/acpica/Subsystem/rsdump.c   |   22 +-
 sys/dev/acpi/acpica/Subsystem/rsio.c     |   17 +-
 sys/dev/acpi/acpica/Subsystem/rsirq.c    |   36 +-
 sys/dev/acpi/acpica/Subsystem/rslist.c   |    9 +-
 sys/dev/acpi/acpica/Subsystem/rsmemory.c |   61 +-
 sys/dev/acpi/acpica/Subsystem/rsmisc.c   |    9 +-
 sys/dev/acpi/acpica/Subsystem/rsutils.c  |    4 +-
 sys/dev/acpi/acpica/Subsystem/rsxface.c  |   49 +-
 sys/dev/acpi/acpica/Subsystem/tbconvrt.c |  148 ++++-
 sys/dev/acpi/acpica/Subsystem/tbget.c    |   29 +-
 sys/dev/acpi/acpica/Subsystem/tbgetall.c |   12 +-
 sys/dev/acpi/acpica/Subsystem/tbinstal.c |  232 ++++-----
 sys/dev/acpi/acpica/Subsystem/tbrsdt.c   |    8 +-
 sys/dev/acpi/acpica/Subsystem/tbutils.c  |   24 +-
 sys/dev/acpi/acpica/Subsystem/tbxface.c  |   25 +-
 sys/dev/acpi/acpica/Subsystem/tbxfroot.c |    8 +-
 sys/dev/acpi/acpica/Subsystem/utalloc.c  |   62 +--
 sys/dev/acpi/acpica/Subsystem/utclib.c   |    4 +-
 sys/dev/acpi/acpica/Subsystem/utcopy.c   |   26 +-
 sys/dev/acpi/acpica/Subsystem/utdebug.c  |   19 +-
 sys/dev/acpi/acpica/Subsystem/utdelete.c |   90 +--
 sys/dev/acpi/acpica/Subsystem/uteval.c   |  207 +++++++-
 sys/dev/acpi/acpica/Subsystem/utglobal.c |  146 +++++-
 sys/dev/acpi/acpica/Subsystem/utinit.c   |   32 +-
 sys/dev/acpi/acpica/Subsystem/utmath.c   |    4 +-
 sys/dev/acpi/acpica/Subsystem/utmisc.c   |   64 +-
 sys/dev/acpi/acpica/Subsystem/utobject.c |   54 +-
 sys/dev/acpi/acpica/Subsystem/utxface.c  |   62 +-
 153 files changed, 5320 insertions(+), 3951 deletions(-)

diffs (truncated from 19034 to 300 lines):

diff -r 50c2a9b76d36 -r a5e242064911 sys/dev/acpi/acpica/Subsystem/acconfig.h
--- a/sys/dev/acpi/acpica/Subsystem/acconfig.h  Fri Oct 31 20:47:38 2003 +0000
+++ b/sys/dev/acpi/acpica/Subsystem/acconfig.h  Fri Oct 31 20:51:07 2003 +0000
@@ -1,7 +1,7 @@
 /******************************************************************************
  *
  * Name: acconfig.h - Global configuration constants
- *       xRevision: 129 $
+ *       $Revision: 1.6 $
  *
  *****************************************************************************/
 
@@ -120,7 +120,7 @@
 
 /******************************************************************************
  *
- * Compile-time options
+ * Configuration options
  *
  *****************************************************************************/
 
@@ -135,21 +135,9 @@
  *
  */
 
-
-/******************************************************************************
- *
- * Subsystem Constants
- *
- *****************************************************************************/
-
-
 /* Version string */
 
-#define ACPI_CA_VERSION                 0x20030228
-
-/* Version of ACPI supported */
-
-#define ACPI_CA_SUPPORT_LEVEL           2
+#define ACPI_CA_VERSION                 0x20031029
 
 /* Maximum objects in the various object caches */
 
@@ -159,6 +147,23 @@
 #define ACPI_MAX_OBJECT_CACHE_DEPTH     64          /* Interpreter operand objects */
 #define ACPI_MAX_WALK_CACHE_DEPTH       4           /* Objects for parse tree walks */
 
+/*
+ * Should the subystem abort the loading of an ACPI table if the
+ * table checksum is incorrect?
+ */
+#define ACPI_CHECKSUM_ABORT             FALSE
+
+
+/******************************************************************************
+ *
+ * Subsystem Constants
+ *
+ *****************************************************************************/
+
+/* Version of ACPI supported */
+
+#define ACPI_CA_SUPPORT_LEVEL           2
+
 /* String size constants */
 
 #define ACPI_MAX_STRING_LENGTH          512
@@ -179,20 +184,6 @@
 
 /******************************************************************************
  *
- * Configuration of subsystem behavior
- *
- *****************************************************************************/
-
-
-/*
- * Should the subystem abort the loading of an ACPI table if the
- * table checksum is incorrect?
- */
-#define ACPI_CHECKSUM_ABORT             FALSE
-
-
-/******************************************************************************
- *
  * ACPI Specification constants (Do not change unless the specification changes)
  *
  *****************************************************************************/
@@ -215,6 +206,11 @@
 
 #define ACPI_MAX_STRING_CONVERSION      200
 
+/* Length of _HID, _UID, and _CID values */
+
+#define ACPI_DEVICE_ID_LENGTH           0x09
+#define ACPI_MAX_CID_LENGTH             48
+
 /*
  * Operand Stack (in WALK_STATE), Must be large enough to contain METHOD_MAX_ARG
  */
@@ -269,7 +265,6 @@
  *
  *****************************************************************************/
 
-
 #define ACPI_DEBUGGER_MAX_ARGS          8  /* Must be max method args + 1 */
 
 #define ACPI_DEBUGGER_COMMAND_PROMPT    '-'
diff -r 50c2a9b76d36 -r a5e242064911 sys/dev/acpi/acpica/Subsystem/acdebug.h
--- a/sys/dev/acpi/acpica/Subsystem/acdebug.h   Fri Oct 31 20:47:38 2003 +0000
+++ b/sys/dev/acpi/acpica/Subsystem/acdebug.h   Fri Oct 31 20:51:07 2003 +0000
@@ -1,7 +1,7 @@
 /******************************************************************************
  *
  * Name: acdebug.h - ACPI/AML debugger
- *       xRevision: 70 $
+ *       $Revision: 1.6 $
  *
  *****************************************************************************/
 
@@ -305,10 +305,6 @@
     char                    *OutputType);
 
 void
-AcpiDbDecodeNode (
-    ACPI_NAMESPACE_NODE     *Node);
-
-void
 AcpiDbDisplayResultObject (
     ACPI_OPERAND_OBJECT     *ObjDesc,
     ACPI_WALK_STATE         *WalkState);
@@ -318,11 +314,6 @@
     char                    *DisplayCountArg);
 
 void
-AcpiDbDisplayInternalObject (
-    ACPI_OPERAND_OBJECT     *ObjDesc,
-    ACPI_WALK_STATE         *WalkState);
-
-void
 AcpiDbDisplayArguments (
     void);
 
@@ -339,6 +330,10 @@
     void);
 
 void
+AcpiDbDisplayObjectType (
+    char                    *ObjectArg);
+
+void
 AcpiDbDisplayArgumentObject (
     ACPI_OPERAND_OBJECT     *ObjDesc,
     ACPI_WALK_STATE         *WalkState);
@@ -351,10 +346,6 @@
 AcpiDbGetPointer (
     void                    *Target);
 
-void
-AcpiDbDecodeInternalObject (
-    ACPI_OPERAND_OBJECT     *ObjDesc);
-
 
 /*
  * dbexec - debugger control method execution
diff -r 50c2a9b76d36 -r a5e242064911 sys/dev/acpi/acpica/Subsystem/acdisasm.h
--- a/sys/dev/acpi/acpica/Subsystem/acdisasm.h  Fri Oct 31 20:47:38 2003 +0000
+++ b/sys/dev/acpi/acpica/Subsystem/acdisasm.h  Fri Oct 31 20:51:07 2003 +0000
@@ -1,7 +1,7 @@
 /******************************************************************************
  *
  * Name: acdisasm.h - AML disassembler
- *       xRevision: 8 $
+ *       $Revision: 1.3 $
  *
  *****************************************************************************/
 
@@ -226,10 +226,6 @@
 AcpiDmDecodeInternalObject (
     ACPI_OPERAND_OBJECT     *ObjDesc);
 
-void
-AcpiDmDecodeNode (
-    ACPI_NAMESPACE_NODE     *Node);
-
 UINT32
 AcpiDmBlockType (
     ACPI_PARSE_OBJECT       *Op);
@@ -277,6 +273,34 @@
 
 
 /*
+ * dmobject
+ */
+
+void
+AcpiDmDecodeNode (
+    ACPI_NAMESPACE_NODE     *Node);
+
+void
+AcpiDmDisplayInternalObject (
+    ACPI_OPERAND_OBJECT     *ObjDesc,
+    ACPI_WALK_STATE         *WalkState);
+
+void
+AcpiDmDisplayArguments (
+    ACPI_WALK_STATE         *WalkState);
+
+void
+AcpiDmDisplayLocals (
+    ACPI_WALK_STATE         *WalkState);
+
+void
+AcpiDmDumpMethodInfo (
+    ACPI_STATUS             Status,
+    ACPI_WALK_STATE         *WalkState,
+    ACPI_PARSE_OBJECT       *Op);
+
+
+/*
  * dmbuffer
  */
 
diff -r 50c2a9b76d36 -r a5e242064911 sys/dev/acpi/acpica/Subsystem/acdispat.h
--- a/sys/dev/acpi/acpica/Subsystem/acdispat.h  Fri Oct 31 20:47:38 2003 +0000
+++ b/sys/dev/acpi/acpica/Subsystem/acdispat.h  Fri Oct 31 20:51:07 2003 +0000
@@ -1,7 +1,7 @@
 /******************************************************************************
  *
  * Name: acdispat.h - dispatcher (parser to interpreter interface)
- *       xRevision: 56 $
+ *       $Revision: 1.5 $
  *
  *****************************************************************************/
 
diff -r 50c2a9b76d36 -r a5e242064911 sys/dev/acpi/acpica/Subsystem/acenv.h
--- a/sys/dev/acpi/acpica/Subsystem/acenv.h     Fri Oct 31 20:47:38 2003 +0000
+++ b/sys/dev/acpi/acpica/Subsystem/acenv.h     Fri Oct 31 20:51:07 2003 +0000
@@ -1,7 +1,7 @@
 /******************************************************************************
  *
  * Name: acenv.h - Generation environment specific items
- *       xRevision: 104 $
+ *       $Revision: 1.9 $
  *
  *****************************************************************************/
 
@@ -272,7 +272,6 @@
 #endif
 #endif /* !DEBUGGER_THREADING */
 
-
 /******************************************************************************
  *
  * C library configuration
diff -r 50c2a9b76d36 -r a5e242064911 sys/dev/acpi/acpica/Subsystem/acevents.h
--- a/sys/dev/acpi/acpica/Subsystem/acevents.h  Fri Oct 31 20:47:38 2003 +0000
+++ b/sys/dev/acpi/acpica/Subsystem/acevents.h  Fri Oct 31 20:51:07 2003 +0000
@@ -1,7 +1,7 @@
 /******************************************************************************
  *
  * Name: acevents.h - Event subcomponent prototypes and defines
- *       xRevision: 83 $
+ *       $Revision: 1.6 $
  *
  *****************************************************************************/
 
@@ -182,37 +182,44 @@
  * Evgpe - GPE handling and dispatch
  */
 
+ACPI_STATUS
+AcpiEvWalkGpeList (
+    ACPI_GPE_CALLBACK       GpeWalkCallback);
+
+BOOLEAN
+AcpiEvValidGpeEvent (
+    ACPI_GPE_EVENT_INFO     *GpeEventInfo);
+
 ACPI_GPE_EVENT_INFO *
 AcpiEvGetGpeEventInfo (
+    ACPI_HANDLE             GpeDevice,
     UINT32                  GpeNumber);
 
 ACPI_STATUS
 AcpiEvGpeInitialize (
     void);
 
+ACPI_STATUS
+AcpiEvCreateGpeBlock (
+    ACPI_NAMESPACE_NODE     *GpeDevice,
+    ACPI_GENERIC_ADDRESS    *GpeBlockAddress,
+    UINT32                  RegisterCount,
+    UINT8                   GpeBlockBaseNumber,
+    UINT32                  InterruptLevel,
+    ACPI_GPE_BLOCK_INFO     **ReturnGpeBlock);
+
+ACPI_STATUS
+AcpiEvDeleteGpeBlock (



Home | Main Index | Thread Index | Old Index