nsdump.c (151600) | nsdump.c (151937) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: nsdump - table dumping routines for debug | 1/****************************************************************************** 2 * 3 * Module Name: nsdump - table dumping routines for debug |
4 * $Revision: 160 $ | 4 * $Revision: 1.172 $ |
5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * | 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * |
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. | 12 * Some or all of this work - Copyright (c) 1999 - 2005, Intel Corp. |
13 * All rights reserved. 14 * 15 * 2. License 16 * 17 * 2.1. This is your license from Intel Corp. under its intellectual property 18 * rights. You may have additional license terms from the party that provided 19 * you this software, covering your right to use that party's intellectual 20 * property rights. --- 99 unchanged lines hidden (view full) --- 120#include <contrib/dev/acpica/acpi.h> 121#include <contrib/dev/acpica/acnamesp.h> 122#include <contrib/dev/acpica/acparser.h> 123 124 125#define _COMPONENT ACPI_NAMESPACE 126 ACPI_MODULE_NAME ("nsdump") 127 | 13 * All rights reserved. 14 * 15 * 2. License 16 * 17 * 2.1. This is your license from Intel Corp. under its intellectual property 18 * rights. You may have additional license terms from the party that provided 19 * you this software, covering your right to use that party's intellectual 20 * property rights. --- 99 unchanged lines hidden (view full) --- 120#include <contrib/dev/acpica/acpi.h> 121#include <contrib/dev/acpica/acnamesp.h> 122#include <contrib/dev/acpica/acparser.h> 123 124 125#define _COMPONENT ACPI_NAMESPACE 126 ACPI_MODULE_NAME ("nsdump") 127 |
128/* Local prototypes */ |
|
128 | 129 |
129#if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER) | 130#ifdef ACPI_OBSOLETE_FUNCTIONS 131void 132AcpiNsDumpRootDevices ( 133 void); |
130 | 134 |
135static ACPI_STATUS 136AcpiNsDumpOneDevice ( 137 ACPI_HANDLE ObjHandle, 138 UINT32 Level, 139 void *Context, 140 void **ReturnValue); 141#endif 142 143 144#if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER) |
|
131/******************************************************************************* 132 * 133 * FUNCTION: AcpiNsPrintPathname 134 * | 145/******************************************************************************* 146 * 147 * FUNCTION: AcpiNsPrintPathname 148 * |
135 * PARAMETERS: NumSegment - Number of ACPI name segments | 149 * PARAMETERS: NumSegments - Number of ACPI name segments |
136 * Pathname - The compressed (internal) path 137 * | 150 * Pathname - The compressed (internal) path 151 * |
152 * RETURN: None 153 * |
|
138 * DESCRIPTION: Print an object's full namespace pathname 139 * 140 ******************************************************************************/ 141 142void 143AcpiNsPrintPathname ( 144 UINT32 NumSegments, 145 char *Pathname) 146{ | 154 * DESCRIPTION: Print an object's full namespace pathname 155 * 156 ******************************************************************************/ 157 158void 159AcpiNsPrintPathname ( 160 UINT32 NumSegments, 161 char *Pathname) 162{ |
163 ACPI_NATIVE_UINT i; 164 165 |
|
147 ACPI_FUNCTION_NAME ("NsPrintPathname"); 148 149 150 if (!(AcpiDbgLevel & ACPI_LV_NAMES) || !(AcpiDbgLayer & ACPI_NAMESPACE)) 151 { 152 return; 153 } 154 155 /* Print the entire name */ 156 157 ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, "[")); 158 159 while (NumSegments) 160 { | 166 ACPI_FUNCTION_NAME ("NsPrintPathname"); 167 168 169 if (!(AcpiDbgLevel & ACPI_LV_NAMES) || !(AcpiDbgLayer & ACPI_NAMESPACE)) 170 { 171 return; 172 } 173 174 /* Print the entire name */ 175 176 ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, "[")); 177 178 while (NumSegments) 179 { |
161 AcpiOsPrintf ("%4.4s", Pathname); 162 Pathname += ACPI_NAME_SIZE; | 180 for (i = 0; i < 4; i++) 181 { 182 ACPI_IS_PRINT (Pathname[i]) ? 183 AcpiOsPrintf ("%c", Pathname[i]) : 184 AcpiOsPrintf ("?"); 185 } |
163 | 186 |
187 Pathname += ACPI_NAME_SIZE; |
|
164 NumSegments--; 165 if (NumSegments) 166 { 167 AcpiOsPrintf ("."); 168 } 169 } 170 171 AcpiOsPrintf ("]\n"); --- 4 unchanged lines hidden (view full) --- 176 * 177 * FUNCTION: AcpiNsDumpPathname 178 * 179 * PARAMETERS: Handle - Object 180 * Msg - Prefix message 181 * Level - Desired debug level 182 * Component - Caller's component ID 183 * | 188 NumSegments--; 189 if (NumSegments) 190 { 191 AcpiOsPrintf ("."); 192 } 193 } 194 195 AcpiOsPrintf ("]\n"); --- 4 unchanged lines hidden (view full) --- 200 * 201 * FUNCTION: AcpiNsDumpPathname 202 * 203 * PARAMETERS: Handle - Object 204 * Msg - Prefix message 205 * Level - Desired debug level 206 * Component - Caller's component ID 207 * |
208 * RETURN: None 209 * |
|
184 * DESCRIPTION: Print an object's full namespace pathname 185 * Manages allocation/freeing of a pathname buffer 186 * 187 ******************************************************************************/ 188 189void 190AcpiNsDumpPathname ( 191 ACPI_HANDLE Handle, --- 19 unchanged lines hidden (view full) --- 211 return_VOID; 212} 213 214 215/******************************************************************************* 216 * 217 * FUNCTION: AcpiNsDumpOneObject 218 * | 210 * DESCRIPTION: Print an object's full namespace pathname 211 * Manages allocation/freeing of a pathname buffer 212 * 213 ******************************************************************************/ 214 215void 216AcpiNsDumpPathname ( 217 ACPI_HANDLE Handle, --- 19 unchanged lines hidden (view full) --- 237 return_VOID; 238} 239 240 241/******************************************************************************* 242 * 243 * FUNCTION: AcpiNsDumpOneObject 244 * |
219 * PARAMETERS: Handle - Node to be dumped | 245 * PARAMETERS: ObjHandle - Node to be dumped |
220 * Level - Nesting level of the handle 221 * Context - Passed into WalkNamespace | 246 * Level - Nesting level of the handle 247 * Context - Passed into WalkNamespace |
248 * ReturnValue - Not used |
|
222 * | 249 * |
250 * RETURN: Status 251 * |
|
223 * DESCRIPTION: Dump a single Node 224 * This procedure is a UserFunction called by AcpiNsWalkNamespace. 225 * 226 ******************************************************************************/ 227 228ACPI_STATUS 229AcpiNsDumpOneObject ( 230 ACPI_HANDLE ObjHandle, --- 27 unchanged lines hidden (view full) --- 258 return (AE_OK); 259 } 260 261 ThisNode = AcpiNsMapHandleToNode (ObjHandle); 262 Type = ThisNode->Type; 263 264 /* Check if the owner matches */ 265 | 252 * DESCRIPTION: Dump a single Node 253 * This procedure is a UserFunction called by AcpiNsWalkNamespace. 254 * 255 ******************************************************************************/ 256 257ACPI_STATUS 258AcpiNsDumpOneObject ( 259 ACPI_HANDLE ObjHandle, --- 27 unchanged lines hidden (view full) --- 287 return (AE_OK); 288 } 289 290 ThisNode = AcpiNsMapHandleToNode (ObjHandle); 291 Type = ThisNode->Type; 292 293 /* Check if the owner matches */ 294 |
266 if ((Info->OwnerId != ACPI_UINT32_MAX) && | 295 if ((Info->OwnerId != ACPI_OWNER_ID_MAX) && |
267 (Info->OwnerId != ThisNode->OwnerId)) 268 { 269 return (AE_OK); 270 } 271 | 296 (Info->OwnerId != ThisNode->OwnerId)) 297 { 298 return (AE_OK); 299 } 300 |
272 /* Indent the object according to the level */ | 301 if (!(Info->DisplayType & ACPI_DISPLAY_SHORT)) 302 { 303 /* Indent the object according to the level */ |
273 | 304 |
274 AcpiOsPrintf ("%2d%*s", (UINT32) Level - 1, (int) Level * 2, " "); | 305 AcpiOsPrintf ("%2d%*s", (UINT32) Level - 1, (int) Level * 2, " "); |
275 | 306 |
276 /* Check the node type and name */ | 307 /* Check the node type and name */ |
277 | 308 |
278 if (Type > ACPI_TYPE_LOCAL_MAX) 279 { 280 ACPI_REPORT_WARNING (("Invalid ACPI Type %08X\n", Type)); 281 } | 309 if (Type > ACPI_TYPE_LOCAL_MAX) 310 { 311 ACPI_REPORT_WARNING (("Invalid ACPI Type %08X\n", Type)); 312 } |
282 | 313 |
283 if (!AcpiUtValidAcpiName (ThisNode->Name.Integer)) 284 { 285 ACPI_REPORT_WARNING (("Invalid ACPI Name %08X\n", 286 ThisNode->Name.Integer)); | 314 if (!AcpiUtValidAcpiName (ThisNode->Name.Integer)) 315 { 316 ACPI_REPORT_WARNING (("Invalid ACPI Name %08X\n", 317 ThisNode->Name.Integer)); 318 } 319 320 AcpiOsPrintf ("%4.4s", AcpiUtGetNodeName (ThisNode)); |
287 } 288 289 /* 290 * Now we can print out the pertinent information 291 */ | 321 } 322 323 /* 324 * Now we can print out the pertinent information 325 */ |
292 AcpiOsPrintf ("%4.4s %-12s %p ", 293 AcpiUtGetNodeName (ThisNode), AcpiUtGetTypeName (Type), ThisNode); | 326 AcpiOsPrintf (" %-12s %p ", 327 AcpiUtGetTypeName (Type), ThisNode); |
294 295 DbgLevel = AcpiDbgLevel; 296 AcpiDbgLevel = 0; 297 ObjDesc = AcpiNsGetAttachedObject (ThisNode); 298 AcpiDbgLevel = DbgLevel; 299 | 328 329 DbgLevel = AcpiDbgLevel; 330 AcpiDbgLevel = 0; 331 ObjDesc = AcpiNsGetAttachedObject (ThisNode); 332 AcpiDbgLevel = DbgLevel; 333 |
300 switch (Info->DisplayType) | 334 switch (Info->DisplayType & ACPI_DISPLAY_MASK) |
301 { 302 case ACPI_DISPLAY_SUMMARY: 303 304 if (!ObjDesc) 305 { 306 /* No attached object, we are done */ 307 308 AcpiOsPrintf ("\n"); --- 178 unchanged lines hidden (view full) --- 487 if (!ObjDesc) 488 { 489 /* No attached object, we are done */ 490 491 AcpiOsPrintf ("\n"); 492 return (AE_OK); 493 } 494 | 335 { 336 case ACPI_DISPLAY_SUMMARY: 337 338 if (!ObjDesc) 339 { 340 /* No attached object, we are done */ 341 342 AcpiOsPrintf ("\n"); --- 178 unchanged lines hidden (view full) --- 521 if (!ObjDesc) 522 { 523 /* No attached object, we are done */ 524 525 AcpiOsPrintf ("\n"); 526 return (AE_OK); 527 } 528 |
495 AcpiOsPrintf ("(R%d)", 496 ObjDesc->Common.ReferenceCount); | 529 AcpiOsPrintf ("(R%d)", ObjDesc->Common.ReferenceCount); |
497 498 switch (Type) 499 { 500 case ACPI_TYPE_METHOD: 501 502 /* Name is a Method and its AML offset/length are set */ 503 504 AcpiOsPrintf (" M:%p-%X\n", ObjDesc->Method.AmlStart, --- 46 unchanged lines hidden (view full) --- 551 ObjDesc = AcpiNsGetAttachedObject (ThisNode); 552 AcpiDbgLevel = DbgLevel; 553 554 /* Dump attached objects */ 555 556 while (ObjDesc) 557 { 558 ObjType = ACPI_TYPE_INVALID; | 530 531 switch (Type) 532 { 533 case ACPI_TYPE_METHOD: 534 535 /* Name is a Method and its AML offset/length are set */ 536 537 AcpiOsPrintf (" M:%p-%X\n", ObjDesc->Method.AmlStart, --- 46 unchanged lines hidden (view full) --- 584 ObjDesc = AcpiNsGetAttachedObject (ThisNode); 585 AcpiDbgLevel = DbgLevel; 586 587 /* Dump attached objects */ 588 589 while (ObjDesc) 590 { 591 ObjType = ACPI_TYPE_INVALID; |
559 AcpiOsPrintf (" Attached Object %p: ", ObjDesc); | 592 AcpiOsPrintf ("Attached Object %p: ", ObjDesc); |
560 561 /* Decode the type of attached object and dump the contents */ 562 563 switch (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc)) 564 { 565 case ACPI_DESC_TYPE_NAMED: 566 567 AcpiOsPrintf ("(Ptr to Node)\n"); 568 BytesToDump = sizeof (ACPI_NAMESPACE_NODE); | 593 594 /* Decode the type of attached object and dump the contents */ 595 596 switch (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc)) 597 { 598 case ACPI_DESC_TYPE_NAMED: 599 600 AcpiOsPrintf ("(Ptr to Node)\n"); 601 BytesToDump = sizeof (ACPI_NAMESPACE_NODE); |
602 ACPI_DUMP_BUFFER (ObjDesc, BytesToDump); |
|
569 break; 570 | 603 break; 604 |
571 | |
572 case ACPI_DESC_TYPE_OPERAND: 573 574 ObjType = ACPI_GET_OBJECT_TYPE (ObjDesc); 575 576 if (ObjType > ACPI_TYPE_LOCAL_MAX) 577 { 578 AcpiOsPrintf ("(Ptr to ACPI Object type %X [UNKNOWN])\n", 579 ObjType); 580 BytesToDump = 32; 581 } 582 else 583 { | 605 case ACPI_DESC_TYPE_OPERAND: 606 607 ObjType = ACPI_GET_OBJECT_TYPE (ObjDesc); 608 609 if (ObjType > ACPI_TYPE_LOCAL_MAX) 610 { 611 AcpiOsPrintf ("(Ptr to ACPI Object type %X [UNKNOWN])\n", 612 ObjType); 613 BytesToDump = 32; 614 } 615 else 616 { |
584 AcpiOsPrintf ("(Ptr to ACPI Object type %s, %X)\n", 585 AcpiUtGetTypeName (ObjType), ObjType); | 617 AcpiOsPrintf ("(Ptr to ACPI Object type %X [%s])\n", 618 ObjType, AcpiUtGetTypeName (ObjType)); |
586 BytesToDump = sizeof (ACPI_OPERAND_OBJECT); 587 } | 619 BytesToDump = sizeof (ACPI_OPERAND_OBJECT); 620 } |
621 622 ACPI_DUMP_BUFFER (ObjDesc, BytesToDump); |
|
588 break; 589 | 623 break; 624 |
590 | |
591 default: 592 | 625 default: 626 |
593 AcpiOsPrintf ( 594 "(String or Buffer ptr - not an object descriptor) [%s]\n", 595 AcpiUtGetDescriptorName (ObjDesc)); 596 BytesToDump = 16; | |
597 break; 598 } 599 | 627 break; 628 } 629 |
600 ACPI_DUMP_BUFFER (ObjDesc, BytesToDump); 601 | |
602 /* If value is NOT an internal object, we are done */ 603 604 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) != ACPI_DESC_TYPE_OPERAND) 605 { 606 goto Cleanup; 607 } 608 609 /* 610 * Valid object, get the pointer to next level, if any 611 */ 612 switch (ObjType) 613 { | 630 /* If value is NOT an internal object, we are done */ 631 632 if (ACPI_GET_DESCRIPTOR_TYPE (ObjDesc) != ACPI_DESC_TYPE_OPERAND) 633 { 634 goto Cleanup; 635 } 636 637 /* 638 * Valid object, get the pointer to next level, if any 639 */ 640 switch (ObjType) 641 { |
642 case ACPI_TYPE_BUFFER: |
|
614 case ACPI_TYPE_STRING: | 643 case ACPI_TYPE_STRING: |
644 /* 645 * NOTE: takes advantage of common fields between string/buffer 646 */ 647 BytesToDump = ObjDesc->String.Length; |
|
615 ObjDesc = (void *) ObjDesc->String.Pointer; | 648 ObjDesc = (void *) ObjDesc->String.Pointer; |
616 break; | 649 AcpiOsPrintf ( "(Buffer/String pointer %p length %X)\n", 650 ObjDesc, BytesToDump); 651 ACPI_DUMP_BUFFER (ObjDesc, BytesToDump); 652 goto Cleanup; |
617 | 653 |
618 case ACPI_TYPE_BUFFER: 619 ObjDesc = (void *) ObjDesc->Buffer.Pointer; 620 break; 621 | |
622 case ACPI_TYPE_BUFFER_FIELD: 623 ObjDesc = (ACPI_OPERAND_OBJECT *) ObjDesc->BufferField.BufferObj; 624 break; 625 626 case ACPI_TYPE_PACKAGE: 627 ObjDesc = (void *) ObjDesc->Package.Elements; 628 break; 629 --- 26 unchanged lines hidden (view full) --- 656} 657 658 659/******************************************************************************* 660 * 661 * FUNCTION: AcpiNsDumpObjects 662 * 663 * PARAMETERS: Type - Object type to be dumped | 654 case ACPI_TYPE_BUFFER_FIELD: 655 ObjDesc = (ACPI_OPERAND_OBJECT *) ObjDesc->BufferField.BufferObj; 656 break; 657 658 case ACPI_TYPE_PACKAGE: 659 ObjDesc = (void *) ObjDesc->Package.Elements; 660 break; 661 --- 26 unchanged lines hidden (view full) --- 688} 689 690 691/******************************************************************************* 692 * 693 * FUNCTION: AcpiNsDumpObjects 694 * 695 * PARAMETERS: Type - Object type to be dumped |
696 * DisplayType - 0 or ACPI_DISPLAY_SUMMARY |
|
664 * MaxDepth - Maximum depth of dump. Use ACPI_UINT32_MAX 665 * for an effectively unlimited depth. 666 * OwnerId - Dump only objects owned by this ID. Use 667 * ACPI_UINT32_MAX to match all owners. 668 * StartHandle - Where in namespace to start/end search 669 * | 697 * MaxDepth - Maximum depth of dump. Use ACPI_UINT32_MAX 698 * for an effectively unlimited depth. 699 * OwnerId - Dump only objects owned by this ID. Use 700 * ACPI_UINT32_MAX to match all owners. 701 * StartHandle - Where in namespace to start/end search 702 * |
703 * RETURN: None 704 * |
|
670 * DESCRIPTION: Dump typed objects within the loaded namespace. 671 * Uses AcpiNsWalkNamespace in conjunction with AcpiNsDumpOneObject. 672 * 673 ******************************************************************************/ 674 675void 676AcpiNsDumpObjects ( 677 ACPI_OBJECT_TYPE Type, 678 UINT8 DisplayType, 679 UINT32 MaxDepth, | 705 * DESCRIPTION: Dump typed objects within the loaded namespace. 706 * Uses AcpiNsWalkNamespace in conjunction with AcpiNsDumpOneObject. 707 * 708 ******************************************************************************/ 709 710void 711AcpiNsDumpObjects ( 712 ACPI_OBJECT_TYPE Type, 713 UINT8 DisplayType, 714 UINT32 MaxDepth, |
680 UINT32 OwnerId, | 715 ACPI_OWNER_ID OwnerId, |
681 ACPI_HANDLE StartHandle) 682{ 683 ACPI_WALK_INFO Info; 684 685 686 ACPI_FUNCTION_ENTRY (); 687 688 --- 4 unchanged lines hidden (view full) --- 693 (void) AcpiNsWalkNamespace (Type, StartHandle, MaxDepth, 694 ACPI_NS_WALK_NO_UNLOCK, AcpiNsDumpOneObject, 695 (void *) &Info, NULL); 696} 697 698 699/******************************************************************************* 700 * | 716 ACPI_HANDLE StartHandle) 717{ 718 ACPI_WALK_INFO Info; 719 720 721 ACPI_FUNCTION_ENTRY (); 722 723 --- 4 unchanged lines hidden (view full) --- 728 (void) AcpiNsWalkNamespace (Type, StartHandle, MaxDepth, 729 ACPI_NS_WALK_NO_UNLOCK, AcpiNsDumpOneObject, 730 (void *) &Info, NULL); 731} 732 733 734/******************************************************************************* 735 * |
736 * FUNCTION: AcpiNsDumpEntry 737 * 738 * PARAMETERS: Handle - Node to be dumped 739 * DebugLevel - Output level 740 * 741 * RETURN: None 742 * 743 * DESCRIPTION: Dump a single Node 744 * 745 ******************************************************************************/ 746 747void 748AcpiNsDumpEntry ( 749 ACPI_HANDLE Handle, 750 UINT32 DebugLevel) 751{ 752 ACPI_WALK_INFO Info; 753 754 755 ACPI_FUNCTION_ENTRY (); 756 757 758 Info.DebugLevel = DebugLevel; 759 Info.OwnerId = ACPI_OWNER_ID_MAX; 760 Info.DisplayType = ACPI_DISPLAY_SUMMARY; 761 762 (void) AcpiNsDumpOneObject (Handle, 1, &Info, NULL); 763} 764 765 766#ifdef ACPI_ASL_COMPILER 767/******************************************************************************* 768 * |
|
701 * FUNCTION: AcpiNsDumpTables 702 * 703 * PARAMETERS: SearchBase - Root of subtree to be dumped, or 704 * NS_ALL to dump the entire namespace 705 * MaxDepth - Maximum depth of dump. Use INT_MAX 706 * for an effectively unlimited depth. 707 * | 769 * FUNCTION: AcpiNsDumpTables 770 * 771 * PARAMETERS: SearchBase - Root of subtree to be dumped, or 772 * NS_ALL to dump the entire namespace 773 * MaxDepth - Maximum depth of dump. Use INT_MAX 774 * for an effectively unlimited depth. 775 * |
776 * RETURN: None 777 * |
|
708 * DESCRIPTION: Dump the name space, or a portion of it. 709 * 710 ******************************************************************************/ 711 712void 713AcpiNsDumpTables ( 714 ACPI_HANDLE SearchBase, 715 UINT32 MaxDepth) --- 11 unchanged lines hidden (view full) --- 727 * there is nothing to dump. 728 */ 729 ACPI_DEBUG_PRINT ((ACPI_DB_TABLES, "namespace not initialized!\n")); 730 return_VOID; 731 } 732 733 if (ACPI_NS_ALL == SearchBase) 734 { | 778 * DESCRIPTION: Dump the name space, or a portion of it. 779 * 780 ******************************************************************************/ 781 782void 783AcpiNsDumpTables ( 784 ACPI_HANDLE SearchBase, 785 UINT32 MaxDepth) --- 11 unchanged lines hidden (view full) --- 797 * there is nothing to dump. 798 */ 799 ACPI_DEBUG_PRINT ((ACPI_DB_TABLES, "namespace not initialized!\n")); 800 return_VOID; 801 } 802 803 if (ACPI_NS_ALL == SearchBase) 804 { |
735 /* entire namespace */ | 805 /* Entire namespace */ |
736 737 SearchHandle = AcpiGbl_RootNode; 738 ACPI_DEBUG_PRINT ((ACPI_DB_TABLES, "\\\n")); 739 } 740 741 AcpiNsDumpObjects (ACPI_TYPE_ANY, ACPI_DISPLAY_OBJECTS, MaxDepth, | 806 807 SearchHandle = AcpiGbl_RootNode; 808 ACPI_DEBUG_PRINT ((ACPI_DB_TABLES, "\\\n")); 809 } 810 811 AcpiNsDumpObjects (ACPI_TYPE_ANY, ACPI_DISPLAY_OBJECTS, MaxDepth, |
742 ACPI_UINT32_MAX, SearchHandle); | 812 ACPI_OWNER_ID_MAX, SearchHandle); |
743 return_VOID; 744} | 813 return_VOID; 814} |
745 746 747/******************************************************************************* 748 * 749 * FUNCTION: AcpiNsDumpEntry 750 * 751 * PARAMETERS: Handle - Node to be dumped 752 * DebugLevel - Output level 753 * 754 * DESCRIPTION: Dump a single Node 755 * 756 ******************************************************************************/ 757 758void 759AcpiNsDumpEntry ( 760 ACPI_HANDLE Handle, 761 UINT32 DebugLevel) 762{ 763 ACPI_WALK_INFO Info; 764 765 766 ACPI_FUNCTION_ENTRY (); 767 768 769 Info.DebugLevel = DebugLevel; 770 Info.OwnerId = ACPI_UINT32_MAX; 771 Info.DisplayType = ACPI_DISPLAY_SUMMARY; 772 773 (void) AcpiNsDumpOneObject (Handle, 1, &Info, NULL); 774} 775 | |
776#endif | 815#endif |
816#endif |
|
777 | 817 |