summaryrefslogtreecommitdiff
path: root/source/tools/acpihelp/ahdecode.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2014-09-11 21:38:09 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2014-09-11 21:38:09 +0000
commit754171ae60abbbd707ed8d449f07ef38f596bd22 (patch)
tree67d2b76905535d056ba6911186285d0325dc703f /source/tools/acpihelp/ahdecode.c
parente599b42ef5047e5546af949d87d2cfd2e17062b0 (diff)
Notes
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 60e38081253b..385707186230 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