Rev 1498 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1498 | Rev 2216 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | 7 | ||
8 | /****************************************************************************** |
8 | /****************************************************************************** |
9 | * |
9 | * |
10 | * 1. Copyright Notice |
10 | * 1. Copyright Notice |
11 | * |
11 | * |
12 | * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp. |
12 | * Some or all of this work - Copyright (c) 1999 - 2011, Intel Corp. |
13 | * All rights reserved. |
13 | * All rights reserved. |
14 | * |
14 | * |
15 | * 2. License |
15 | * 2. License |
16 | * |
16 | * |
Line 398... | Line 398... | ||
398 | /* |
398 | /* |
399 | * Found a named object declaration during method execution; |
399 | * Found a named object declaration during method execution; |
400 | * we must enter this object into the namespace. The created |
400 | * we must enter this object into the namespace. The created |
401 | * object is temporary and will be deleted upon completion of |
401 | * object is temporary and will be deleted upon completion of |
402 | * the execution of this method. |
402 | * the execution of this method. |
- | 403 | * |
|
- | 404 | * Note 10/2010: Except for the Scope() op. This opcode does |
|
- | 405 | * not actually create a new object, it refers to an existing |
|
- | 406 | * object. However, for Scope(), we want to indeed open a |
|
- | 407 | * new scope. |
|
403 | */ |
408 | */ |
- | 409 | if (Op->Common.AmlOpcode != AML_SCOPE_OP) |
|
- | 410 | { |
|
404 | Status = AcpiDsLoad2BeginOp (WalkState, NULL); |
411 | Status = AcpiDsLoad2BeginOp (WalkState, NULL); |
405 | } |
412 | } |
- | 413 | else |
|
- | 414 | { |
|
- | 415 | Status = AcpiDsScopeStackPush (Op->Named.Node, |
|
- | 416 | Op->Named.Node->Type, WalkState); |
|
- | 417 | if (ACPI_FAILURE (Status)) |
|
- | 418 | { |
|
- | 419 | return_ACPI_STATUS (Status); |
|
- | 420 | } |
|
- | 421 | } |
|
406 | 422 | } |
|
407 | break; |
423 | break; |
Line 408... | Line 424... | ||
408 | 424 | ||
409 | 425 |