diff options
Diffstat (limited to 'meta/recipes-core/ovmf/ovmf/0003-ovmf-enable-long-path-file.patch')
-rw-r--r-- | meta/recipes-core/ovmf/ovmf/0003-ovmf-enable-long-path-file.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-core/ovmf/ovmf/0003-ovmf-enable-long-path-file.patch b/meta/recipes-core/ovmf/ovmf/0003-ovmf-enable-long-path-file.patch new file mode 100644 index 0000000000..ab1e7db31f --- /dev/null +++ b/meta/recipes-core/ovmf/ovmf/0003-ovmf-enable-long-path-file.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 60a5f953f747e1e9e05a40157b651cba8ea57b91 Mon Sep 17 00:00:00 2001 | ||
2 | From: Dengke Du <dengke.du@windriver.com> | ||
3 | Date: Mon, 11 Sep 2017 02:21:55 -0400 | ||
4 | Subject: [PATCH 3/5] ovmf: enable long path file | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
8 | |||
9 | --- | ||
10 | BaseTools/Source/C/Common/CommonLib.h | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/BaseTools/Source/C/Common/CommonLib.h b/BaseTools/Source/C/Common/CommonLib.h | ||
14 | index e1cce985f7..d67d03c70c 100644 | ||
15 | --- a/BaseTools/Source/C/Common/CommonLib.h | ||
16 | +++ b/BaseTools/Source/C/Common/CommonLib.h | ||
17 | @@ -14,7 +14,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent | ||
18 | #include <assert.h> | ||
19 | #define PRINTED_GUID_BUFFER_SIZE 37 // including null-termination | ||
20 | |||
21 | -#define MAX_LONG_FILE_PATH 500 | ||
22 | +#define MAX_LONG_FILE_PATH 1023 | ||
23 | |||
24 | #define MAX_UINT64 ((UINT64)0xFFFFFFFFFFFFFFFFULL) | ||
25 | #define MAX_UINT32 ((UINT32)0xFFFFFFFF) | ||
26 | -- | ||
27 | 2.17.1 | ||
28 | |||