summaryrefslogtreecommitdiff
path: root/source/components/debugger/dbnames.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-08-23 18:01:58 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-08-23 18:01:58 +0000
commit59ce063597ddbda74269a45aba8187dece2fe00a (patch)
tree89234dd9f502de2faaf4a280ccd0d3785a7ae96f /source/components/debugger/dbnames.c
parentdbded195f9840f9044a6828c8877c6bf0a956482 (diff)
Notes
Diffstat (limited to 'source/components/debugger/dbnames.c')
-rw-r--r--source/components/debugger/dbnames.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/source/components/debugger/dbnames.c b/source/components/debugger/dbnames.c
index 1e1543ce9b6d..e3c6d710a940 100644
--- a/source/components/debugger/dbnames.c
+++ b/source/components/debugger/dbnames.c
@@ -256,6 +256,37 @@ AcpiDbDumpNamespace (
/*******************************************************************************
*
+ * FUNCTION: AcpiDbDumpNamespacePaths
+ *
+ * PARAMETERS: None
+ *
+ * RETURN: None
+ *
+ * DESCRIPTION: Dump entire namespace with full object pathnames and object
+ * type information. Alternative to "namespace" command.
+ *
+ ******************************************************************************/
+
+void
+AcpiDbDumpNamespacePaths (
+ void)
+{
+
+ AcpiDbSetOutputDestination (ACPI_DB_DUPLICATE_OUTPUT);
+ AcpiOsPrintf ("ACPI Namespace (from root):\n");
+
+ /* Display the entire namespace */
+
+ AcpiDbSetOutputDestination (ACPI_DB_REDIRECTABLE_OUTPUT);
+ AcpiNsDumpObjectPaths (ACPI_TYPE_ANY, ACPI_DISPLAY_SUMMARY,
+ ACPI_UINT32_MAX, ACPI_OWNER_ID_MAX, AcpiGbl_RootNode);
+
+ AcpiDbSetOutputDestination (ACPI_DB_CONSOLE_OUTPUT);
+}
+
+
+/*******************************************************************************
+ *
* FUNCTION: AcpiDbDumpNamespaceByOwner
*
* PARAMETERS: OwnerArg - Owner ID whose nodes will be displayed