summaryrefslogtreecommitdiff
path: root/source/tools/acpihelp/ahdecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/acpihelp/ahdecode.c')
-rw-r--r--source/tools/acpihelp/ahdecode.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/source/tools/acpihelp/ahdecode.c b/source/tools/acpihelp/ahdecode.c
index 60e38081253b6..3857071862303 100644
--- a/source/tools/acpihelp/ahdecode.c
+++ b/source/tools/acpihelp/ahdecode.c
@@ -873,6 +873,34 @@ AhDisplayDeviceIds (
/*******************************************************************************
*
+ * FUNCTION: AhDisplayUuids
+ *
+ * PARAMETERS: None
+ *
+ * RETURN: None
+ *
+ * DESCRIPTION: Display all known UUIDs.
+ *
+ ******************************************************************************/
+
+void
+AhDisplayUuids (
+ void)
+{
+ const AH_UUID *Info;
+
+
+ printf ("ACPI-related UUIDs:\n\n");
+
+ for (Info = AcpiUuids; Info->Description; Info++)
+ {
+ printf ("%32s : %s\n", Info->Description, Info->String);
+ }
+}
+
+
+/*******************************************************************************
+ *
* FUNCTION: AhDecodeException
*
* PARAMETERS: HexString - ACPI status string from command line, in