Skip to content

Commit f551d3d

Browse files
xypronDaniel Kiper
authored andcommitted
commands/efi/lsefisystab: Recognize EFI_MEMORY_ATTRIBUTES_TABLE_GUID and EFI_TCG2_FINAL_EVENTS_TABLE_GUID
Let the lsefisystab command recognize the following table GUIDs: - EFI_MEMORY_ATTRIBUTES_TABLE_GUID, - EFI_TCG2_FINAL_EVENTS_TABLE_GUID. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
1 parent ee283b1 commit f551d3d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

grub-core/commands/efi/lsefisystab.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@ static const struct guid_mapping guid_mappings[] =
4747
{ GRUB_EFI_HOB_LIST_GUID, "HOB LIST"},
4848
{ GRUB_EFI_IMAGE_SECURITY_DATABASE_GUID, "IMAGE EXECUTION INFORMATION"},
4949
{ GRUB_EFI_LZMA_CUSTOM_DECOMPRESS_GUID, "LZMA CUSTOM DECOMPRESS"},
50+
{ GRUB_EFI_MEMORY_ATTRIBUTES_TABLE_GUID, "MEMORY ATTRIBUTES TABLE"},
5051
{ GRUB_EFI_MEMORY_TYPE_INFORMATION_GUID, "MEMORY TYPE INFO"},
5152
{ GRUB_EFI_MPS_TABLE_GUID, "MPS"},
5253
{ GRUB_EFI_RT_PROPERTIES_TABLE_GUID, "RT PROPERTIES"},
5354
{ GRUB_EFI_SAL_TABLE_GUID, "SAL"},
5455
{ GRUB_EFI_SMBIOS_TABLE_GUID, "SMBIOS"},
5556
{ GRUB_EFI_SMBIOS3_TABLE_GUID, "SMBIOS3"},
5657
{ GRUB_EFI_SYSTEM_RESOURCE_TABLE_GUID, "SYSTEM RESOURCE TABLE"},
58+
{ GRUB_EFI_TCG2_FINAL_EVENTS_TABLE_GUID, "TCG2 FINAL EVENTS TABLE"},
5759
{ GRUB_EFI_TIANO_CUSTOM_DECOMPRESS_GUID, "TIANO CUSTOM DECOMPRESS"},
5860
{ GRUB_EFI_TSC_FREQUENCY_GUID, "TSC FREQUENCY"},
5961
};

include/grub/efi/api.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,16 @@
389389
{ 0xa1, 0x92, 0xbf, 0x1d, 0x57, 0xd0, 0xb1, 0x89 } \
390390
}
391391

392+
#define GRUB_EFI_MEMORY_ATTRIBUTES_TABLE_GUID \
393+
{ 0xdcfa911d, 0x26eb, 0x469f, \
394+
{ 0xa2, 0x20, 0x38, 0xb7, 0xdc, 0x46, 0x12, 0x20 } \
395+
}
396+
397+
#define GRUB_EFI_TCG2_FINAL_EVENTS_TABLE_GUID \
398+
{ 0x1e2ed096, 0x30e2, 0x4254, \
399+
{ 0xbd, 0x89, 0x86, 0x3b, 0xbe, 0xf8, 0x23, 0x25 } \
400+
}
401+
392402
struct grub_efi_sal_system_table
393403
{
394404
grub_uint32_t signature;

0 commit comments

Comments
 (0)