acstruct.h (27f7c583) | acstruct.h (db2bae30) |
---|---|
1/****************************************************************************** 2 * 3 * Name: acstruct.h - Internal structs | 1/****************************************************************************** 2 * 3 * Name: acstruct.h - Internal structs |
4 * $Revision: 1.44 $ | 4 * $Revision: 1.50 $ |
5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * | 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * |
12 * Some or all of this work - Copyright (c) 1999 - 2006, Intel Corp. | 12 * Some or all of this work - Copyright (c) 1999 - 2008, Intel Corp. |
13 * All rights reserved. 14 * 15 * 2. License 16 * 17 * 2.1. This is your license from Intel Corp. under its intellectual property 18 * rights. You may have additional license terms from the party that provided 19 * you this software, covering your right to use that party's intellectual 20 * property rights. --- 130 unchanged lines hidden (view full) --- 151typedef struct acpi_walk_state 152{ 153 struct acpi_walk_state *Next; /* Next WalkState in list */ 154 UINT8 DescriptorType; /* To differentiate various internal objs */ 155 UINT8 WalkType; 156 UINT16 Opcode; /* Current AML opcode */ 157 UINT8 NextOpInfo; /* Info about NextOp */ 158 UINT8 NumOperands; /* Stack pointer for Operands[] array */ | 13 * All rights reserved. 14 * 15 * 2. License 16 * 17 * 2.1. This is your license from Intel Corp. under its intellectual property 18 * rights. You may have additional license terms from the party that provided 19 * you this software, covering your right to use that party's intellectual 20 * property rights. --- 130 unchanged lines hidden (view full) --- 151typedef struct acpi_walk_state 152{ 153 struct acpi_walk_state *Next; /* Next WalkState in list */ 154 UINT8 DescriptorType; /* To differentiate various internal objs */ 155 UINT8 WalkType; 156 UINT16 Opcode; /* Current AML opcode */ 157 UINT8 NextOpInfo; /* Info about NextOp */ 158 UINT8 NumOperands; /* Stack pointer for Operands[] array */ |
159 UINT8 OperandIndex; /* Index into operand stack, to be used by AcpiDsObjStackPush */ |
|
159 ACPI_OWNER_ID OwnerId; /* Owner of objects created during the walk */ 160 BOOLEAN LastPredicate; /* Result of last predicate */ 161 UINT8 CurrentResult; 162 UINT8 ReturnUsed; 163 UINT8 ScopeDepth; 164 UINT8 PassNumber; /* Parse pass during table load */ | 160 ACPI_OWNER_ID OwnerId; /* Owner of objects created during the walk */ 161 BOOLEAN LastPredicate; /* Result of last predicate */ 162 UINT8 CurrentResult; 163 UINT8 ReturnUsed; 164 UINT8 ScopeDepth; 165 UINT8 PassNumber; /* Parse pass during table load */ |
166 UINT8 ResultSize; /* Total elements for the result stack */ 167 UINT8 ResultCount; /* Current number of occupied elements of result stack */ |
|
165 UINT32 AmlOffset; 166 UINT32 ArgTypes; 167 UINT32 MethodBreakpoint; /* For single stepping */ 168 UINT32 UserBreakpoint; /* User AML breakpoint */ 169 UINT32 ParseFlags; 170 171 ACPI_PARSE_STATE ParserState; /* Current state of parser */ 172 UINT32 PrevArgTypes; 173 UINT32 ArgCount; /* push for fixed or var args */ 174 175 struct acpi_namespace_node Arguments[ACPI_METHOD_NUM_ARGS]; /* Control method arguments */ 176 struct acpi_namespace_node LocalVariables[ACPI_METHOD_NUM_LOCALS]; /* Control method locals */ 177 union acpi_operand_object *Operands[ACPI_OBJ_NUM_OPERANDS + 1]; /* Operands passed to the interpreter (+1 for NULL terminator) */ 178 union acpi_operand_object **Params; 179 180 UINT8 *AmlLastWhile; 181 union acpi_operand_object **CallerReturnDesc; 182 ACPI_GENERIC_STATE *ControlState; /* List of control states (nested IFs) */ 183 struct acpi_namespace_node *DeferredNode; /* Used when executing deferred opcodes */ | 168 UINT32 AmlOffset; 169 UINT32 ArgTypes; 170 UINT32 MethodBreakpoint; /* For single stepping */ 171 UINT32 UserBreakpoint; /* User AML breakpoint */ 172 UINT32 ParseFlags; 173 174 ACPI_PARSE_STATE ParserState; /* Current state of parser */ 175 UINT32 PrevArgTypes; 176 UINT32 ArgCount; /* push for fixed or var args */ 177 178 struct acpi_namespace_node Arguments[ACPI_METHOD_NUM_ARGS]; /* Control method arguments */ 179 struct acpi_namespace_node LocalVariables[ACPI_METHOD_NUM_LOCALS]; /* Control method locals */ 180 union acpi_operand_object *Operands[ACPI_OBJ_NUM_OPERANDS + 1]; /* Operands passed to the interpreter (+1 for NULL terminator) */ 181 union acpi_operand_object **Params; 182 183 UINT8 *AmlLastWhile; 184 union acpi_operand_object **CallerReturnDesc; 185 ACPI_GENERIC_STATE *ControlState; /* List of control states (nested IFs) */ 186 struct acpi_namespace_node *DeferredNode; /* Used when executing deferred opcodes */ |
184 struct acpi_gpe_event_info *GpeEventInfo; /* Info for GPE (_Lxx/_Exx methods only */ | |
185 union acpi_operand_object *ImplicitReturnObj; 186 struct acpi_namespace_node *MethodCallNode; /* Called method Node*/ 187 ACPI_PARSE_OBJECT *MethodCallOp; /* MethodCall Op if running a method */ 188 union acpi_operand_object *MethodDesc; /* Method descriptor if running a method */ 189 struct acpi_namespace_node *MethodNode; /* Method node if running a method. */ 190 ACPI_PARSE_OBJECT *Op; /* Current parser op */ 191 const ACPI_OPCODE_INFO *OpInfo; /* Info on current opcode */ 192 ACPI_PARSE_OBJECT *Origin; /* Start of walk [Obsolete] */ --- 20 unchanged lines hidden (view full) --- 213 UINT16 FieldCount; 214 UINT16 BufferCount; 215 UINT16 PackageCount; 216 UINT16 OpRegionInit; 217 UINT16 FieldInit; 218 UINT16 BufferInit; 219 UINT16 PackageInit; 220 UINT16 ObjectCount; | 187 union acpi_operand_object *ImplicitReturnObj; 188 struct acpi_namespace_node *MethodCallNode; /* Called method Node*/ 189 ACPI_PARSE_OBJECT *MethodCallOp; /* MethodCall Op if running a method */ 190 union acpi_operand_object *MethodDesc; /* Method descriptor if running a method */ 191 struct acpi_namespace_node *MethodNode; /* Method node if running a method. */ 192 ACPI_PARSE_OBJECT *Op; /* Current parser op */ 193 const ACPI_OPCODE_INFO *OpInfo; /* Info on current opcode */ 194 ACPI_PARSE_OBJECT *Origin; /* Start of walk [Obsolete] */ --- 20 unchanged lines hidden (view full) --- 215 UINT16 FieldCount; 216 UINT16 BufferCount; 217 UINT16 PackageCount; 218 UINT16 OpRegionInit; 219 UINT16 FieldInit; 220 UINT16 BufferInit; 221 UINT16 PackageInit; 222 UINT16 ObjectCount; |
221 ACPI_TABLE_DESC *TableDesc; | 223 ACPI_OWNER_ID OwnerId; 224 UINT32 TableIndex; |
222 223} ACPI_INIT_WALK_INFO; 224 225 226typedef struct acpi_get_devices_info 227{ 228 ACPI_WALK_CALLBACK UserFunction; 229 void *Context; --- 41 unchanged lines hidden (view full) --- 271typedef struct acpi_evaluate_info 272{ 273 ACPI_NAMESPACE_NODE *PrefixNode; 274 char *Pathname; 275 ACPI_OPERAND_OBJECT *ObjDesc; 276 ACPI_OPERAND_OBJECT **Parameters; 277 ACPI_NAMESPACE_NODE *ResolvedNode; 278 ACPI_OPERAND_OBJECT *ReturnObject; | 225 226} ACPI_INIT_WALK_INFO; 227 228 229typedef struct acpi_get_devices_info 230{ 231 ACPI_WALK_CALLBACK UserFunction; 232 void *Context; --- 41 unchanged lines hidden (view full) --- 274typedef struct acpi_evaluate_info 275{ 276 ACPI_NAMESPACE_NODE *PrefixNode; 277 char *Pathname; 278 ACPI_OPERAND_OBJECT *ObjDesc; 279 ACPI_OPERAND_OBJECT **Parameters; 280 ACPI_NAMESPACE_NODE *ResolvedNode; 281 ACPI_OPERAND_OBJECT *ReturnObject; |
282 UINT8 ParamCount; |
|
279 UINT8 PassNumber; | 283 UINT8 PassNumber; |
280 UINT8 ParameterType; | |
281 UINT8 ReturnObjectType; 282 UINT8 Flags; 283 284} ACPI_EVALUATE_INFO; 285 | 284 UINT8 ReturnObjectType; 285 UINT8 Flags; 286 287} ACPI_EVALUATE_INFO; 288 |
286/* Types for ParameterType above */ 287 288#define ACPI_PARAM_ARGS 0 289#define ACPI_PARAM_GPE 1 290 | |
291/* Values for Flags above */ 292 293#define ACPI_IGNORE_RETURN_VALUE 1 294 295 296/* Info used by AcpiNsInitializeDevices */ 297 298typedef struct acpi_device_walk_info --- 31 unchanged lines hidden --- | 289/* Values for Flags above */ 290 291#define ACPI_IGNORE_RETURN_VALUE 1 292 293 294/* Info used by AcpiNsInitializeDevices */ 295 296typedef struct acpi_device_walk_info --- 31 unchanged lines hidden --- |