Deleted Added
full compact
acstruct.h (85756) acstruct.h (87031)
1/******************************************************************************
2 *
3 * Name: acstruct.h - Internal structs
1/******************************************************************************
2 *
3 * Name: acstruct.h - Internal structs
4 * $Revision: 10 $
4 * $Revision: 12 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.

--- 107 unchanged lines hidden (view full) ---

120
121/*****************************************************************************
122 *
123 * Tree walking typedefs and structs
124 *
125 ****************************************************************************/
126
127
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.

--- 107 unchanged lines hidden (view full) ---

120
121/*****************************************************************************
122 *
123 * Tree walking typedefs and structs
124 *
125 ****************************************************************************/
126
127
128
128/*
129 * Walk state - current state of a parse tree walk. Used for both a leisurely stroll through
130 * the tree (for whatever reason), and for control method execution.
131 */
132
133#define NEXT_OP_DOWNWARD 1
134#define NEXT_OP_UPWARD 2
135

--- 6 unchanged lines hidden (view full) ---

142 UINT8 DataType; /* To differentiate various internal objs MUST BE FIRST!*/\
143 ACPI_OWNER_ID OwnerId; /* Owner of objects created during the walk */
144 BOOLEAN LastPredicate; /* Result of last predicate */
145 UINT8 CurrentResult; /* */
146 UINT8 NextOpInfo; /* Info about NextOp */
147 UINT8 NumOperands; /* Stack pointer for Operands[] array */
148 UINT8 ReturnUsed;
149 UINT8 WalkType;
129/*
130 * Walk state - current state of a parse tree walk. Used for both a leisurely stroll through
131 * the tree (for whatever reason), and for control method execution.
132 */
133
134#define NEXT_OP_DOWNWARD 1
135#define NEXT_OP_UPWARD 2
136

--- 6 unchanged lines hidden (view full) ---

143 UINT8 DataType; /* To differentiate various internal objs MUST BE FIRST!*/\
144 ACPI_OWNER_ID OwnerId; /* Owner of objects created during the walk */
145 BOOLEAN LastPredicate; /* Result of last predicate */
146 UINT8 CurrentResult; /* */
147 UINT8 NextOpInfo; /* Info about NextOp */
148 UINT8 NumOperands; /* Stack pointer for Operands[] array */
149 UINT8 ReturnUsed;
150 UINT8 WalkType;
150 UINT16 CurrentSyncLevel; /* Mutex Sync (nested acquire) level */
151 UINT16 Opcode; /* Current AML opcode */
152 UINT32 ArgCount; /* push for fixed or var args */
153 UINT32 AmlOffset;
154 UINT32 ArgTypes;
155 UINT32 MethodBreakpoint; /* For single stepping */
156 UINT32 ParseFlags;
157 UINT32 PrevArgTypes;
158

--- 20 unchanged lines hidden (view full) ---

179
180/* TBD: Obsolete with removal of WALK procedure ? */
181 ACPI_PARSE_OBJECT *PrevOp; /* Last op that was processed */
182 ACPI_PARSE_OBJECT *NextOp; /* next op to be processed */
183
184
185 ACPI_PARSE_DOWNWARDS DescendingCallback;
186 ACPI_PARSE_UPWARDS AscendingCallback;
151 UINT16 Opcode; /* Current AML opcode */
152 UINT32 ArgCount; /* push for fixed or var args */
153 UINT32 AmlOffset;
154 UINT32 ArgTypes;
155 UINT32 MethodBreakpoint; /* For single stepping */
156 UINT32 ParseFlags;
157 UINT32 PrevArgTypes;
158

--- 20 unchanged lines hidden (view full) ---

179
180/* TBD: Obsolete with removal of WALK procedure ? */
181 ACPI_PARSE_OBJECT *PrevOp; /* Last op that was processed */
182 ACPI_PARSE_OBJECT *NextOp; /* next op to be processed */
183
184
185 ACPI_PARSE_DOWNWARDS DescendingCallback;
186 ACPI_PARSE_UPWARDS AscendingCallback;
187 struct acpi_walk_list *WalkList;
187 ACPI_THREAD_STATE *Thread;
188 struct acpi_walk_state *Next; /* Next WalkState in list */
189
190
188 struct acpi_walk_state *Next; /* Next WalkState in list */
189
190
191
192} ACPI_WALK_STATE;
193
194
191} ACPI_WALK_STATE;
192
193
195/*
196 * Walk list - head of a tree of walk states. Multiple walk states are created when there
197 * are nested control methods executing.
198 */
199typedef struct acpi_walk_list
200{
201
194
202 ACPI_WALK_STATE *WalkState;
203 ACPI_OBJECT_MUTEX AcquiredMutexList; /* List of all currently acquired mutexes */
204
205} ACPI_WALK_LIST;
206
207
208/* Info used by AcpiPsInitObjects */
209
210typedef struct acpi_init_walk_info
211{
212 UINT16 MethodCount;
213 UINT16 OpRegionCount;
214 UINT16 FieldCount;
215 UINT16 OpRegionInit;

--- 35 unchanged lines hidden (view full) ---

251{
252 ACPI_WALK_CALLBACK UserFunction;
253 void *Context;
254 NATIVE_CHAR *Hid;
255
256} ACPI_GET_DEVICES_INFO;
257
258
195/* Info used by AcpiPsInitObjects */
196
197typedef struct acpi_init_walk_info
198{
199 UINT16 MethodCount;
200 UINT16 OpRegionCount;
201 UINT16 FieldCount;
202 UINT16 OpRegionInit;

--- 35 unchanged lines hidden (view full) ---

238{
239 ACPI_WALK_CALLBACK UserFunction;
240 void *Context;
241 NATIVE_CHAR *Hid;
242
243} ACPI_GET_DEVICES_INFO;
244
245
259
260
261typedef union acpi_aml_operands
262{
263 ACPI_OPERAND_OBJECT *Operands[7];
264
265 struct
266 {
267 ACPI_OBJECT_INTEGER *Type;
268 ACPI_OBJECT_INTEGER *Code;

--- 16 unchanged lines hidden (view full) ---

285 ACPI_OBJECT_INTEGER *Length;
286 ACPI_OPERAND_OBJECT *Target;
287
288 } Mid;
289
290} ACPI_AML_OPERANDS;
291
292
246typedef union acpi_aml_operands
247{
248 ACPI_OPERAND_OBJECT *Operands[7];
249
250 struct
251 {
252 ACPI_OBJECT_INTEGER *Type;
253 ACPI_OBJECT_INTEGER *Code;

--- 16 unchanged lines hidden (view full) ---

270 ACPI_OBJECT_INTEGER *Length;
271 ACPI_OPERAND_OBJECT *Target;
272
273 } Mid;
274
275} ACPI_AML_OPERANDS;
276
277
293
294#endif
278#endif