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 723... | Line 723... | ||
723 | UINT32 MaxDepth, |
723 | UINT32 MaxDepth, |
724 | ACPI_OWNER_ID OwnerId, |
724 | ACPI_OWNER_ID OwnerId, |
725 | ACPI_HANDLE StartHandle) |
725 | ACPI_HANDLE StartHandle) |
726 | { |
726 | { |
727 | ACPI_WALK_INFO Info; |
727 | ACPI_WALK_INFO Info; |
- | 728 | ACPI_STATUS Status; |
|
Line 728... | Line 729... | ||
728 | 729 | ||
Line -... | Line 730... | ||
- | 730 | ||
- | 731 | ACPI_FUNCTION_ENTRY (); |
|
- | 732 | ||
- | 733 | ||
- | 734 | /* |
|
- | 735 | * Just lock the entire namespace for the duration of the dump. |
|
- | 736 | * We don't want any changes to the namespace during this time, |
|
- | 737 | * especially the temporary nodes since we are going to display |
|
- | 738 | * them also. |
|
- | 739 | */ |
|
- | 740 | Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); |
|
- | 741 | if (ACPI_FAILURE (Status)) |
|
- | 742 | { |
|
729 | 743 | AcpiOsPrintf ("Could not acquire namespace mutex\n"); |
|
730 | ACPI_FUNCTION_ENTRY (); |
744 | return; |
731 | 745 | } |
|
Line 732... | Line 746... | ||
732 | 746 | ||
733 | Info.DebugLevel = ACPI_LV_TABLES; |
747 | Info.DebugLevel = ACPI_LV_TABLES; |
734 | Info.OwnerId = OwnerId; |
748 | Info.OwnerId = OwnerId; |
- | 749 | Info.DisplayType = DisplayType; |
|
- | 750 | ||
735 | Info.DisplayType = DisplayType; |
751 | (void) AcpiNsWalkNamespace (Type, StartHandle, MaxDepth, |
Line 736... | Line 752... | ||
736 | 752 | ACPI_NS_WALK_NO_UNLOCK | ACPI_NS_WALK_TEMP_NODES, |
|
737 | (void) AcpiNsWalkNamespace (Type, StartHandle, MaxDepth, |
753 | AcpiNsDumpOneObject, NULL, (void *) &Info, NULL); |