summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJianxun Zhang <jianxun.zhang@linux.intel.com>2016-08-03 18:04:13 (GMT)
committerTom Zanussi <tom.zanussi@linux.intel.com>2016-08-03 22:36:10 (GMT)
commit8fe13a12c26022843a31e0909f34843f78bdacf6 (patch)
tree2fc73058b9ce8dcbc3e00bf697615c388e643ca8 /common
parent6a09c102f2b58a34a18762de64894466152a8a7d (diff)
downloadmeta-intel-8fe13a12c26022843a31e0909f34843f78bdacf6.tar.gz
gnu-efi: Add GUID for SMBIOS 3 entry point structure
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. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Reviewed-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Diffstat (limited to 'common')
-rw-r--r--common/recipes-bsp/gnu-efi/gnu-efi/0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch32
-rw-r--r--common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend2
2 files changed, 34 insertions, 0 deletions
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..c86bf08
--- /dev/null
+++ b/common/recipes-bsp/gnu-efi/gnu-efi/0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch
@@ -0,0 +1,32 @@
1From 4b2d610bbeb6d8a421abd62c8112456e7b35fd75 Mon Sep 17 00:00:00 2001
2From: Jianxun Zhang <jianxun.zhang@linux.intel.com>
3Date: Wed, 1 Jun 2016 15:04:22 -0700
4Subject: [PATCH] Add GUID for SMBIOS 3 entry point structure
5
664 bit entry point structure has a different GUID from the
7existing 32 bit version.
8
9Upstream-Status: Pending
10
11Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
12---
13 inc/efiapi.h | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/inc/efiapi.h b/inc/efiapi.h
17index 14cd939..7e3e1d6 100644
18--- a/inc/efiapi.h
19+++ b/inc/efiapi.h
20@@ -895,6 +895,9 @@ typedef struct _EFI_BOOT_SERVICES {
21 #define SMBIOS_TABLE_GUID \
22 { 0xeb9d2d31, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d} }
23
24+#define SMBIOS3_TABLE_GUID \
25+ { 0xf2fd1544, 0x9794, 0x4a2c, {0x99, 0x2e, 0xe5, 0xbb, 0xcf, 0x20, 0xe3, 0x94} }
26+
27 #define SAL_SYSTEM_TABLE_GUID \
28 { 0xeb9d2d32, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d} }
29
30--
312.7.4
32
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 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/gnu-efi:"
2SRC_URI += "file://0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch"