Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
b5260117
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,发现更多精彩内容 >>
提交
b5260117
编写于
2月 16, 2020
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OpenCoreUefi: Drop Scale and make NVRAM apply earlier
上级
1bbec25d
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
52 addition
and
47 deletion
+52
-47
Changelog.md
Changelog.md
+2
-1
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+18
-16
Docs/Differences/Differences.pdf
Docs/Differences/Differences.pdf
+0
-0
Docs/Differences/Differences.tex
Docs/Differences/Differences.tex
+24
-23
Docs/Sample.plist
Docs/Sample.plist
+3
-2
Docs/SampleFull.plist
Docs/SampleFull.plist
+3
-2
Platform/OpenCore/OpenCore.c
Platform/OpenCore/OpenCore.c
+2
-2
Platform/OpenCore/OpenCoreUefi.c
Platform/OpenCore/OpenCoreUefi.c
+0
-1
未找到文件。
Changelog.md
浏览文件 @
b5260117
...
...
@@ -9,7 +9,6 @@ OpenCore Changelog
-
Moved
`ConsoleMode`
,
`Resolution`
options to
`Output`
section
-
Moved console-related UEFI quirks to
`Output`
section
-
Replaced
`ConsoleControl`
and
`BuiltinTextRenderer`
with
`TextRenderer`
-
Added
`Scale`
option to set builtin text renderer scaling
-
Removed
`ConsoleBehaviourOs`
and
`ConsoleBehaviourUi`
-
Fixed providing ConsoleOutHandle GOP when running from Shell
-
Added
`PickerAttributes`
option to colour picker
...
...
@@ -18,6 +17,8 @@ OpenCore Changelog
-
Added
`BootKicker`
tool to support launching Apple BootPicker
-
Added BootPicker support as an external UI in OC through
`PickerMode`
-
Added
`DirectGopRendering`
option to use direct GOP output
-
Multiple memory corruption and performance fixes for PNG support
-
Fixed
`DefaultBackgroundColor`
variable handling
#### v0.5.5
-
Fixed CPU bus ratio calculation for Nehalem and Westmere
...
...
Docs/Configuration.pdf
浏览文件 @
b5260117
无法预览此类型文件
Docs/Configuration.tex
浏览文件 @
b5260117
...
...
@@ -1344,7 +1344,9 @@ To view their current state use \texttt{pmset -g} command in Terminal.
performing early boot identity mapping of assigned virtual addresses to physical
memory.
\emph
{
Note
}
: The necessity of this quirk is determined by early boot failures.
\emph
{
Note
}
: The necessity of this quirk is determined by early boot failures. Currently
new firmwares with memory protection support (like OVMF) do not support this quirk due to
\href
{
https://github.com/acidanthera/bugtracker/issues/719
}{
acidanthera/bugtracker
\#
719
}
.
\item
\texttt
{
ShrinkMemoryMap
}
\\
...
...
@@ -2102,7 +2104,8 @@ behaviour that does not go to any other sections
\end{itemize}
\emph
{
Note
}
: This option may not work well with
\texttt
{
System
}
text renderer.
Setting a background different from black could help testing proper GOP functioning.
Setting a background different from black could help testing proper GOP functioning
but may slightly reduce performance.
\item
\texttt
{
PollAppleHotKeys
}
\\
...
...
@@ -2843,6 +2846,12 @@ improvements:
\break
One
-
byte data defining boot.efi user interface scaling. Should be
\textbf
{
01
}
for normal
screens and
\textbf
{
02
}
for HiDPI screens.
\item
\texttt
{
4
D
1
EDE
05
-
38
C
7
-
4
A
6
A
-
9
CC
6
-
4
BCCA
8
B
38
C
14
:DefaultBackgroundColor
}
\break
Four
-
byte
\texttt
{
RGBA
}
data defining boot.efi user interface background colour.
Standard colours include
\textbf
{
BF BF BF
00
}
(
Light Gray
)
and
\textbf
{
00
00
00
00
}
(
Syrah Black
)
. Other colours may be set at user's preference.
\end
{
itemize
}
\subsection
{
Other Variables
}
\label
{
nvramvarsother
}
...
...
@@ -3886,8 +3895,7 @@ build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc
The use of
\texttt
{
BuiltinGraphics
}
is generally straightforward.
For most platforms it is necessary to enable
\texttt
{
ProvideConsoleGop
}
,
set
\texttt
{
Resolution
}
to
\texttt
{
Max
}
, and optionally configure
\texttt
{
Scale
}
.
set
\texttt
{
Resolution
}
to
\texttt
{
Max
}
.
The use of
\texttt
{
System
}
protocols is more complicated. In general
the preferred setting is
\texttt
{
SystemGraphics
}
or
\texttt
{
SystemText
}
.
...
...
@@ -3932,8 +3940,9 @@ build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc
On HiDPI screens
\texttt
{
APPLE
\_
VENDOR
\_
VARIABLE
\_
GUID
}
\texttt
{
UIScale
}
NVRAM variable may need to be set to
\texttt
{
02
}
to enable HiDPI scaling
in FileVault
2
UEFI password interface and boot screen logo. Refer to
\hyperref
[
nvramvarsrec
]
{
Recommended Variables
}
section for more details.
in
\texttt
{
Builtin
}
text renderer, FileVault
2
UEFI password interface,
and boot screen logo. Refer to
\hyperref
[
nvramvarsrec
]
{
Recommended Variables
}
section for more details.
\emph
{
Note
}
: This will fail when console handle has no GOP protocol. When
the firmware does not provide it, it can be added with
\texttt
{
ProvideConsoleGop
}
...
...
@@ -4022,16 +4031,6 @@ build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc
On all known affected systems
\texttt
{
ConsoleMode
}
had to be set to
empty string for this to work.
\item
\texttt
{
Scale
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
integer
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
100
}
\\
\textbf
{
Description
}
: Sets text renderer HiDPI scaling in percents.
Currently only
\texttt
{
100
}
and
\texttt
{
200
}
values are supported.
\emph
{
Note
}
: This option only applies to
\texttt
{
Builtin
}
renderer.
\end
{
enumerate
}
...
...
@@ -4112,6 +4111,9 @@ build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc
to support custom cursor images for File Vault
2
. Should be set to
\texttt
{
true
}
to ensure File Vault
2
compatibility on everything but VMs and legacy Macs.
\emph
{
Note
}
: Several virtual machines including VMware may have corrupted
cursor image in HiDPI mode and thus may also require this setting to be enabled.
\item
\texttt
{
HashServices
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
...
...
Docs/Differences/Differences.pdf
浏览文件 @
b5260117
无法预览此类型文件
Docs/Differences/Differences.tex
浏览文件 @
b5260117
\documentclass
[]
{
article
}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex
Thu Feb 6 00:43:28
2020
%DIF ADD ../Configuration.tex
Thu Feb 13 03:27:29
2020
%DIF DEL PreviousConfiguration.tex
Sat Feb 15 19:18:47
2020
%DIF ADD ../Configuration.tex
Sun Feb 16 02:28:53
2020
\usepackage
{
lmodern
}
\usepackage
{
amssymb,amsmath
}
...
...
@@ -1407,7 +1407,10 @@ To view their current state use \texttt{pmset -g} command in Terminal.
performing early boot identity mapping of assigned virtual addresses to physical
memory.
\emph
{
Note
}
: The necessity of this quirk is determined by early boot failures.
\emph
{
Note
}
: The necessity of this quirk is determined by early boot failures.
\DIFaddbegin
\DIFadd
{
Currently
new firmwares with memory protection support (like OVMF) do not support this quirk due to
}
\href
{
https://github.com/acidanthera/bugtracker/issues/719
}{
acidanthera/bugtracker
\#
719
}
\DIFadd
{
.
}
\DIFaddend
\item
\texttt
{
ShrinkMemoryMap
}
\\
...
...
@@ -2385,7 +2388,8 @@ behaviour that does not go to any other sections
\end{itemize}
\emph
{
\DIFadd
{
Note
}}
\DIFadd
{
: This option may not work well with
}
\texttt
{
\DIFadd
{
System
}}
\DIFadd
{
text renderer.
Setting a background different from black could help testing proper GOP functioning.
Setting a background different from black could help testing proper GOP functioning
but may slightly reduce performance.
}
\item
...
...
@@ -3258,7 +3262,13 @@ improvements:
\break
One
-
byte data defining boot.efi user interface scaling. Should be
\textbf
{
01
}
for normal
screens and
\textbf
{
02
}
for HiDPI screens.
\end
{
itemize
}
\DIFaddbegin
\item
\texttt
{
\DIFadd
{
4
D
1
EDE
05
-
38
C
7
-
4
A
6
A
-
9
CC
6
-
4
BCCA
8
B
38
C
14
:DefaultBackgroundColor
}}
\break
\DIFadd
{
Four
-
byte
}
\texttt
{
\DIFadd
{
RGBA
}}
\DIFadd
{
data defining boot.efi user interface background colour.
Standard colours include
}
\textbf
{
\DIFadd
{
BF BF BF
00
}}
\DIFadd
{
(
Light Gray
)
and
}
\textbf
{
\DIFadd
{
00
00
00
00
}}
\DIFadd
{
(
Syrah Black
)
. Other colours may be set at user's preference.
}
\DIFaddend
\end
{
itemize
}
\subsection
{
Other Variables
}
\label
{
nvramvarsother
}
...
...
@@ -4307,8 +4317,7 @@ build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc
\DIFadd
{
The use of
}
\texttt
{
\DIFadd
{
BuiltinGraphics
}}
\DIFadd
{
is generally straightforward.
For most platforms it is necessary to enable
}
\texttt
{
\DIFadd
{
ProvideConsoleGop
}}
\DIFadd
{
,
set
}
\texttt
{
\DIFadd
{
Resolution
}}
\DIFadd
{
to
}
\texttt
{
\DIFadd
{
Max
}}
\DIFadd
{
, and optionally configure
}
\texttt
{
\DIFadd
{
Scale
}}
\DIFadd
{
.
set
}
\texttt
{
\DIFadd
{
Resolution
}}
\DIFadd
{
to
}
\texttt
{
\DIFadd
{
Max
}}
\DIFadd
{
.
}
\DIFadd
{
The use of
}
\texttt
{
\DIFadd
{
System
}}
\DIFadd
{
protocols is more complicated. In general
...
...
@@ -4360,8 +4369,9 @@ build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc
\DIFadd
{
On HiDPI screens
}
\texttt
{
\DIFadd
{
APPLE
\_
VENDOR
\_
VARIABLE
\_
GUID
}}
\texttt
{
\DIFadd
{
UIScale
}}
\DIFadd
{
NVRAM variable may need to be set to
}
\texttt
{
\DIFadd
{
02
}}
\DIFadd
{
to enable HiDPI scaling
in FileVault
2
UEFI password interface and boot screen logo. Refer to
}
\hyperref
[
nvramvarsrec
]
{
Recommended Variables
}
\DIFadd
{
section for more details.
in
}
\texttt
{
\DIFadd
{
Builtin
}}
\DIFadd
{
text renderer, FileVault
2
UEFI password interface,
and boot screen logo. Refer to
}
\hyperref
[
nvramvarsrec
]
{
Recommended Variables
}
\DIFadd
{
section for more details.
}
\emph
{
\DIFadd
{
Note
}}
\DIFadd
{
: This will fail when console handle has no GOP protocol. When
...
...
@@ -4468,19 +4478,6 @@ build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc
empty string for this to work.
}
\item
\texttt
{
\DIFadd
{
Scale
}}
\\
\textbf
{
\DIFadd
{
Type
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
plist
\
integer
}}
\\
\textbf
{
\DIFadd
{
Failsafe
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
100
}}
\\
\textbf
{
\DIFadd
{
Description
}}
\DIFadd
{
: Sets text renderer HiDPI scaling in percents.
}
\DIFadd
{
Currently only
}
\texttt
{
\DIFadd
{
100
}}
\DIFadd
{
and
}
\texttt
{
\DIFadd
{
200
}}
\DIFadd
{
values are supported.
}
\emph
{
\DIFadd
{
Note
}}
\DIFadd
{
: This option only applies to
}
\texttt
{
\DIFadd
{
Builtin
}}
\DIFadd
{
renderer.
}
\end
{
enumerate
}
...
...
@@ -4591,7 +4588,11 @@ build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc
to support custom cursor images for File Vault
2
. Should be set to
\texttt
{
true
}
to ensure File Vault
2
compatibility on everything but VMs and legacy Macs.
\item
\DIFaddbegin
\emph
{
\DIFadd
{
Note
}}
\DIFadd
{
: Several virtual machines including VMware may have corrupted
cursor image in HiDPI mode and thus may also require this setting to be enabled.
}
\DIFaddend
\item
\texttt
{
HashServices
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
...
...
Docs/Sample.plist
浏览文件 @
b5260117
...
...
@@ -677,6 +677,8 @@
<dict>
<key>
UIScale
</key>
<data>
AQ==
</data>
<key>
DefaultBackgroundColor
</key>
<data>
AAAAAA==
</data>
</dict>
<key>
7C436110-AB2A-4BBB-A880-FE41995C9F82
</key>
<dict>
...
...
@@ -695,6 +697,7 @@
<key>
4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
</key>
<array>
<string>
UIScale
</string>
<string>
DefaultBackgroundColor
</string>
</array>
<key>
7C436110-AB2A-4BBB-A880-FE41995C9F82
</key>
<array>
...
...
@@ -814,8 +817,6 @@
<false/>
<key>
SanitiseClearScreen
</key>
<false/>
<key>
Scale
</key>
<integer>
100
</integer>
</dict>
<key>
Protocols
</key>
<dict>
...
...
Docs/SampleFull.plist
浏览文件 @
b5260117
...
...
@@ -677,6 +677,8 @@
<dict>
<key>
UIScale
</key>
<data>
AQ==
</data>
<key>
DefaultBackgroundColor
</key>
<data>
AAAAAA==
</data>
</dict>
<key>
7C436110-AB2A-4BBB-A880-FE41995C9F82
</key>
<dict>
...
...
@@ -695,6 +697,7 @@
<key>
4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
</key>
<array>
<string>
UIScale
</string>
<string>
DefaultBackgroundColor
</string>
</array>
<key>
7C436110-AB2A-4BBB-A880-FE41995C9F82
</key>
<array>
...
...
@@ -917,8 +920,6 @@
<false/>
<key>
SanitiseClearScreen
</key>
<false/>
<key>
Scale
</key>
<integer>
100
</integer>
</dict>
<key>
Protocols
</key>
<dict>
...
...
Platform/OpenCore/OpenCore.c
浏览文件 @
b5260117
...
...
@@ -113,6 +113,8 @@ OcMain (
OcCpuScanProcessor
(
&
mOpenCoreCpuInfo
);
DEBUG
((
DEBUG_INFO
,
"OC: OcLoadNvramSupport...
\n
"
));
OcLoadNvramSupport
(
Storage
,
&
mOpenCoreConfiguration
);
DEBUG
((
DEBUG_INFO
,
"OC: OcLoadUefiSupport...
\n
"
));
OcLoadUefiSupport
(
Storage
,
&
mOpenCoreConfiguration
,
&
mOpenCoreCpuInfo
);
DEBUG
((
DEBUG_INFO
,
"OC: OcLoadAcpiSupport...
\n
"
));
...
...
@@ -121,8 +123,6 @@ OcMain (
OcLoadPlatformSupport
(
&
mOpenCoreConfiguration
,
&
mOpenCoreCpuInfo
);
DEBUG
((
DEBUG_INFO
,
"OC: OcLoadDevPropsSupport...
\n
"
));
OcLoadDevPropsSupport
(
&
mOpenCoreConfiguration
);
DEBUG
((
DEBUG_INFO
,
"OC: OcLoadNvramSupport...
\n
"
));
OcLoadNvramSupport
(
Storage
,
&
mOpenCoreConfiguration
);
DEBUG
((
DEBUG_INFO
,
"OC: OcMiscLateInit...
\n
"
));
OcMiscLateInit
(
&
mOpenCoreConfiguration
,
LoadPath
,
&
LoadHandle
);
DEBUG
((
DEBUG_INFO
,
"OC: OcLoadKernelSupport...
\n
"
));
...
...
Platform/OpenCore/OpenCoreUefi.c
浏览文件 @
b5260117
...
...
@@ -469,7 +469,6 @@ OcLoadUefiOutputSupport (
OcSetupConsole
(
Renderer
,
Config
->
Uefi
.
Output
.
Scale
,
Config
->
Uefi
.
Output
.
IgnoreTextInGraphics
,
Config
->
Uefi
.
Output
.
SanitiseClearScreen
,
Config
->
Uefi
.
Output
.
ClearScreenOnModeSwitch
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录