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.c24
1 files changed, 22 insertions, 2 deletions
diff --git a/source/tools/acpihelp/ahdecode.c b/source/tools/acpihelp/ahdecode.c
index afd240016b38..cd841c3037f1 100644
--- a/source/tools/acpihelp/ahdecode.c
+++ b/source/tools/acpihelp/ahdecode.c
@@ -912,12 +912,32 @@ AhDisplayUuids (
const AH_UUID *Info;
- printf ("ACPI-related UUIDs:\n\n");
+ printf ("ACPI-related UUIDs/GUIDs:\n");
+
+ /* Display entire table of known ACPI-related UUIDs/GUIDs */
for (Info = AcpiUuids; Info->Description; Info++)
{
- printf ("%32s : %s\n", Info->Description, Info->String);
+ if (!Info->String) /* Null UUID string means group description */
+ {
+ printf ("\n%36s\n", Info->Description);
+ }
+ else
+ {
+ printf ("%32s : %s\n", Info->Description, Info->String);
+ }
}
+
+ /* Help info on how UUIDs/GUIDs strings are encoded */
+
+ printf ("\n\nByte encoding of UUID/GUID strings"
+ " into ACPI Buffer objects (use ToUUID from ASL):\n\n");
+
+ printf ("%32s : %s\n", "Input UUID/GUID String format",
+ "aabbccdd-eeff-gghh-iijj-kkllmmnnoopp");
+
+ printf ("%32s : %s\n", "Expected output ACPI buffer",
+ "dd,cc,bb,aa, ff,ee, hh,gg, ii,jj, kk,ll,mm,nn,oo,pp");
}