261{
267
268
270
271
273 {
275 }
276
279
280#ifndef ACPI_CONSTANT_EVAL_ONLY
281
283 {
284
285
287 {
288
289
290
291
298 {
299
300
301
302
306 {
308 {
310 "Invoked method did not return a value"));
311 }
312
315 }
316
318 }
319
323 }
324 else if (WalkState->
PrevOp)
325 {
326
327
330 }
331 }
332#endif
333
334
335
336 while ((ParserState->
Aml < ParserState->
AmlEnd) || (Op))
337 {
339
340 AmlOpStart = ParserState->
Aml;
341 if (!Op)
342 {
345 {
346
347
348
349
350
351
352
355 {
357 }
359 {
360 continue;
361 }
362
364 {
366 }
367
369 {
371 }
372
375 {
377 }
380 {
381
382
383
384
385
386 ACPI_INFO ((
"Skipping parse of AML opcode: %s (0x%4.4X)",
388
389
390
391
392
393 OpcodeLength = 1;
395 {
396 OpcodeLength = 2;
397 }
399
403 }
404
405 continue;
406 }
407
409 }
410
411
412
413
414
416
417 switch (Op->
Common.AmlOpcode)
418 {
423
424 break;
425
426 default:
427
429 break;
430 }
431
432
433
435 {
436
437
440 {
443 {
445 }
449 {
450
451
452
453
458 WalkState->
Aml = ParserState->
Aml;
459
462 {
467 WalkState->
Aml = ParserState->
Aml;
468 }
470 }
472 continue;
473 }
474 }
475
476
477
479 "Parseloop: argument count: %8.8X\n", WalkState->
ArgCount));
480
482 {
483
484
485
486
490 {
493 {
495 }
496
497 continue;
498 }
499
501 continue;
502 }
503
504
505
506
507
510 {
513 {
514
515
516
517
518
519
520
521
523 }
524 }
525
527 {
528
529
530
531
532
533
535 }
536
538 {
539
540
541
542
543
545 }
546
547
548
550 {
553
557 {
559 }
563 {
564
565
566
567
568
569
570
571
572
573
575 }
576 }
577
580 {
582 }
583
584 }
585
588}
#define ACPI_AML_EXCEPTION(Status)
#define AE_ALREADY_EXISTS
#define AE_CTRL_TERMINATE
#define AE_CTRL_PARSE_PENDING
#define ACPI_CNTL_EXCEPTION(Status)
#define AE_CTRL_PARSE_CONTINUE
#define AE_AML_NO_RETURN_VALUE
#define ACPI_CONTROL_PREDICATE_EXECUTING
UINT32 AcpiNsOpensScope(ACPI_OBJECT_TYPE Type)
#define ACPI_EXCEPTION(plist)
#define ACPI_ERROR(plist)
const char * AcpiPsGetOpcodeName(UINT16 Opcode)
ACPI_STATUS AcpiPsCompleteOp(ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT **Op, ACPI_STATUS Status)
ACPI_STATUS AcpiPsCreateOp(ACPI_WALK_STATE *WalkState, UINT8 *AmlOpStart, ACPI_PARSE_OBJECT **NewOp)
ACPI_STATUS AcpiPsNextParseState(ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op, ACPI_STATUS CallbackStatus)
ACPI_STATUS AcpiPsPushScope(ACPI_PARSE_STATE *ParserState, ACPI_PARSE_OBJECT *Op, UINT32 RemainingArgs, UINT32 ArgCount)
void AcpiPsPopScope(ACPI_PARSE_STATE *ParserState, ACPI_PARSE_OBJECT **Op, UINT32 *ArgList, UINT32 *ArgCount)
#define ACPI_PARSE_MODULE_LEVEL
const ACPI_OPCODE_INFO * AcpiPsGetOpcodeInfo(UINT16 Opcode)
BOOLEAN AcpiPsHasCompletedScope(ACPI_PARSE_STATE *ParserState)
UINT8 * AcpiPsGetNextPackageEnd(ACPI_PARSE_STATE *ParserState)
ACPI_STATUS AcpiPsCompleteFinalOp(ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op, ACPI_STATUS Status)
#define ACPI_WALK_METHOD_RESTART
#define ACPI_TO_POINTER(i)
ACPI_GENERIC_STATE * AcpiUtPopGenericState(ACPI_GENERIC_STATE **ListHead)
#define AML_BANK_FIELD_OP
#define AML_DATA_REGION_OP
#define AML_EXTENDED_OPCODE
ACPI_STATUS AcpiDsGetPredicateValue(ACPI_WALK_STATE *WalkState, ACPI_OPERAND_OBJECT *ResultObj)
static ACPI_STATUS AcpiPsGetArguments(ACPI_WALK_STATE *WalkState, UINT8 *AmlOpStart, ACPI_PARSE_OBJECT *Op)
UINT8 * AmlPredicateStart
ACPI_STATE_COMMON UINT16 Opcode
union acpi_generic_state * Scope
union acpi_parse_object * Op
ACPI_PARSE_DOWNWARDS DescendingCallback
ACPI_PARSE_OBJECT * PrevOp
const ACPI_OPCODE_INFO * OpInfo
ACPI_PARSE_UPWARDS AscendingCallback
ACPI_PSCOPE_STATE ParseScope