nsaccess.c (127175) | nsaccess.c (128212) |
---|---|
1/******************************************************************************* 2 * 3 * Module Name: nsaccess - Top-level functions for accessing ACPI namespace | 1/******************************************************************************* 2 * 3 * Module Name: nsaccess - Top-level functions for accessing ACPI namespace |
4 * $Revision: 179 $ | 4 * $Revision: 180 $ |
5 * 6 ******************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. --- 317 unchanged lines hidden (view full) --- 330 331 AcpiUtRemoveReference (ObjDesc); 332 } 333 } 334 335 336UnlockAndExit: 337 (void) AcpiUtReleaseMutex (ACPI_MTX_NAMESPACE); | 5 * 6 ******************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. --- 317 unchanged lines hidden (view full) --- 330 331 AcpiUtRemoveReference (ObjDesc); 332 } 333 } 334 335 336UnlockAndExit: 337 (void) AcpiUtReleaseMutex (ACPI_MTX_NAMESPACE); |
338 339 /* Save a handle to "_GPE", it is always present */ 340 341 if (ACPI_SUCCESS (Status)) 342 { 343 Status = AcpiNsGetNodeByPath ("\\_GPE", NULL, ACPI_NS_NO_UPSEARCH, 344 &AcpiGbl_FadtGpeDevice); 345 } 346 |
|
338 return_ACPI_STATUS (Status); 339} 340 341 342/******************************************************************************* 343 * 344 * FUNCTION: AcpiNsLookup 345 * --- 334 unchanged lines hidden (view full) --- 680 * 5) And the type of target object is known (not TYPE_ANY) 681 * 6) And target object does not match what we are looking for 682 * 683 * Then we have a type mismatch. Just warn and ignore it. 684 */ 685 if ((NumSegments == 0) && 686 (TypeToCheckFor != ACPI_TYPE_ANY) && 687 (TypeToCheckFor != ACPI_TYPE_LOCAL_ALIAS) && | 347 return_ACPI_STATUS (Status); 348} 349 350 351/******************************************************************************* 352 * 353 * FUNCTION: AcpiNsLookup 354 * --- 334 unchanged lines hidden (view full) --- 689 * 5) And the type of target object is known (not TYPE_ANY) 690 * 6) And target object does not match what we are looking for 691 * 692 * Then we have a type mismatch. Just warn and ignore it. 693 */ 694 if ((NumSegments == 0) && 695 (TypeToCheckFor != ACPI_TYPE_ANY) && 696 (TypeToCheckFor != ACPI_TYPE_LOCAL_ALIAS) && |
697 (TypeToCheckFor != ACPI_TYPE_LOCAL_METHOD_ALIAS) && |
|
688 (TypeToCheckFor != ACPI_TYPE_LOCAL_SCOPE) && 689 (ThisNode->Type != ACPI_TYPE_ANY) && 690 (ThisNode->Type != TypeToCheckFor)) 691 { 692 /* Complain about a type mismatch */ 693 694 ACPI_REPORT_WARNING ( 695 ("NsLookup: Type mismatch on %4.4s (%s), searching for (%s)\n", --- 43 unchanged lines hidden --- | 698 (TypeToCheckFor != ACPI_TYPE_LOCAL_SCOPE) && 699 (ThisNode->Type != ACPI_TYPE_ANY) && 700 (ThisNode->Type != TypeToCheckFor)) 701 { 702 /* Complain about a type mismatch */ 703 704 ACPI_REPORT_WARNING ( 705 ("NsLookup: Type mismatch on %4.4s (%s), searching for (%s)\n", --- 43 unchanged lines hidden --- |