summaryrefslogtreecommitdiff
path: root/source/tools/acpihelp/ahmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/acpihelp/ahmain.c')
-rw-r--r--source/tools/acpihelp/ahmain.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/source/tools/acpihelp/ahmain.c b/source/tools/acpihelp/ahmain.c
index 9be1f3b830b9..4749e5b55357 100644
--- a/source/tools/acpihelp/ahmain.c
+++ b/source/tools/acpihelp/ahmain.c
@@ -51,7 +51,7 @@ AhDisplayUsage (
void);
#define AH_UTILITY_NAME "ACPI Help Utility"
-#define AH_SUPPORTED_OPTIONS "aehikmopsv"
+#define AH_SUPPORTED_OPTIONS "aehikmopsuv"
/******************************************************************************
@@ -82,6 +82,7 @@ AhDisplayUsage (
ACPI_USAGE_TEXT ("\nOther ACPI Names:\n");
ACPI_OPTION ("-i [Name/Prefix]", "Find/Display ACPI/PNP Hardware ID(s)");
+ ACPI_OPTION ("-u", "Display ACPI-related UUIDs");
ACPI_USAGE_TEXT ("\nACPI Values:\n");
ACPI_OPTION ("-e [HexValue]", "Decode ACPICA exception code");
@@ -167,6 +168,11 @@ main (
DecodeType = AH_DECODE_ASL;
break;
+ case 'u':
+
+ DecodeType = AH_DISPLAY_UUIDS;
+ break;
+
case 'v': /* -v: (Version): signon already emitted, just exit */
return (0);
@@ -224,6 +230,11 @@ main (
AhDecodeException (Name);
break;
+ case AH_DISPLAY_UUIDS:
+
+ AhDisplayUuids ();
+ break;
+
default:
if (!Name)