All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 1/2] Define SMBIOS3 entry point structures for EFI
@ 2019-07-05 12:47 David Michael
  2019-07-06 11:17 ` Leif Lindholm
  0 siblings, 1 reply; 3+ messages in thread
From: David Michael @ 2019-07-05 12:47 UTC (permalink / raw)
  To: grub-devel; +Cc: paravoid

This adds the GUID, and includes it in lsefisystab output.

Signed-off-by: David Michael <fedora.dm0@gmail.com>
---

No changes since v6, just rebased onto 2.04

 grub-core/commands/efi/lsefisystab.c | 1 +
 include/grub/efi/api.h               | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/grub-core/commands/efi/lsefisystab.c b/grub-core/commands/efi/lsefisystab.c
index df1030221..7c039c509 100644
--- a/grub-core/commands/efi/lsefisystab.c
+++ b/grub-core/commands/efi/lsefisystab.c
@@ -48,6 +48,7 @@ static const struct guid_mapping guid_mappings[] =
     { GRUB_EFI_MPS_TABLE_GUID, "MPS"},
     { GRUB_EFI_SAL_TABLE_GUID, "SAL"},
     { GRUB_EFI_SMBIOS_TABLE_GUID, "SMBIOS"},
+    { GRUB_EFI_SMBIOS3_TABLE_GUID, "SMBIOS3"},
     { GRUB_EFI_SYSTEM_RESOURCE_TABLE_GUID, "SYSTEM RESOURCE TABLE"},
     { GRUB_EFI_TIANO_CUSTOM_DECOMPRESS_GUID, "TIANO CUSTOM DECOMPRESS"},
     { GRUB_EFI_TSC_FREQUENCY_GUID, "TSC FREQUENCY"},
diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h
index addcbfa8f..576074384 100644
--- a/include/grub/efi/api.h
+++ b/include/grub/efi/api.h
@@ -314,6 +314,11 @@
     { 0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
   }
 
+#define GRUB_EFI_SMBIOS3_TABLE_GUID	\
+  { 0xf2fd1544, 0x9794, 0x4a2c, \
+    { 0x99, 0x2e, 0xe5, 0xbb, 0xcf, 0x20, 0xe3, 0x94 } \
+  }
+
 #define GRUB_EFI_SAL_TABLE_GUID \
   { 0xeb9d2d32, 0x2d88, 0x11d3, \
       { 0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v7 1/2] Define SMBIOS3 entry point structures for EFI
  2019-07-05 12:47 [PATCH v7 1/2] Define SMBIOS3 entry point structures for EFI David Michael
@ 2019-07-06 11:17 ` Leif Lindholm
  2019-07-11 15:18   ` Daniel Kiper
  0 siblings, 1 reply; 3+ messages in thread
From: Leif Lindholm @ 2019-07-06 11:17 UTC (permalink / raw)
  To: The development of GNU GRUB; +Cc: paravoid, Daniel Kiper

On Fri, Jul 05, 2019 at 08:47:02AM -0400, David Michael wrote:
> This adds the GUID, and includes it in lsefisystab output.
> 
> Signed-off-by: David Michael <fedora.dm0@gmail.com>

Oh, and here we already have the SMBIOS 3.0 entry, splendid.
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

Daniel: please consider merging this one independently on 2/2, if that
isn't going in straightaway.

> ---
> 
> No changes since v6, just rebased onto 2.04
> 
>  grub-core/commands/efi/lsefisystab.c | 1 +
>  include/grub/efi/api.h               | 5 +++++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/grub-core/commands/efi/lsefisystab.c b/grub-core/commands/efi/lsefisystab.c
> index df1030221..7c039c509 100644
> --- a/grub-core/commands/efi/lsefisystab.c
> +++ b/grub-core/commands/efi/lsefisystab.c
> @@ -48,6 +48,7 @@ static const struct guid_mapping guid_mappings[] =
>      { GRUB_EFI_MPS_TABLE_GUID, "MPS"},
>      { GRUB_EFI_SAL_TABLE_GUID, "SAL"},
>      { GRUB_EFI_SMBIOS_TABLE_GUID, "SMBIOS"},
> +    { GRUB_EFI_SMBIOS3_TABLE_GUID, "SMBIOS3"},
>      { GRUB_EFI_SYSTEM_RESOURCE_TABLE_GUID, "SYSTEM RESOURCE TABLE"},
>      { GRUB_EFI_TIANO_CUSTOM_DECOMPRESS_GUID, "TIANO CUSTOM DECOMPRESS"},
>      { GRUB_EFI_TSC_FREQUENCY_GUID, "TSC FREQUENCY"},
> diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h
> index addcbfa8f..576074384 100644
> --- a/include/grub/efi/api.h
> +++ b/include/grub/efi/api.h
> @@ -314,6 +314,11 @@
>      { 0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
>    }
>  
> +#define GRUB_EFI_SMBIOS3_TABLE_GUID	\
> +  { 0xf2fd1544, 0x9794, 0x4a2c, \
> +    { 0x99, 0x2e, 0xe5, 0xbb, 0xcf, 0x20, 0xe3, 0x94 } \
> +  }
> +
>  #define GRUB_EFI_SAL_TABLE_GUID \
>    { 0xeb9d2d32, 0x2d88, 0x11d3, \
>        { 0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v7 1/2] Define SMBIOS3 entry point structures for EFI
  2019-07-06 11:17 ` Leif Lindholm
@ 2019-07-11 15:18   ` Daniel Kiper
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Kiper @ 2019-07-11 15:18 UTC (permalink / raw)
  To: Leif Lindholm; +Cc: The development of GNU GRUB, paravoid, Daniel Kiper

On Sat, Jul 06, 2019 at 12:17:11PM +0100, Leif Lindholm wrote:
> On Fri, Jul 05, 2019 at 08:47:02AM -0400, David Michael wrote:
> > This adds the GUID, and includes it in lsefisystab output.
> >
> > Signed-off-by: David Michael <fedora.dm0@gmail.com>
>
> Oh, and here we already have the SMBIOS 3.0 entry, splendid.
> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

> Daniel: please consider merging this one independently on 2/2, if that
> isn't going in straightaway.

I will take both. 2/2 is in quite good shape.

Daniel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-11 15:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-05 12:47 [PATCH v7 1/2] Define SMBIOS3 entry point structures for EFI David Michael
2019-07-06 11:17 ` Leif Lindholm
2019-07-11 15:18   ` Daniel Kiper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.