Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
add94158
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,发现更多精彩内容 >>
提交
add94158
编写于
1月 25, 2020
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OpenCorePlatform: Include UEFI Windows bit in AdviseWindows
上级
4b5959ec
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
40 addition
and
20 deletion
+40
-20
Changelog.md
Changelog.md
+2
-0
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+13
-6
Docs/Differences/Differences.pdf
Docs/Differences/Differences.pdf
+0
-0
Docs/Differences/Differences.tex
Docs/Differences/Differences.tex
+18
-7
Docs/Sample.plist
Docs/Sample.plist
+2
-2
Docs/SampleFull.plist
Docs/SampleFull.plist
+2
-2
Platform/OpenCore/OpenCorePlatform.c
Platform/OpenCore/OpenCorePlatform.c
+3
-3
未找到文件。
Changelog.md
浏览文件 @
add94158
...
...
@@ -10,6 +10,8 @@ OpenCore Changelog
-
Improved driver connection performance on APTIO IV
-
Fixed boot option saving in LogoutHook.command
-
Added support for OEM information in
`ExposeSensitiveData`
-
Improved
`SanitiseClearScreen`
to avoid mode switching
-
Replaced
`SupportsCsm`
with
`AdviseWindows`
enabling UEFI mode
#### v0.5.4
-
Added Enter key handling in boot menu for quick proceed
...
...
Docs/Configuration.pdf
浏览文件 @
add94158
无法预览此类型文件
Docs/Configuration.tex
浏览文件 @
add94158
...
...
@@ -3072,15 +3072,22 @@ be used. Version with macOS specific enhancements can be downloaded from
in
\texttt
{
SystemManufacturer
}
description. However, certain firmwares
may not provide valid values otherwise, which could break some software.
\item
\texttt
{
SupportsCsm
}
\\
\texttt
{
AdviseWindows
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\textbf
{
Description
}
: Forces
CSM
support in
\texttt
{
FirmwareFeatures
}
.
\textbf
{
Description
}
: Forces
Windows
support in
\texttt
{
FirmwareFeatures
}
.
Without this bit it is not possible to reboot to Windows installed on
Added bits to
\texttt
{
FirmwareFeatures
}
:
\begin
{
itemize
}
\item
\texttt
{
FW
\_
FEATURE
\_
SUPPORTS
\_
CSM
\_
LEGACY
\_
MODE
}
(
\texttt
{
0
x
1
}
)
-
Without this bit it is not possible to reboot to Windows installed on
a drive with EFI partition being not the first partition on the disk.
\item
\texttt
{
FW
\_
FEATURE
\_
SUPPORTS
\_
UEFI
\_
WINDOWS
\_
BOOT
}
(
\texttt
{
0
x
20000000
}
)
-
Without this bit it is not possible to reboot to Windows installed on
a drive with EFI partition being the first partition on the disk.
\end
{
itemize
}
\emph
{
Note
}
: This was enabled unconditionally in older OpenCore versions.
\item
\texttt
{
SystemProductName
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
string
}
\\
...
...
Docs/Differences/Differences.pdf
浏览文件 @
add94158
无法预览此类型文件
Docs/Differences/Differences.tex
浏览文件 @
add94158
\documentclass
[]
{
article
}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Fri Jan 17 12:56:17 2020
%DIF ADD ../Configuration.tex Sat Jan 25 1
2:18:44
2020
%DIF ADD ../Configuration.tex Sat Jan 25 1
4:22:59
2020
\usepackage
{
lmodern
}
\usepackage
{
amssymb,amsmath
}
...
...
@@ -3134,16 +3134,27 @@ be used. Version with macOS specific enhancements can be downloaded from
in
\texttt
{
SystemManufacturer
}
description. However, certain firmwares
may not provide valid values otherwise, which could break some software.
\item
\texttt
{
SupportsCsm
}
\\
\texttt
{
\DIFdelbegin
\DIFdel
{
SupportsCsm
}
\DIFdelend
\DIFaddbegin
\DIFadd
{
AdviseWindows
}
\DIFaddend
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\textbf
{
Description
}
: Forces
CSM
support in
\texttt
{
FirmwareFeatures
}
.
\textbf
{
Description
}
: Forces
\DIFdelbegin
\DIFdel
{
CSM
}
\DIFdelend
\DIFaddbegin
\DIFadd
{
Windows
}
\DIFaddend
support in
\texttt
{
FirmwareFeatures
}
.
Without this bit it is not possible to reboot to Windows installed on
a drive with EFI partition being not the first partition on the disk.
\DIFaddbegin
\DIFadd
{
Added bits to
}
\texttt
{
\DIFadd
{
FirmwareFeatures
}}
\DIFadd
{
:
}
\emph
{
Note
}
: This was enabled unconditionally in older OpenCore versions.
\item
\begin
{
itemize
}
\item
\texttt
{
\DIFadd
{
FW
\_
FEATURE
\_
SUPPORTS
\_
CSM
\_
LEGACY
\_
MODE
}}
\DIFadd
{
(
}
\texttt
{
\DIFadd
{
0
x
1
}}
\DIFadd
{
)
-
}
\DIFaddend
Without this bit it is not possible to reboot to Windows installed on
a drive with EFI partition being not the first partition on the disk.
\DIFaddbegin
\item
\texttt
{
\DIFadd
{
FW
\_
FEATURE
\_
SUPPORTS
\_
UEFI
\_
WINDOWS
\_
BOOT
}}
\DIFadd
{
(
}
\texttt
{
\DIFadd
{
0
x
20000000
}}
\DIFadd
{
)
-
Without this bit it is not possible to reboot to Windows installed on
a drive with EFI partition being the first partition on the disk.
}
\end
{
itemize
}
\DIFaddend
\DIFdelbegin
\emph
{
\DIFdel
{
Note
}}
%DIFAUXCMD
\DIFdel
{
: This was enabled unconditionally in older OpenCore versions.
}
\DIFdelend
\item
\texttt
{
SystemProductName
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
string
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
MacPro
6
,
1
}
\\
...
...
Docs/Sample.plist
浏览文件 @
add94158
...
...
@@ -717,14 +717,14 @@
<true/>
<key>
Generic
</key>
<dict>
<key>
AdviseWindows
</key>
<false/>
<key>
MLB
</key>
<string>
M000000000001
</string>
<key>
ROM
</key>
<data>
ESIzAAAA
</data>
<key>
SpoofVendor
</key>
<true/>
<key>
SupportsCsm
</key>
<false/>
<key>
SystemProductName
</key>
<string>
MacPro5,1
</string>
<key>
SystemSerialNumber
</key>
...
...
Docs/SampleFull.plist
浏览文件 @
add94158
...
...
@@ -748,14 +748,14 @@
</dict>
<key>
Generic
</key>
<dict>
<key>
AdviseWindows
</key>
<false/>
<key>
MLB
</key>
<string>
M000000000001
</string>
<key>
ROM
</key>
<data>
ESIzAAAA
</data>
<key>
SpoofVendor
</key>
<true/>
<key>
SupportsCsm
</key>
<false/>
<key>
SystemProductName
</key>
<string>
MacPro5,1
</string>
<key>
SystemSerialNumber
</key>
...
...
Platform/OpenCore/OpenCorePlatform.c
浏览文件 @
add94158
...
...
@@ -347,9 +347,9 @@ OcPlatformUpdateSmbios (
// https://github.com/acidanthera/bugtracker/issues/327
// https://sourceforge.net/p/cloverefiboot/tickets/435
//
if
(
Config
->
PlatformInfo
.
Generic
.
SupportsCsm
)
{
Data
.
FirmwareFeatures
|=
FW_FEATURE_SUPPORTS_CSM_LEGACY_MODE
;
Data
.
FirmwareFeaturesMask
|=
FW_FEATURE_SUPPORTS_CSM_LEGACY_MODE
;
if
(
Config
->
PlatformInfo
.
Generic
.
AdviseWindows
)
{
Data
.
FirmwareFeatures
|=
FW_FEATURE_SUPPORTS_CSM_LEGACY_MODE
|
FW_FEATURE_SUPPORTS_UEFI_WINDOWS_BOOT
;
Data
.
FirmwareFeaturesMask
|=
FW_FEATURE_SUPPORTS_CSM_LEGACY_MODE
|
FW_FEATURE_SUPPORTS_UEFI_WINDOWS_BOOT
;
}
Data
.
ProcessorType
=
NULL
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录