[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/1] lsefisystab: support device tree
From: |
Leif Lindholm |
Subject: |
Re: [PATCH 1/1] lsefisystab: support device tree |
Date: |
Sat, 6 Jul 2019 12:06:06 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Sat, Jul 06, 2019 at 11:11:02AM +0200, Heinrich Schuchardt wrote:
> The device tree may passed by the firmware as UEFI configuration table.
>
> Let lsefisystab display a short text and not only the GUID for the device
> tree.
>
> Here is an example output:
>
> grub> lsefisystab
> Address: 0xbff694d8
> Signature: 5453595320494249 revision: 00020046
> Vendor: Das U-Boot, Version=20190700
> 2 tables:
> 0xbe741000 eb9d2d31-2d88-11d3-9a160090273fc14d SMBIOS
> 0x87f00000 b1b621d5-f19c-41a5-830bd9152c69aae0 DEVICE TREE
>
> Signed-off-by: Heinrich Schuchardt <address@hidden>
Good idea!
Reviewed-by: Leif Lindholm <address@hidden>
This is also a good nudge that I ought to go through and update that
table in general. SMBIOS 3.0, ESRT and MEMATTR are missing - and some
of the others are architecture-specific.
/
Leif
> ---
> grub-core/commands/efi/lsefisystab.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/grub-core/commands/efi/lsefisystab.c
> b/grub-core/commands/efi/lsefisystab.c
> index df1030221..97a838541 100644
> --- a/grub-core/commands/efi/lsefisystab.c
> +++ b/grub-core/commands/efi/lsefisystab.c
> @@ -40,6 +40,7 @@ static const struct guid_mapping guid_mappings[] =
> { GRUB_EFI_CRC32_GUIDED_SECTION_EXTRACTION_GUID,
> "CRC32 GUIDED SECTION EXTRACTION"},
> { GRUB_EFI_DEBUG_IMAGE_INFO_TABLE_GUID, "DEBUG IMAGE INFO"},
> + { GRUB_EFI_DEVICE_TREE_GUID, "DEVICE TREE"},
> { GRUB_EFI_DXE_SERVICES_TABLE_GUID, "DXE SERVICES"},
> { GRUB_EFI_HCDP_TABLE_GUID, "HCDP"},
> { GRUB_EFI_HOB_LIST_GUID, "HOB LIST"},
> --
> 2.20.1
>