aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/acstruct.h
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2004-05-25 02:34:44 +0000
committerNate Lawson <njl@FreeBSD.org>2004-05-25 02:34:44 +0000
commita5a81f7c89bfa1232e53c5594bfb6a005e4542ce (patch)
tree29dd9bbba1b290e1293c9cd9f23c53bf025abfa3 /sys/contrib/dev/acpica/acstruct.h
parent5391902bdfae16dcc97f58a1c77a41c738f5f2f5 (diff)
downloadsrc-a5a81f7c89bfa1232e53c5594bfb6a005e4542ce.tar.gz
src-a5a81f7c89bfa1232e53c5594bfb6a005e4542ce.zip
Vendor import of Intel ACPI-CA 20040514.
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=129684
Diffstat (limited to 'sys/contrib/dev/acpica/acstruct.h')
-rw-r--r--sys/contrib/dev/acpica/acstruct.h26
1 files changed, 23 insertions, 3 deletions
diff --git a/sys/contrib/dev/acpica/acstruct.h b/sys/contrib/dev/acpica/acstruct.h
index 2b9e6c08847b..1852650a48f4 100644
--- a/sys/contrib/dev/acpica/acstruct.h
+++ b/sys/contrib/dev/acpica/acstruct.h
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: acstruct.h - Internal structs
- * $Revision: 27 $
+ * $Revision: 28 $
*
*****************************************************************************/
@@ -142,13 +142,14 @@
typedef struct acpi_walk_state
{
UINT8 DataType; /* To differentiate various internal objs MUST BE FIRST!*/\
+ UINT8 WalkType;
ACPI_OWNER_ID OwnerId; /* Owner of objects created during the walk */
BOOLEAN LastPredicate; /* Result of last predicate */
+ UINT8 Reserved; /* For alignment */
UINT8 CurrentResult; /* */
UINT8 NextOpInfo; /* Info about NextOp */
UINT8 NumOperands; /* Stack pointer for Operands[] array */
UINT8 ReturnUsed;
- UINT8 WalkType;
UINT16 Opcode; /* Current AML opcode */
UINT8 ScopeDepth;
UINT8 Reserved1;
@@ -164,7 +165,8 @@ typedef struct acpi_walk_state
struct acpi_namespace_node Arguments[ACPI_METHOD_NUM_ARGS]; /* Control method arguments */
union acpi_operand_object **CallerReturnDesc;
ACPI_GENERIC_STATE *ControlState; /* List of control states (nested IFs) */
- struct acpi_namespace_node *DeferredNode; /* Used when executing deferred opcodes */
+ struct acpi_namespace_node *DeferredNode; /* Used when executing deferred opcodes */
+ struct acpi_gpe_event_info *GpeEventInfo; /* Info for GPE (_Lxx/_Exx methods only */
struct acpi_namespace_node LocalVariables[ACPI_METHOD_NUM_LOCALS]; /* Control method locals */
struct acpi_namespace_node *MethodCallNode; /* Called method Node*/
ACPI_PARSE_OBJECT *MethodCallOp; /* MethodCall Op if running a method */
@@ -279,4 +281,22 @@ typedef union acpi_aml_operands
} ACPI_AML_OPERANDS;
+/* Internal method parameter list */
+
+typedef struct acpi_parameter_info
+{
+ ACPI_NAMESPACE_NODE *Node;
+ ACPI_OPERAND_OBJECT **Parameters;
+ ACPI_OPERAND_OBJECT *ReturnObject;
+ UINT8 ParameterType;
+ UINT8 ReturnObjectType;
+
+} ACPI_PARAMETER_INFO;
+
+/* Types for ParameterType above */
+
+#define ACPI_PARAM_ARGS 0
+#define ACPI_PARAM_GPE 1
+
+
#endif