Rev 1498 | Show entire file | Regard 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 178... | Line 178... | ||
178 | ACPI_HANDLE ObjHandle, |
178 | ACPI_HANDLE ObjHandle, |
179 | UINT32 Level, |
179 | UINT32 Level, |
180 | void *Context, |
180 | void *Context, |
181 | void **ReturnValue); |
181 | void **ReturnValue); |
Line 182... | Line -... | ||
182 | - | ||
183 | void |
- | |
184 | LsSetupNsList ( |
- | |
185 | void *Handle); |
- | |
186 | 182 | ||
187 | ACPI_PARSE_OBJECT * |
183 | static ACPI_PARSE_OBJECT * |
188 | LkGetNameOp ( |
184 | LkGetNameOp ( |
Line 189... | Line 185... | ||
189 | ACPI_PARSE_OBJECT *Op); |
185 | ACPI_PARSE_OBJECT *Op); |
Line 621... | Line 617... | ||
621 | * |
617 | * |
622 | * DESCRIPTION: Find the name declaration op associated with the operator |
618 | * DESCRIPTION: Find the name declaration op associated with the operator |
623 | * |
619 | * |
624 | ******************************************************************************/ |
620 | ******************************************************************************/ |
Line 625... | Line 621... | ||
625 | 621 | ||
626 | ACPI_PARSE_OBJECT * |
622 | static ACPI_PARSE_OBJECT * |
627 | LkGetNameOp ( |
623 | LkGetNameOp ( |
628 | ACPI_PARSE_OBJECT *Op) |
624 | ACPI_PARSE_OBJECT *Op) |
629 | { |
625 | { |
630 | const ACPI_OPCODE_INFO *OpInfo; |
626 | const ACPI_OPCODE_INFO *OpInfo; |
Line 1325... | Line 1321... | ||
1325 | * access type is used (BYTE for EC/CMOS, BUFFER for SMBUS) |
1321 | * access type is used (BYTE for EC/CMOS, BUFFER for SMBUS) |
1326 | */ |
1322 | */ |
1327 | SpaceIdOp = OwningOp->Asl.Child->Asl.Next; |
1323 | SpaceIdOp = OwningOp->Asl.Child->Asl.Next; |
1328 | switch ((UINT32) SpaceIdOp->Asl.Value.Integer) |
1324 | switch ((UINT32) SpaceIdOp->Asl.Value.Integer) |
1329 | { |
1325 | { |
1330 | case REGION_EC: |
1326 | case ACPI_ADR_SPACE_EC: |
1331 | case REGION_CMOS: |
1327 | case ACPI_ADR_SPACE_CMOS: |
Line 1332... | Line 1328... | ||
1332 | 1328 | ||
1333 | if ((UINT8) Op->Asl.Parent->Asl.Value.Integer != AML_FIELD_ACCESS_BYTE) |
1329 | if ((UINT8) Op->Asl.Parent->Asl.Value.Integer != AML_FIELD_ACCESS_BYTE) |
1334 | { |
1330 | { |
1335 | AslError (ASL_ERROR, ASL_MSG_REGION_BYTE_ACCESS, Op, NULL); |
1331 | AslError (ASL_ERROR, ASL_MSG_REGION_BYTE_ACCESS, Op, NULL); |
1336 | } |
1332 | } |
Line 1337... | Line 1333... | ||
1337 | break; |
1333 | break; |
1338 | 1334 | ||
Line 1339... | Line 1335... | ||
1339 | case REGION_SMBUS: |
1335 | case ACPI_ADR_SPACE_SMBUS: |
1340 | case REGION_IPMI: |
1336 | case ACPI_ADR_SPACE_IPMI: |
1341 | 1337 | ||
1342 | if ((UINT8) Op->Asl.Parent->Asl.Value.Integer != AML_FIELD_ACCESS_BUFFER) |
1338 | if ((UINT8) Op->Asl.Parent->Asl.Value.Integer != AML_FIELD_ACCESS_BUFFER) |