[meta-intel] [PATCH 2/6] gnu-efi: Add GUID for SMBIOS 3 entry point structure

Jianxun Zhang jianxun.zhang at linux.intel.com
Tue Jul 12 10:59:54 PDT 2016


UEFI spec has different GUIDs for 32 and 64 bit SMBIOS
entry point structure. This change adds definition for
64 bit GUID, so that software linked with gnu-efi can
have it for x86_64 architecture.

Upstream-Status: Pending

Signed-off-by: Jianxun Zhang <jianxun.zhang at linux.intel.com>
---
 ...d-GUID-for-SMBIOS-3-entry-point-structure.patch | 30 ++++++++++++++++++++++
 common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend      |  2 ++
 2 files changed, 32 insertions(+)
 create mode 100644 common/recipes-bsp/gnu-efi/gnu-efi/0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch
 create mode 100644 common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend

diff --git a/common/recipes-bsp/gnu-efi/gnu-efi/0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch b/common/recipes-bsp/gnu-efi/gnu-efi/0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch
new file mode 100644
index 0000000..0f0db4f
--- /dev/null
+++ b/common/recipes-bsp/gnu-efi/gnu-efi/0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch
@@ -0,0 +1,30 @@
+From e56bf0c61bee01682b41cebce5eb0aeb084dfdb4 Mon Sep 17 00:00:00 2001
+From: Jianxun Zhang <jianxun.zhang at linux.intel.com>
+Date: Wed, 1 Jun 2016 15:04:22 -0700
+Subject: [PATCH] Add GUID for SMBIOS 3 entry point structure
+
+64 bit entry point structure has a different GUID from the
+existing 32 bit version.
+
+Signed-off-by: Jianxun Zhang <jianxun.zhang at linux.intel.com>
+---
+ inc/efiapi.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/inc/efiapi.h b/inc/efiapi.h
+index 14cd939..7e3e1d6 100644
+--- a/inc/efiapi.h
++++ b/inc/efiapi.h
+@@ -895,6 +895,9 @@ typedef struct _EFI_BOOT_SERVICES {
+ #define SMBIOS_TABLE_GUID    \
+     { 0xeb9d2d31, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d} }
+ 
++#define SMBIOS3_TABLE_GUID    \
++    { 0xf2fd1544, 0x9794, 0x4a2c, {0x99, 0x2e, 0xe5, 0xbb, 0xcf, 0x20, 0xe3, 0x94} }
++
+ #define SAL_SYSTEM_TABLE_GUID    \
+     { 0xeb9d2d32, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d} }
+ 
+-- 
+2.7.4
+
diff --git a/common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend b/common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend
new file mode 100644
index 0000000..b20e6e3
--- /dev/null
+++ b/common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/gnu-efi:"
+SRC_URI += "file://0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch"
-- 
2.7.4



More information about the meta-intel mailing list