147{
154
155
157
158
161
162
163
164 if (Op)
165 {
167 {
168 *OutOp = Op;
170 }
171
172
173
175 {
176 *OutOp = Op;
178 }
179 }
180
182
183
184
186
188 "State=%p Op=%p [%s]\n", WalkState, Op,
190
191 switch (WalkState->
Opcode)
192 {
194
195
196
197
198
201#ifdef ACPI_ASL_COMPILER
203 {
204
205
206
207
208
213 }
214#endif
216 {
219 }
220
221
222
223
224
226 {
233
234
235 break;
236
240
241
242
243
244
245
246
247
248
249
251 "Type override - [%4.4s] had invalid type (%s) "
252 "for Scope operator, changed to type ANY\n",
254
257 break;
258
260
261
262
263
264 if ((
Node == AcpiGbl_RootNode) &&
266 {
267 break;
268 }
269
271
272 default:
273
274
275
277 "Invalid type (%s) for target of "
278 "Scope operator [%4.4s] (Cannot override)",
280
282 }
283 break;
284
285 default:
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
303 {
304
305
308 break;
309 }
310
311
312
313
314
316 {
319 break;
320 }
321
325 {
327 {
331 }
332 else
333 {
337 }
338 }
339 else
340 {
342 "[%s] Both Find or Create allowed\n",
344 }
345
346
347
348
349
350
351
355 {
357 {
358
359
361 {
362
363
364
365
366 Node->Flags &= ~ANOBJ_IS_EXTERNAL;
368
369
370
372 {
376 {
378 }
379 }
380
382 }
383 }
384
386 {
389 }
390 }
391 break;
392 }
393
394
395
396 if (!Op)
397 {
398
399
401 if (!Op)
402 {
404 }
405 }
406
407
408
409#ifdef ACPI_CONSTANT_EVAL_ONLY
411#endif
412
414 {
415
416
417
418
421 }
422
424 *OutOp = Op;
426}
PRTL_UNICODE_STRING_BUFFER Path
void AcpiDmAddOpToExternalList(ACPI_PARSE_OBJECT *Op, char *Path, UINT8 Type, UINT32 Value, UINT16 Flags)
#define AE_ALREADY_EXISTS
#define AE_AML_OPERAND_TYPE
#define ANOBJ_IS_EXTERNAL
#define ACPI_ERROR_NAMESPACE(s, p, e)
ACPI_STATUS AcpiNsLookup(ACPI_GENERIC_STATE *ScopeInfo, char *Name, ACPI_OBJECT_TYPE Type, ACPI_INTERPRETER_MODE InterpreterMode, UINT32 Flags, ACPI_WALK_STATE *WalkState, ACPI_NAMESPACE_NODE **RetNode)
#define ACPI_NS_OVERRIDE_IF_FOUND
#define ACPI_NS_NO_UPSEARCH
#define ACPI_NS_ERROR_IF_FOUND
#define ACPI_NS_SEARCH_PARENT
UINT32 AcpiNsOpensScope(ACPI_OBJECT_TYPE Type)
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_FUNCTION_TRACE_PTR(a, b)
#define return_ACPI_STATUS(s)
#define ACPI_ERROR(plist)
#define ACPI_PARSE_DEFERRED_OP
char * AcpiPsGetNextNamestring(ACPI_PARSE_STATE *ParserState)
void AcpiPsAppendArg(ACPI_PARSE_OBJECT *op, ACPI_PARSE_OBJECT *arg)
#define ACPI_PARSE_MODULE_LEVEL
ACPI_PARSE_OBJECT * AcpiPsGetParentScope(ACPI_PARSE_STATE *state)
ACPI_PARSE_OBJECT * AcpiPsAllocOp(UINT16 Opcode, UINT8 *Aml)
#define ACPI_TYPE_PROCESSOR
#define ACPI_TYPE_INTEGER
#define ACPI_TYPE_LOCAL_SCOPE
#define ACPI_TYPE_THERMAL
const char * AcpiUtGetTypeName(ACPI_OBJECT_TYPE Type)
const char * AcpiUtGetNodeName(void *Object)
ACPI_STATUS AcpiDsScopeStackPush(ACPI_NAMESPACE_NODE *Node, ACPI_OBJECT_TYPE Type, ACPI_WALK_STATE *WalkState)
ACPI_PARSE_COMMON char * Path
struct acpi_namespace_node * MethodNode
ACPI_GENERIC_STATE * ScopeInfo
const ACPI_OPCODE_INFO * OpInfo
struct acpi_namespace_node * DeferredNode
BOOLEAN NamespaceOverride
ACPI_PARSE_STATE ParserState
ACPI_PARSE_OBJ_NAMED Named
ACPI_PARSE_OBJ_COMMON Common
_Must_inspect_result_ _In_ ULONG Flags