diff options
author | Jianxun Zhang <jianxun.zhang@linux.intel.com> | 2016-08-03 11:04:13 -0700 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2016-08-03 17:36:10 -0500 |
commit | 8fe13a12c26022843a31e0909f34843f78bdacf6 (patch) | |
tree | 2fc73058b9ce8dcbc3e00bf697615c388e643ca8 | |
parent | 6a09c102f2b58a34a18762de64894466152a8a7d (diff) | |
download | meta-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>
-rw-r--r-- | common/recipes-bsp/gnu-efi/gnu-efi/0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch | 32 | ||||
-rw-r--r-- | common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend | 2 |
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 00000000..c86bf089 --- /dev/null +++ b/common/recipes-bsp/gnu-efi/gnu-efi/0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 4b2d610bbeb6d8a421abd62c8112456e7b35fd75 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jianxun Zhang <jianxun.zhang@linux.intel.com> | ||
3 | Date: Wed, 1 Jun 2016 15:04:22 -0700 | ||
4 | Subject: [PATCH] Add GUID for SMBIOS 3 entry point structure | ||
5 | |||
6 | 64 bit entry point structure has a different GUID from the | ||
7 | existing 32 bit version. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> | ||
12 | --- | ||
13 | inc/efiapi.h | 3 +++ | ||
14 | 1 file changed, 3 insertions(+) | ||
15 | |||
16 | diff --git a/inc/efiapi.h b/inc/efiapi.h | ||
17 | index 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 | -- | ||
31 | 2.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 00000000..b20e6e3e --- /dev/null +++ b/common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend | |||
@@ -0,0 +1,2 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/gnu-efi:" | ||
2 | SRC_URI += "file://0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch" | ||