efi: Add another tranch of GUIDs
authorSimon Glass <sjg@chromium.org>
Sun, 19 Mar 2023 19:30:11 +0000 (08:30 +1300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 25 Mar 2023 10:07:22 +0000 (11:07 +0100)
Provide information about the GUIDs supplied by QEMU, so far as it is
known.

These values are used in the 'efi table' command as well as the printf
format string %sU

Signed-off-by: Simon Glass <sjg@chromium.org>
include/efi_api.h
lib/uuid.c

index 7f09253..c4512ee 100644 (file)
@@ -1909,6 +1909,25 @@ struct efi_system_resource_table {
        EFI_GUID(0x4aafd29d, 0x68df, 0x49ee, 0x8a, 0xa9, \
                 0x34, 0x7d, 0x37, 0x56, 0x65, 0xa7)
 
+#define EFI_LZMA_COMPRESSED \
+       EFI_GUID(0xee4e5898, 0x3914, 0x4259, 0x9d, 0x6e, \
+                0xdc, 0x7b, 0xd7, 0x94, 0x03, 0xcf)
+#define EFI_DXE_SERVICES \
+       EFI_GUID(0x05ad34ba, 0x6f02, 0x4214, 0x95, 0x2e, \
+                0x4d, 0xa0, 0x39, 0x8e, 0x2b, 0xb9)
+#define EFI_HOB_LIST \
+       EFI_GUID(0x7739f24c, 0x93d7, 0x11d4, 0x9a, 0x3a,  \
+                0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d)
+#define EFI_MEMORY_TYPE \
+       EFI_GUID(0x4c19049f, 0x4137, 0x4dd3, 0x9c, 0x10, \
+                0x8b, 0x97, 0xa8, 0x3f, 0xfd, 0xfa)
+#define EFI_MEM_STATUS_CODE_REC \
+       EFI_GUID(0x060cc026, 0x4c0d, 0x4dda, 0x8f, 0x41, \
+                0x59, 0x5f, 0xef, 0x00, 0xa5, 0x02)
+#define EFI_GUID_EFI_ACPI1 \
+       EFI_GUID(0xeb9d2d30, 0x2d88, 0x11d3,  0x9a, 0x16, \
+                0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d)
+
 /**
  * struct win_certificate_uefi_guid - A certificate that encapsulates
  * a GUID-specific signature
index 465e1ac..5ea30a6 100644 (file)
@@ -255,6 +255,14 @@ static const struct {
                EFI_CERT_TYPE_PKCS7_GUID,
        },
 #endif
+#ifdef CONFIG_EFI
+       { "EFI_LZMA_COMPRESSED", EFI_LZMA_COMPRESSED },
+       { "EFI_DXE_SERVICES", EFI_DXE_SERVICES },
+       { "EFI_HOB_LIST", EFI_HOB_LIST },
+       { "EFI_MEMORY_TYPE", EFI_MEMORY_TYPE },
+       { "EFI_MEM_STATUS_CODE_REC", EFI_MEM_STATUS_CODE_REC },
+       { "EFI_GUID_EFI_ACPI1", EFI_GUID_EFI_ACPI1 },
+#endif
 };
 
 /*