grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 1/2] Define the SMBIOS3 entry point structure on EFI
@ 2016-02-20 19:12 David Michael
  2016-02-29 12:36 ` David Michael
  0 siblings, 1 reply; 3+ messages in thread
From: David Michael @ 2016-02-20 19:12 UTC (permalink / raw)
  To: grub-devel; +Cc: phcoder

This adds the GUID and includes it in the lsefisystab module.
---

Changes since v4:

To address points suggested by Andrei Borzenkov:

* Dropped SMBIOS3 support for cfgtables and loadbios.

 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 df10302..7c039c5 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 c7c9f0e..356d855 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.5.0



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

* Re: [PATCH v5 1/2] Define the SMBIOS3 entry point structure on EFI
  2016-02-20 19:12 [PATCH v5 1/2] Define the SMBIOS3 entry point structure on EFI David Michael
@ 2016-02-29 12:36 ` David Michael
  2016-03-02 19:10   ` [2.02] " Andrei Borzenkov
  0 siblings, 1 reply; 3+ messages in thread
From: David Michael @ 2016-02-29 12:36 UTC (permalink / raw)
  To: The development of GNU GRUB; +Cc: Vladimir Serbinenko

On Sat, Feb 20, 2016 at 2:12 PM, David Michael <fedora.dm0@gmail.com> wrote:
> This adds the GUID and includes it in the lsefisystab module.

Pinging to check if these two can make it into 2.02.

Side note:  I was trying a CoreOS snapshot the other day and noticed
they've applied these patches, so here is another use case for them.

https://github.com/coreos/scripts/commit/1f7c749b2d9693bf6a85bcbdea7b8dd4065a0924

Thanks.

David


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

* [2.02] Re: [PATCH v5 1/2] Define the SMBIOS3 entry point structure on EFI
  2016-02-29 12:36 ` David Michael
@ 2016-03-02 19:10   ` Andrei Borzenkov
  0 siblings, 0 replies; 3+ messages in thread
From: Andrei Borzenkov @ 2016-03-02 19:10 UTC (permalink / raw)
  To: The development of GNU GRUB; +Cc: Vladimir Serbinenko

29.02.2016 15:36, David Michael пишет:
> On Sat, Feb 20, 2016 at 2:12 PM, David Michael <fedora.dm0@gmail.com> wrote:
>> This adds the GUID and includes it in the lsefisystab module.
> 
> Pinging to check if these two can make it into 2.02.

Fine from my side.

> 
> Side note:  I was trying a CoreOS snapshot the other day and noticed
> they've applied these patches, so here is another use case for them.
> 

Would be interesting to see real usage examples.

> https://github.com/coreos/scripts/commit/1f7c749b2d9693bf6a85bcbdea7b8dd4065a0924
> 
> Thanks.
> 
> David
> 
> _______________________________________________
> 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

end of thread, other threads:[~2016-03-02 19:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-20 19:12 [PATCH v5 1/2] Define the SMBIOS3 entry point structure on EFI David Michael
2016-02-29 12:36 ` David Michael
2016-03-02 19:10   ` [2.02] " Andrei Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).