1 /*******************************************************************************
3 * Module Name: dbnames - Debugger commands for the acpi namespace
5 ******************************************************************************/
8 * Copyright (C) 2000 - 2015, Intel Corp.
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.
17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 * substantially similar to the "NO WARRANTY" disclaimer below
19 * ("Disclaimer") and any redistribution must be conditioned upon
20 * including a substantially similar Disclaimer requirement for further
21 * binary redistribution.
22 * 3. Neither the names of the above-listed copyright holders nor the names
23 * of any contributors may be used to endorse or promote products derived
24 * from this software without specific prior written permission.
26 * Alternatively, this software may be distributed under the terms of the
27 * GNU General Public License ("GPL") version 2 as published by the Free
28 * Software Foundation.
31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 * POSSIBILITY OF SUCH DAMAGES.
44 #include <contrib/dev/acpica/include/acpi.h>
45 #include <contrib/dev/acpica/include/accommon.h>
46 #include <contrib/dev/acpica/include/acnamesp.h>
47 #include <contrib/dev/acpica/include/acdebug.h>
48 #include <contrib/dev/acpica/include/acpredef.h>
53 #define _COMPONENT ACPI_CA_DEBUGGER
54 ACPI_MODULE_NAME ("dbnames")
57 /* Local prototypes */
60 AcpiDbWalkAndMatchName (
61 ACPI_HANDLE ObjHandle,
67 AcpiDbWalkForPredefinedNames (
68 ACPI_HANDLE ObjHandle,
74 AcpiDbWalkForSpecificObjects (
75 ACPI_HANDLE ObjHandle,
82 ACPI_HANDLE ObjHandle,
88 AcpiDbWalkForReferences (
89 ACPI_HANDLE ObjHandle,
96 ACPI_HANDLE ObjHandle,
102 * Arguments for the Objects command
103 * These object types map directly to the ACPI_TYPES
105 static ACPI_DB_ARGUMENT_INFO AcpiDbObjectTypes [] =
129 {NULL} /* Must be null terminated */
133 /*******************************************************************************
135 * FUNCTION: AcpiDbSetScope
137 * PARAMETERS: Name - New scope path
141 * DESCRIPTION: Set the "current scope" as maintained by this utility.
142 * The scope is used as a prefix to ACPI paths.
144 ******************************************************************************/
151 ACPI_NAMESPACE_NODE *Node;
154 if (!Name || Name[0] == 0)
156 AcpiOsPrintf ("Current scope: %s\n", AcpiGbl_DbScopeBuf);
160 AcpiDbPrepNamestring (Name);
162 if (ACPI_IS_ROOT_PREFIX (Name[0]))
164 /* Validate new scope from the root */
166 Status = AcpiNsGetNode (AcpiGbl_RootNode, Name, ACPI_NS_NO_UPSEARCH,
168 if (ACPI_FAILURE (Status))
173 AcpiGbl_DbScopeBuf[0] = 0;
177 /* Validate new scope relative to old scope */
179 Status = AcpiNsGetNode (AcpiGbl_DbScopeNode, Name, ACPI_NS_NO_UPSEARCH,
181 if (ACPI_FAILURE (Status))
187 /* Build the final pathname */
189 if (AcpiUtSafeStrcat (AcpiGbl_DbScopeBuf, sizeof (AcpiGbl_DbScopeBuf),
192 Status = AE_BUFFER_OVERFLOW;
196 if (AcpiUtSafeStrcat (AcpiGbl_DbScopeBuf, sizeof (AcpiGbl_DbScopeBuf),
199 Status = AE_BUFFER_OVERFLOW;
203 AcpiGbl_DbScopeNode = Node;
204 AcpiOsPrintf ("New scope: %s\n", AcpiGbl_DbScopeBuf);
209 AcpiOsPrintf ("Could not attach scope: %s, %s\n",
210 Name, AcpiFormatException (Status));
214 /*******************************************************************************
216 * FUNCTION: AcpiDbDumpNamespace
218 * PARAMETERS: StartArg - Node to begin namespace dump
219 * DepthArg - Maximum tree depth to be dumped
223 * DESCRIPTION: Dump entire namespace or a subtree. Each node is displayed
224 * with type and other information.
226 ******************************************************************************/
229 AcpiDbDumpNamespace (
233 ACPI_HANDLE SubtreeEntry = AcpiGbl_RootNode;
234 UINT32 MaxDepth = ACPI_UINT32_MAX;
237 /* No argument given, just start at the root and dump entire namespace */
241 SubtreeEntry = AcpiDbConvertToNode (StartArg);
247 /* Now we can check for the depth argument */
251 MaxDepth = ACPI_STRTOUL (DepthArg, NULL, 0);
255 AcpiDbSetOutputDestination (ACPI_DB_DUPLICATE_OUTPUT);
256 AcpiOsPrintf ("ACPI Namespace (from %4.4s (%p) subtree):\n",
257 ((ACPI_NAMESPACE_NODE *) SubtreeEntry)->Name.Ascii, SubtreeEntry);
259 /* Display the subtree */
261 AcpiDbSetOutputDestination (ACPI_DB_REDIRECTABLE_OUTPUT);
262 AcpiNsDumpObjects (ACPI_TYPE_ANY, ACPI_DISPLAY_SUMMARY, MaxDepth,
263 ACPI_OWNER_ID_MAX, SubtreeEntry);
264 AcpiDbSetOutputDestination (ACPI_DB_CONSOLE_OUTPUT);
268 /*******************************************************************************
270 * FUNCTION: AcpiDbDumpNamespacePaths
276 * DESCRIPTION: Dump entire namespace with full object pathnames and object
277 * type information. Alternative to "namespace" command.
279 ******************************************************************************/
282 AcpiDbDumpNamespacePaths (
286 AcpiDbSetOutputDestination (ACPI_DB_DUPLICATE_OUTPUT);
287 AcpiOsPrintf ("ACPI Namespace (from root):\n");
289 /* Display the entire namespace */
291 AcpiDbSetOutputDestination (ACPI_DB_REDIRECTABLE_OUTPUT);
292 AcpiNsDumpObjectPaths (ACPI_TYPE_ANY, ACPI_DISPLAY_SUMMARY,
293 ACPI_UINT32_MAX, ACPI_OWNER_ID_MAX, AcpiGbl_RootNode);
295 AcpiDbSetOutputDestination (ACPI_DB_CONSOLE_OUTPUT);
299 /*******************************************************************************
301 * FUNCTION: AcpiDbDumpNamespaceByOwner
303 * PARAMETERS: OwnerArg - Owner ID whose nodes will be displayed
304 * DepthArg - Maximum tree depth to be dumped
308 * DESCRIPTION: Dump elements of the namespace that are owned by the OwnerId.
310 ******************************************************************************/
313 AcpiDbDumpNamespaceByOwner (
317 ACPI_HANDLE SubtreeEntry = AcpiGbl_RootNode;
318 UINT32 MaxDepth = ACPI_UINT32_MAX;
319 ACPI_OWNER_ID OwnerId;
322 OwnerId = (ACPI_OWNER_ID) ACPI_STRTOUL (OwnerArg, NULL, 0);
324 /* Now we can check for the depth argument */
328 MaxDepth = ACPI_STRTOUL (DepthArg, NULL, 0);
331 AcpiDbSetOutputDestination (ACPI_DB_DUPLICATE_OUTPUT);
332 AcpiOsPrintf ("ACPI Namespace by owner %X:\n", OwnerId);
334 /* Display the subtree */
336 AcpiDbSetOutputDestination (ACPI_DB_REDIRECTABLE_OUTPUT);
337 AcpiNsDumpObjects (ACPI_TYPE_ANY, ACPI_DISPLAY_SUMMARY, MaxDepth, OwnerId,
339 AcpiDbSetOutputDestination (ACPI_DB_CONSOLE_OUTPUT);
343 /*******************************************************************************
345 * FUNCTION: AcpiDbWalkAndMatchName
347 * PARAMETERS: Callback from WalkNamespace
351 * DESCRIPTION: Find a particular name/names within the namespace. Wildcards
352 * are supported -- '?' matches any character.
354 ******************************************************************************/
357 AcpiDbWalkAndMatchName (
358 ACPI_HANDLE ObjHandle,
364 char *RequestedName = (char *) Context;
370 /* Check for a name match */
372 for (i = 0; i < 4; i++)
374 /* Wildcard support */
376 if ((RequestedName[i] != '?') &&
377 (RequestedName[i] != ((ACPI_NAMESPACE_NODE *) ObjHandle)->Name.Ascii[i]))
379 /* No match, just exit */
385 /* Get the full pathname to this object */
387 Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
388 Status = AcpiNsHandleToPathname (ObjHandle, &Buffer);
389 if (ACPI_FAILURE (Status))
391 AcpiOsPrintf ("Could Not get pathname for object %p\n", ObjHandle);
395 Info.OwnerId = ACPI_OWNER_ID_MAX;
396 Info.DebugLevel = ACPI_UINT32_MAX;
397 Info.DisplayType = ACPI_DISPLAY_SUMMARY | ACPI_DISPLAY_SHORT;
399 AcpiOsPrintf ("%32s", (char *) Buffer.Pointer);
400 (void) AcpiNsDumpOneObject (ObjHandle, NestingLevel, &Info, NULL);
401 ACPI_FREE (Buffer.Pointer);
408 /*******************************************************************************
410 * FUNCTION: AcpiDbFindNameInNamespace
412 * PARAMETERS: NameArg - The 4-character ACPI name to find.
413 * wildcards are supported.
417 * DESCRIPTION: Search the namespace for a given name (with wildcards)
419 ******************************************************************************/
422 AcpiDbFindNameInNamespace (
425 char AcpiName[5] = "____";
426 char *AcpiNamePtr = AcpiName;
429 if (ACPI_STRLEN (NameArg) > 4)
431 AcpiOsPrintf ("Name must be no longer than 4 characters\n");
435 /* Pad out name with underscores as necessary to create a 4-char name */
437 AcpiUtStrupr (NameArg);
440 *AcpiNamePtr = *NameArg;
445 /* Walk the namespace from the root */
447 (void) AcpiWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
448 AcpiDbWalkAndMatchName, NULL, AcpiName, NULL);
450 AcpiDbSetOutputDestination (ACPI_DB_CONSOLE_OUTPUT);
455 /*******************************************************************************
457 * FUNCTION: AcpiDbWalkForPredefinedNames
459 * PARAMETERS: Callback from WalkNamespace
463 * DESCRIPTION: Detect and display predefined ACPI names (names that start with
466 ******************************************************************************/
469 AcpiDbWalkForPredefinedNames (
470 ACPI_HANDLE ObjHandle,
475 ACPI_NAMESPACE_NODE *Node = (ACPI_NAMESPACE_NODE *) ObjHandle;
476 UINT32 *Count = (UINT32 *) Context;
477 const ACPI_PREDEFINED_INFO *Predefined;
478 const ACPI_PREDEFINED_INFO *Package = NULL;
480 char StringBuffer[48];
483 Predefined = AcpiUtMatchPredefinedMethod (Node->Name.Ascii);
489 Pathname = AcpiNsGetExternalPathname (Node);
495 /* If method returns a package, the info is in the next table entry */
497 if (Predefined->Info.ExpectedBtypes & ACPI_RTYPE_PACKAGE)
499 Package = Predefined + 1;
502 AcpiUtGetExpectedReturnTypes (StringBuffer,
503 Predefined->Info.ExpectedBtypes);
505 AcpiOsPrintf ("%-32s Arguments %X, Return Types: %s", Pathname,
506 METHOD_GET_ARG_COUNT (Predefined->Info.ArgumentList),
511 AcpiOsPrintf (" (PkgType %2.2X, ObjType %2.2X, Count %2.2X)",
512 Package->RetInfo.Type, Package->RetInfo.ObjectType1,
513 Package->RetInfo.Count1);
518 /* Check that the declared argument count matches the ACPI spec */
520 AcpiNsCheckAcpiCompliance (Pathname, Node, Predefined);
522 ACPI_FREE (Pathname);
528 /*******************************************************************************
530 * FUNCTION: AcpiDbCheckPredefinedNames
536 * DESCRIPTION: Validate all predefined names in the namespace
538 ******************************************************************************/
541 AcpiDbCheckPredefinedNames (
547 /* Search all nodes in namespace */
549 (void) AcpiWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
550 AcpiDbWalkForPredefinedNames, NULL, (void *) &Count, NULL);
552 AcpiOsPrintf ("Found %u predefined names in the namespace\n", Count);
556 /*******************************************************************************
558 * FUNCTION: AcpiDbWalkForSpecificObjects
560 * PARAMETERS: Callback from WalkNamespace
564 * DESCRIPTION: Display short info about objects in the namespace
566 ******************************************************************************/
569 AcpiDbWalkForSpecificObjects (
570 ACPI_HANDLE ObjHandle,
575 ACPI_WALK_INFO *Info = (ACPI_WALK_INFO *) Context;
582 /* Get and display the full pathname to this object */
584 Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
585 Status = AcpiNsHandleToPathname (ObjHandle, &Buffer);
586 if (ACPI_FAILURE (Status))
588 AcpiOsPrintf ("Could Not get pathname for object %p\n", ObjHandle);
592 AcpiOsPrintf ("%32s", (char *) Buffer.Pointer);
593 ACPI_FREE (Buffer.Pointer);
595 /* Dump short info about the object */
597 (void) AcpiNsDumpOneObject (ObjHandle, NestingLevel, Info, NULL);
602 /*******************************************************************************
604 * FUNCTION: AcpiDbDisplayObjects
606 * PARAMETERS: ObjTypeArg - Type of object to display
607 * DisplayCountArg - Max depth to display
611 * DESCRIPTION: Display objects in the namespace of the requested type
613 ******************************************************************************/
616 AcpiDbDisplayObjects (
618 char *DisplayCountArg)
621 ACPI_OBJECT_TYPE Type;
624 /* Get the object type */
626 Type = AcpiDbMatchArgument (ObjTypeArg, AcpiDbObjectTypes);
627 if (Type == ACPI_TYPE_NOT_FOUND)
629 AcpiOsPrintf ("Invalid or unsupported argument\n");
633 AcpiDbSetOutputDestination (ACPI_DB_DUPLICATE_OUTPUT);
635 "Objects of type [%s] defined in the current ACPI Namespace:\n",
636 AcpiUtGetTypeName (Type));
638 AcpiDbSetOutputDestination (ACPI_DB_REDIRECTABLE_OUTPUT);
641 Info.OwnerId = ACPI_OWNER_ID_MAX;
642 Info.DebugLevel = ACPI_UINT32_MAX;
643 Info.DisplayType = ACPI_DISPLAY_SUMMARY | ACPI_DISPLAY_SHORT;
645 /* Walk the namespace from the root */
647 (void) AcpiWalkNamespace (Type, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
648 AcpiDbWalkForSpecificObjects, NULL, (void *) &Info, NULL);
651 "\nFound %u objects of type [%s] in the current ACPI Namespace\n",
652 Info.Count, AcpiUtGetTypeName (Type));
654 AcpiDbSetOutputDestination (ACPI_DB_CONSOLE_OUTPUT);
659 /*******************************************************************************
661 * FUNCTION: AcpiDbIntegrityWalk
663 * PARAMETERS: Callback from WalkNamespace
667 * DESCRIPTION: Examine one NS node for valid values.
669 ******************************************************************************/
672 AcpiDbIntegrityWalk (
673 ACPI_HANDLE ObjHandle,
678 ACPI_INTEGRITY_INFO *Info = (ACPI_INTEGRITY_INFO *) Context;
679 ACPI_NAMESPACE_NODE *Node = (ACPI_NAMESPACE_NODE *) ObjHandle;
680 ACPI_OPERAND_OBJECT *Object;
681 BOOLEAN Alias = TRUE;
686 /* Verify the NS node, and dereference aliases */
690 if (ACPI_GET_DESCRIPTOR_TYPE (Node) != ACPI_DESC_TYPE_NAMED)
692 AcpiOsPrintf ("Invalid Descriptor Type for Node %p [%s] - is %2.2X should be %2.2X\n",
693 Node, AcpiUtGetDescriptorName (Node), ACPI_GET_DESCRIPTOR_TYPE (Node),
694 ACPI_DESC_TYPE_NAMED);
698 if ((Node->Type == ACPI_TYPE_LOCAL_ALIAS) ||
699 (Node->Type == ACPI_TYPE_LOCAL_METHOD_ALIAS))
701 Node = (ACPI_NAMESPACE_NODE *) Node->Object;
709 if (Node->Type > ACPI_TYPE_LOCAL_MAX)
711 AcpiOsPrintf ("Invalid Object Type for Node %p, Type = %X\n",
716 if (!AcpiUtValidAcpiName (Node->Name.Ascii))
718 AcpiOsPrintf ("Invalid AcpiName for Node %p\n", Node);
722 Object = AcpiNsGetAttachedObject (Node);
726 if (ACPI_GET_DESCRIPTOR_TYPE (Object) != ACPI_DESC_TYPE_OPERAND)
728 AcpiOsPrintf ("Invalid Descriptor Type for Object %p [%s]\n",
729 Object, AcpiUtGetDescriptorName (Object));
737 /*******************************************************************************
739 * FUNCTION: AcpiDbCheckIntegrity
745 * DESCRIPTION: Check entire namespace for data structure integrity
747 ******************************************************************************/
750 AcpiDbCheckIntegrity (
753 ACPI_INTEGRITY_INFO Info = {0,0};
755 /* Search all nodes in namespace */
757 (void) AcpiWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
758 AcpiDbIntegrityWalk, NULL, (void *) &Info, NULL);
760 AcpiOsPrintf ("Verified %u namespace nodes with %u Objects\n",
761 Info.Nodes, Info.Objects);
765 /*******************************************************************************
767 * FUNCTION: AcpiDbWalkForReferences
769 * PARAMETERS: Callback from WalkNamespace
773 * DESCRIPTION: Check if this namespace object refers to the target object
774 * that is passed in as the context value.
776 * Note: Currently doesn't check subobjects within the Node's object
778 ******************************************************************************/
781 AcpiDbWalkForReferences (
782 ACPI_HANDLE ObjHandle,
787 ACPI_OPERAND_OBJECT *ObjDesc = (ACPI_OPERAND_OBJECT *) Context;
788 ACPI_NAMESPACE_NODE *Node = (ACPI_NAMESPACE_NODE *) ObjHandle;
791 /* Check for match against the namespace node itself */
793 if (Node == (void *) ObjDesc)
795 AcpiOsPrintf ("Object is a Node [%4.4s]\n",
796 AcpiUtGetNodeName (Node));
799 /* Check for match against the object attached to the node */
801 if (AcpiNsGetAttachedObject (Node) == ObjDesc)
803 AcpiOsPrintf ("Reference at Node->Object %p [%4.4s]\n",
804 Node, AcpiUtGetNodeName (Node));
811 /*******************************************************************************
813 * FUNCTION: AcpiDbFindReferences
815 * PARAMETERS: ObjectArg - String with hex value of the object
819 * DESCRIPTION: Search namespace for all references to the input object
821 ******************************************************************************/
824 AcpiDbFindReferences (
827 ACPI_OPERAND_OBJECT *ObjDesc;
831 /* Convert string to object pointer */
833 Address = ACPI_STRTOUL (ObjectArg, NULL, 16);
834 ObjDesc = ACPI_TO_POINTER (Address);
836 /* Search all nodes in namespace */
838 (void) AcpiWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
839 AcpiDbWalkForReferences, NULL, (void *) ObjDesc, NULL);
843 /*******************************************************************************
845 * FUNCTION: AcpiDbBusWalk
847 * PARAMETERS: Callback from WalkNamespace
851 * DESCRIPTION: Display info about device objects that have a corresponding
854 ******************************************************************************/
858 ACPI_HANDLE ObjHandle,
863 ACPI_NAMESPACE_NODE *Node = (ACPI_NAMESPACE_NODE *) ObjHandle;
866 ACPI_NAMESPACE_NODE *TempNode;
867 ACPI_DEVICE_INFO *Info;
871 if ((Node->Type != ACPI_TYPE_DEVICE) &&
872 (Node->Type != ACPI_TYPE_PROCESSOR))
877 /* Exit if there is no _PRT under this device */
879 Status = AcpiGetHandle (Node, METHOD_NAME__PRT,
880 ACPI_CAST_PTR (ACPI_HANDLE, &TempNode));
881 if (ACPI_FAILURE (Status))
886 /* Get the full path to this device object */
888 Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
889 Status = AcpiNsHandleToPathname (ObjHandle, &Buffer);
890 if (ACPI_FAILURE (Status))
892 AcpiOsPrintf ("Could Not get pathname for object %p\n", ObjHandle);
896 Status = AcpiGetObjectInfo (ObjHandle, &Info);
897 if (ACPI_FAILURE (Status))
902 /* Display the full path */
904 AcpiOsPrintf ("%-32s Type %X", (char *) Buffer.Pointer, Node->Type);
905 ACPI_FREE (Buffer.Pointer);
907 if (Info->Flags & ACPI_PCI_ROOT_BRIDGE)
909 AcpiOsPrintf (" - Is PCI Root Bridge");
915 AcpiOsPrintf ("_PRT: %p\n", TempNode);
917 /* Dump _ADR, _HID, _UID, _CID */
919 if (Info->Valid & ACPI_VALID_ADR)
921 AcpiOsPrintf ("_ADR: %8.8X%8.8X\n", ACPI_FORMAT_UINT64 (Info->Address));
925 AcpiOsPrintf ("_ADR: <Not Present>\n");
928 if (Info->Valid & ACPI_VALID_HID)
930 AcpiOsPrintf ("_HID: %s\n", Info->HardwareId.String);
934 AcpiOsPrintf ("_HID: <Not Present>\n");
937 if (Info->Valid & ACPI_VALID_UID)
939 AcpiOsPrintf ("_UID: %s\n", Info->UniqueId.String);
943 AcpiOsPrintf ("_UID: <Not Present>\n");
946 if (Info->Valid & ACPI_VALID_CID)
948 for (i = 0; i < Info->CompatibleIdList.Count; i++)
950 AcpiOsPrintf ("_CID: %s\n",
951 Info->CompatibleIdList.Ids[i].String);
956 AcpiOsPrintf ("_CID: <Not Present>\n");
964 /*******************************************************************************
966 * FUNCTION: AcpiDbGetBusInfo
972 * DESCRIPTION: Display info about system busses.
974 ******************************************************************************/
980 /* Search all nodes in namespace */
982 (void) AcpiWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
983 AcpiDbBusWalk, NULL, NULL, NULL);
986 #endif /* ACPI_DEBUGGER */