Rev 1498 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1498 | Rev 2216 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | 6 | ||
7 | /****************************************************************************** |
7 | /****************************************************************************** |
8 | * |
8 | * |
9 | * 1. Copyright Notice |
9 | * 1. Copyright Notice |
10 | * |
10 | * |
11 | * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp. |
11 | * Some or all of this work - Copyright (c) 1999 - 2011, Intel Corp. |
12 | * All rights reserved. |
12 | * All rights reserved. |
13 | * |
13 | * |
14 | * 2. License |
14 | * 2. License |
15 | * |
15 | * |
Line 157... | Line 157... | ||
157 | ACPI_PARSE_OBJECT *Op, |
157 | ACPI_PARSE_OBJECT *Op, |
158 | ACPI_OPERAND_OBJECT **ObjDescPtr) |
158 | ACPI_OPERAND_OBJECT **ObjDescPtr) |
159 | { |
159 | { |
160 | ACPI_OPERAND_OBJECT *ObjDesc; |
160 | ACPI_OPERAND_OBJECT *ObjDesc; |
161 | ACPI_STATUS Status; |
161 | ACPI_STATUS Status; |
- | 162 | ACPI_OBJECT_TYPE Type; |
|
Line 162... | Line 163... | ||
162 | 163 | ||
Line 239... | Line 240... | ||
239 | if (ACPI_FAILURE (Status)) |
240 | if (ACPI_FAILURE (Status)) |
240 | { |
241 | { |
241 | return_ACPI_STATUS (Status); |
242 | return_ACPI_STATUS (Status); |
242 | } |
243 | } |
Line -... | Line 244... | ||
- | 244 | ||
- | 245 | /* |
|
- | 246 | * Special handling for Alias objects. We need to setup the type |
|
- | 247 | * and the Op->Common.Node to point to the Alias target. Note, |
|
- | 248 | * Alias has at most one level of indirection internally. |
|
243 | 249 | */ |
|
- | 250 | Type = Op->Common.Node->Type; |
|
- | 251 | if (Type == ACPI_TYPE_LOCAL_ALIAS) |
|
- | 252 | { |
|
- | 253 | Type = ObjDesc->Common.Type; |
|
- | 254 | Op->Common.Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, |
|
- | 255 | Op->Common.Node->Object); |
|
- | 256 | } |
|
- | 257 | ||
244 | switch (Op->Common.Node->Type) |
258 | switch (Type) |
245 | { |
259 | { |
246 | /* |
260 | /* |
247 | * For these types, we need the actual node, not the subobject. |
261 | * For these types, we need the actual node, not the subobject. |
248 | * However, the subobject did not get an extra reference count above. |
262 | * However, the subobject did not get an extra reference count above. |