Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
2690e584
O
OpenCorePKG_MOD
项目概览
btwise
/
OpenCorePKG_MOD
通知
26
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
OpenCorePKG_MOD
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2690e584
编写于
5月 13, 2020
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Docs: Fixed assertions on log exhaustion causing boot failures
closes acidanthera/bugtracker#445
上级
52c7579c
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
46 addition
and
24 deletion
+46
-24
Changelog.md
Changelog.md
+1
-0
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+4
-3
Docs/Differences/Differences.pdf
Docs/Differences/Differences.pdf
+0
-0
Docs/Differences/Differences.tex
Docs/Differences/Differences.tex
+7
-4
Patches/0002-MdePkg-Workaround-SafeString-from-BaseLib-misprarsin.patch
...dePkg-Workaround-SafeString-from-BaseLib-misprarsin.patch
+29
-0
Platform/OpenCore/OpenCoreNvram.c
Platform/OpenCore/OpenCoreNvram.c
+1
-9
Platform/OpenCore/OpenCorePlatform.c
Platform/OpenCore/OpenCorePlatform.c
+4
-8
未找到文件。
Changelog.md
浏览文件 @
2690e584
...
...
@@ -25,6 +25,7 @@ OpenCore Changelog
-
Removed
`RequestBootVarFallback`
due to numerous bugs
-
Added
`DeduplicateBootOrder`
UEFI quirk
-
Removed
`DirectGopCacheMode`
due to being ineffective
-
Fixed assertions on log exhaustion causing boot failures
#### v0.5.8
-
Fixed invalid CPU object reference in SSDT-PLUG
...
...
Docs/Configuration.pdf
浏览文件 @
2690e584
无法预览此类型文件
Docs/Configuration.tex
浏览文件 @
2690e584
...
...
@@ -557,12 +557,13 @@ the list of modifications across all published updates.
\subsection
{
Contribution
}
\label
{
configuration-comp
}
OpenCore can be compiled as an ordinary
\href
{
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
}{
EDK II
}
.
\href
{
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
}{
EDK II
}
package
.
Since
\href
{
https://github.com/tianocore/tianocore.github.io/wiki/UDK
}{
UDK
}
development was abandoned by TianoCore, OpenCore requires the use of
\href
{
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II#stable-tags
}{
EDK II Stable
}
.
Currently supported EDK II release (potentially with patches enhancing the experience)
is hosted in
\href
{
https://github.com/acidanthera/audk
}{
acidanthera/audk
}
.
Currently supported EDK II release is hosted in
\href
{
https://github.com/acidanthera/audk
}{
acidanthera/audk
}
. The required patches
for the package are present in
\texttt
{
Patches
}
directory.
The only officially supported toolchain is
\texttt
{
XCODE5
}
. Other toolchains
might work, but are neither supported, nor recommended. Contribution of clean
...
...
Docs/Differences/Differences.pdf
浏览文件 @
2690e584
无法预览此类型文件
Docs/Differences/Differences.tex
浏览文件 @
2690e584
\documentclass
[]
{
article
}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Mon May 11 17:11:58 2020
%DIF ADD ../Configuration.tex Wed May 13
16:09:1
1 2020
%DIF ADD ../Configuration.tex Wed May 13
22:16:4
1 2020
\usepackage
{
lmodern
}
\usepackage
{
amssymb,amsmath
}
...
...
@@ -718,12 +718,15 @@ the list of modifications across all published updates.
\subsection
{
Contribution
}
\label
{
configuration-comp
}
OpenCore can be compiled as an ordinary
\href
{
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
}{
EDK II
}
.
\href
{
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
}{
EDK II
}
\DIFaddbegin
\DIFadd
{
package
}
\DIFaddend
.
Since
\href
{
https://github.com/tianocore/tianocore.github.io/wiki/UDK
}{
UDK
}
development was abandoned by TianoCore, OpenCore requires the use of
\href
{
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II#stable-tags
}{
EDK II Stable
}
.
Currently supported EDK II release (potentially with patches enhancing the experience)
is hosted in
\href
{
https://github.com/acidanthera/audk
}{
acidanthera/audk
}
.
Currently supported EDK II release
\DIFdelbegin
\DIFdel
{
(potentially with patches enhancing the experience)
}
\DIFdelend
is hosted in
\href
{
https://github.com/acidanthera/audk
}{
acidanthera/audk
}
.
\DIFaddbegin
\DIFadd
{
The required patches
for the package are present in
}
\texttt
{
\DIFadd
{
Patches
}}
\DIFadd
{
directory.
}
\DIFaddend
The only officially supported toolchain is
\texttt
{
XCODE5
}
. Other toolchains
might work, but are neither supported, nor recommended. Contribution of clean
...
...
Patches/0002-MdePkg-Workaround-SafeString-from-BaseLib-misprarsin.patch
0 → 100644
浏览文件 @
2690e584
From 5873c1446d94f03a2111db9d0b78a1637e4a16bb Mon Sep 17 00:00:00 2001
From: Vitaly Cheptsov <vit9696@protonmail.com>
Date: Wed, 13 May 2020 22:10:10 +0300
Subject: [PATCH 1/1] MdePkg: Workaround SafeString from BaseLib misprarsing
data
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2054
Attempts to upstream this failed due to sabotage from Intel.
Refer to edk2-devel mailing list for more details.
---
MdePkg/Library/BaseLib/SafeString.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/MdePkg/Library/BaseLib/SafeString.c b/MdePkg/Library/BaseLib/SafeString.c
index 7dc03d2caa..478b3e9ea2 100644
--- a/MdePkg/Library/BaseLib/SafeString.c
+++ b/MdePkg/Library/BaseLib/SafeString.c
@@ -14,7 +14,6 @@
#define SAFE_STRING_CONSTRAINT_CHECK(Expression, Status) \
do { \
- ASSERT (Expression); \
if (!(Expression)) { \
return Status; \
} \
--
2.24.2 (Apple Git-127)
Platform/OpenCore/OpenCoreNvram.c
浏览文件 @
2690e584
...
...
@@ -108,15 +108,7 @@ OcProcessVariableGuid (
EFI_STATUS
Status
;
UINT32
GuidIndex
;
//
// FIXME: Checking string length manually is due to inadequate assertions.
//
if
(
AsciiStrLen
(
AsciiVariableGuid
)
==
GUID_STRING_LENGTH
)
{
Status
=
AsciiStrToGuid
(
AsciiVariableGuid
,
VariableGuid
);
}
else
{
Status
=
EFI_BUFFER_TOO_SMALL
;
}
Status
=
AsciiStrToGuid
(
AsciiVariableGuid
,
VariableGuid
);
if
(
EFI_ERROR
(
Status
))
{
DEBUG
((
DEBUG_WARN
,
"OC: Failed to convert NVRAM GUID %a - %r
\n
"
,
AsciiVariableGuid
,
Status
));
}
...
...
Platform/OpenCore/OpenCorePlatform.c
浏览文件 @
2690e584
...
...
@@ -72,8 +72,7 @@ OcPlatformUpdateDataHub (
Data
.
SystemSerialNumber
=
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
DataHub
.
SystemSerialNumber
);
}
if
(
Config
->
PlatformInfo
.
DataHub
.
SystemUuid
.
Size
==
GUID_STRING_LENGTH
+
1
&&
!
EFI_ERROR
(
AsciiStrToGuid
(
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
DataHub
.
SystemUuid
),
&
Uuid
)))
{
if
(
!
EFI_ERROR
(
AsciiStrToGuid
(
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
DataHub
.
SystemUuid
),
&
Uuid
)))
{
Data
.
SystemUUID
=
&
Uuid
;
}
...
...
@@ -138,8 +137,7 @@ OcPlatformUpdateDataHub (
Data
.
SystemSerialNumber
=
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
Generic
.
SystemSerialNumber
);
}
if
(
Config
->
PlatformInfo
.
Generic
.
SystemUuid
.
Size
==
GUID_STRING_LENGTH
+
1
&&
!
EFI_ERROR
(
AsciiStrToGuid
(
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
Generic
.
SystemUuid
),
&
Uuid
)))
{
if
(
!
EFI_ERROR
(
AsciiStrToGuid
(
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
Generic
.
SystemUuid
),
&
Uuid
)))
{
Data
.
SystemUUID
=
&
Uuid
;
}
...
...
@@ -211,8 +209,7 @@ OcPlatformUpdateSmbios (
Data
.
SystemSerialNumber
=
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
Smbios
.
SystemSerialNumber
);
}
if
(
Config
->
PlatformInfo
.
DataHub
.
SystemUuid
.
Size
==
GUID_STRING_LENGTH
+
1
&&
!
EFI_ERROR
(
AsciiStrToGuid
(
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
DataHub
.
SystemUuid
),
&
Uuid
)))
{
if
(
!
EFI_ERROR
(
AsciiStrToGuid
(
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
DataHub
.
SystemUuid
),
&
Uuid
)))
{
Data
.
SystemUUID
=
&
Uuid
;
}
...
...
@@ -310,8 +307,7 @@ OcPlatformUpdateSmbios (
Data
.
SystemSerialNumber
=
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
Generic
.
SystemSerialNumber
);
}
if
(
Config
->
PlatformInfo
.
Generic
.
SystemUuid
.
Size
==
GUID_STRING_LENGTH
+
1
&&
!
EFI_ERROR
(
AsciiStrToGuid
(
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
Generic
.
SystemUuid
),
&
Uuid
)))
{
if
(
!
EFI_ERROR
(
AsciiStrToGuid
(
OC_BLOB_GET
(
&
Config
->
PlatformInfo
.
Generic
.
SystemUuid
),
&
Uuid
)))
{
Data
.
SystemUUID
=
&
Uuid
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录