Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
15fdaf63
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,发现更多精彩内容 >>
提交
15fdaf63
编写于
5月 13, 2020
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OpenCoreUefiInOut: Removed `DirectGopCacheMode` due to being ineffective
上级
86a49fb2
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
2 addition
and
36 deletion
+2
-36
Changelog.md
Changelog.md
+1
-0
Docs/Configuration.tex
Docs/Configuration.tex
+0
-15
Docs/Sample.plist
Docs/Sample.plist
+0
-2
Docs/SampleFull.plist
Docs/SampleFull.plist
+0
-2
Include/Library/OcConfigurationLib.h
Include/Library/OcConfigurationLib.h
+0
-1
Library/OcConfigurationLib/OcConfigurationLib.c
Library/OcConfigurationLib/OcConfigurationLib.c
+0
-1
Platform/OpenCore/OpenCoreUefiInOut.c
Platform/OpenCore/OpenCoreUefiInOut.c
+1
-15
未找到文件。
Changelog.md
浏览文件 @
15fdaf63
...
@@ -24,6 +24,7 @@ OpenCore Changelog
...
@@ -24,6 +24,7 @@ OpenCore Changelog
-
Fixed CPU detection crash with QEMU 5.0 and KVM accelerator
-
Fixed CPU detection crash with QEMU 5.0 and KVM accelerator
-
Removed
`RequestBootVarFallback`
due to numerous bugs
-
Removed
`RequestBootVarFallback`
due to numerous bugs
-
Added
`DeduplicateBootOrder`
UEFI quirk
-
Added
`DeduplicateBootOrder`
UEFI quirk
-
Removed
`DirectGopCacheMode`
due to being ineffective
#### v0.5.8
#### v0.5.8
-
Fixed invalid CPU object reference in SSDT-PLUG
-
Fixed invalid CPU object reference in SSDT-PLUG
...
...
Docs/Configuration.tex
浏览文件 @
15fdaf63
...
@@ -4849,21 +4849,6 @@ functioning. Feature highlights:
...
@@ -4849,21 +4849,6 @@ functioning. Feature highlights:
\emph
{
Note
}
: This option only applies to
\texttt
{
System
}
renderer.
\emph
{
Note
}
: This option only applies to
\texttt
{
System
}
renderer.
\item
\texttt
{
DirectGopCacheMode
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
string
}
\\
\textbf
{
Failsafe
}
: Empty string
\\
\textbf
{
Description
}
: Cache mode for builtin graphics output protocol framebuffer.
Tuning cache mode may provide better rendering performance on some firmwares.
Providing empty string leaves cache control settings to the firmware.
Valid non
-
empty values are:
\texttt
{
Uncacheable
}
,
\texttt
{
WriteCombining
}
, and
\texttt
{
WriteThrough
}
.
\emph
{
Note
}
: This option is not supported on most hardware
(
see
\href
{
https:
//
github.com
/
acidanthera
/
bugtracker
/
issues
/
755
}{
acidanthera
/
bugtracker
\#
755
}
for more details
)
.
\item
\item
\texttt
{
DirectGopRendering
}
\\
\texttt
{
DirectGopRendering
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
...
...
Docs/Sample.plist
浏览文件 @
15fdaf63
...
@@ -860,8 +860,6 @@
...
@@ -860,8 +860,6 @@
<false/>
<false/>
<key>
ConsoleMode
</key>
<key>
ConsoleMode
</key>
<string></string>
<string></string>
<key>
DirectGopCacheMode
</key>
<string></string>
<key>
DirectGopRendering
</key>
<key>
DirectGopRendering
</key>
<false/>
<false/>
<key>
IgnoreTextInGraphics
</key>
<key>
IgnoreTextInGraphics
</key>
...
...
Docs/SampleFull.plist
浏览文件 @
15fdaf63
...
@@ -963,8 +963,6 @@
...
@@ -963,8 +963,6 @@
<false/>
<false/>
<key>
ConsoleMode
</key>
<key>
ConsoleMode
</key>
<string></string>
<string></string>
<key>
DirectGopCacheMode
</key>
<string></string>
<key>
DirectGopRendering
</key>
<key>
DirectGopRendering
</key>
<false/>
<false/>
<key>
IgnoreTextInGraphics
</key>
<key>
IgnoreTextInGraphics
</key>
...
...
Include/Library/OcConfigurationLib.h
浏览文件 @
15fdaf63
...
@@ -517,7 +517,6 @@ typedef enum {
...
@@ -517,7 +517,6 @@ typedef enum {
_(OC_STRING , ConsoleMode , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING)) \
_(OC_STRING , ConsoleMode , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING)) \
_(OC_STRING , Resolution , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING)) \
_(OC_STRING , Resolution , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING)) \
_(OC_STRING , TextRenderer , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING)) \
_(OC_STRING , TextRenderer , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING)) \
_(OC_STRING , DirectGopCacheMode , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING)) \
_(BOOLEAN , IgnoreTextInGraphics , , FALSE , ()) \
_(BOOLEAN , IgnoreTextInGraphics , , FALSE , ()) \
_(BOOLEAN , ClearScreenOnModeSwitch , , FALSE , ()) \
_(BOOLEAN , ClearScreenOnModeSwitch , , FALSE , ()) \
_(BOOLEAN , ProvideConsoleGop , , FALSE , ()) \
_(BOOLEAN , ProvideConsoleGop , , FALSE , ()) \
...
...
Library/OcConfigurationLib/OcConfigurationLib.c
浏览文件 @
15fdaf63
...
@@ -601,7 +601,6 @@ OC_SCHEMA
...
@@ -601,7 +601,6 @@ OC_SCHEMA
mUefiOutputSchema
[]
=
{
mUefiOutputSchema
[]
=
{
OC_SCHEMA_BOOLEAN_IN
(
"ClearScreenOnModeSwitch"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
ClearScreenOnModeSwitch
),
OC_SCHEMA_BOOLEAN_IN
(
"ClearScreenOnModeSwitch"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
ClearScreenOnModeSwitch
),
OC_SCHEMA_STRING_IN
(
"ConsoleMode"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
ConsoleMode
),
OC_SCHEMA_STRING_IN
(
"ConsoleMode"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
ConsoleMode
),
OC_SCHEMA_STRING_IN
(
"DirectGopCacheMode"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
DirectGopCacheMode
),
OC_SCHEMA_BOOLEAN_IN
(
"DirectGopRendering"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
DirectGopRendering
),
OC_SCHEMA_BOOLEAN_IN
(
"DirectGopRendering"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
DirectGopRendering
),
OC_SCHEMA_BOOLEAN_IN
(
"IgnoreTextInGraphics"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
IgnoreTextInGraphics
),
OC_SCHEMA_BOOLEAN_IN
(
"IgnoreTextInGraphics"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
IgnoreTextInGraphics
),
OC_SCHEMA_BOOLEAN_IN
(
"ProvideConsoleGop"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
ProvideConsoleGop
),
OC_SCHEMA_BOOLEAN_IN
(
"ProvideConsoleGop"
,
OC_GLOBAL_CONFIG
,
Uefi
.
Output
.
ProvideConsoleGop
),
...
...
Platform/OpenCore/OpenCoreUefiInOut.c
浏览文件 @
15fdaf63
...
@@ -191,7 +191,6 @@ OcLoadUefiOutputSupport (
...
@@ -191,7 +191,6 @@ OcLoadUefiOutputSupport (
{
{
EFI_STATUS
Status
;
EFI_STATUS
Status
;
CONST
CHAR8
*
AsciiRenderer
;
CONST
CHAR8
*
AsciiRenderer
;
CONST
CHAR8
*
AsciiCacheMode
;
OC_CONSOLE_RENDERER
Renderer
;
OC_CONSOLE_RENDERER
Renderer
;
UINT32
Width
;
UINT32
Width
;
UINT32
Height
;
UINT32
Height
;
...
@@ -241,20 +240,7 @@ OcLoadUefiOutputSupport (
...
@@ -241,20 +240,7 @@ OcLoadUefiOutputSupport (
}
}
if
(
Config
->
Uefi
.
Output
.
DirectGopRendering
)
{
if
(
Config
->
Uefi
.
Output
.
DirectGopRendering
)
{
AsciiCacheMode
=
OC_BLOB_GET
(
&
Config
->
Uefi
.
Output
.
DirectGopCacheMode
);
OcUseDirectGop
(
-
1
);
if
(
AsciiCacheMode
[
0
]
==
'\0'
)
{
OcUseDirectGop
(
-
1
);
}
else
if
(
AsciiStrCmp
(
AsciiCacheMode
,
"Uncacheable"
)
==
0
)
{
OcUseDirectGop
(
CacheUncacheable
);
}
else
if
(
AsciiStrCmp
(
AsciiCacheMode
,
"WriteCombining"
)
==
0
)
{
OcUseDirectGop
(
CacheWriteCombining
);
}
else
if
(
AsciiStrCmp
(
AsciiCacheMode
,
"WriteThrough"
)
==
0
)
{
OcUseDirectGop
(
CacheWriteThrough
);
}
else
{
DEBUG
((
DEBUG_WARN
,
"OC: Requested unknown cache mode %a
\n
"
,
AsciiCacheMode
));
OcUseDirectGop
(
-
1
);
}
}
}
if
(
Config
->
Uefi
.
Output
.
ReconnectOnResChange
&&
!
EFI_ERROR
(
Status
))
{
if
(
Config
->
Uefi
.
Output
.
ReconnectOnResChange
&&
!
EFI_ERROR
(
Status
))
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录