Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
dfd459a7
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,发现更多精彩内容 >>
未验证
提交
dfd459a7
编写于
1月 11, 2021
作者:
M
Mykola Grymalyuk
提交者:
GitHub
1月 11, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OpenCorePlatform: Add MaxBIOSVersion option to Generic (#179)
closes acidanthera/bugtracker#1427
上级
157f3869
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
35 addition
and
7 deletion
+35
-7
Changelog.md
Changelog.md
+1
-0
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+8
-1
Docs/Differences/Differences.pdf
Docs/Differences/Differences.pdf
+0
-0
Docs/Differences/Differences.tex
Docs/Differences/Differences.tex
+13
-5
Docs/Errata/Errata.pdf
Docs/Errata/Errata.pdf
+0
-0
Docs/Sample.plist
Docs/Sample.plist
+2
-0
Docs/SampleCustom.plist
Docs/SampleCustom.plist
+2
-0
Include/Acidanthera/Library/OcConfigurationLib.h
Include/Acidanthera/Library/OcConfigurationLib.h
+2
-1
Library/OcConfigurationLib/OcConfigurationLib.c
Library/OcConfigurationLib/OcConfigurationLib.c
+1
-0
Platform/OpenCore/OpenCorePlatform.c
Platform/OpenCore/OpenCorePlatform.c
+6
-0
未找到文件。
Changelog.md
浏览文件 @
dfd459a7
...
...
@@ -5,6 +5,7 @@ OpenCore Changelog
-
Added background image support in OpenCanopy
-
Fixed selector boot option choice in OpenCanopy
-
Relaxed selector dimensions for OpenCanopy
-
Add
`MaxBIOSVersion`
option to
`Generic`
#### v0.6.5
-
Fixed installing OpenDuet on protected volumes
...
...
Docs/Configuration.pdf
浏览文件 @
dfd459a7
无法预览此类型文件
Docs/Configuration.tex
浏览文件 @
dfd459a7
...
...
@@ -4627,6 +4627,13 @@ be used. Version with macOS specific enhancements can be downloaded from
a drive with EFI partition being the first partition on the disk.
\end
{
itemize
}
\item
\texttt
{
MaxBIOSVersion
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\textbf
{
Description
}
: Sets
\texttt
{
BIOSVersion
}
to
\texttt
{
9999
.
999
.
999
}
, recommended for
legacy Macs with custom SMBIOS to avoid BIOS updates in macOS
11
, Big Sur.
\item
\texttt
{
SystemMemoryStatus
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
string
}
\\
...
...
@@ -4650,7 +4657,7 @@ be used. Version with macOS specific enhancements can be downloaded from
and assume that system memory is non
-
upgradable.
\item
\texttt
{
ProcessorType
}
\texttt
{
ProcessorType
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
integer
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
0
}
(
Automatic
)
\\
\textbf
{
Description
}
: Refer to SMBIOS
\texttt
{
ProcessorType
}
.
...
...
Docs/Differences/Differences.pdf
浏览文件 @
dfd459a7
无法预览此类型文件
Docs/Differences/Differences.tex
浏览文件 @
dfd459a7
\documentclass
[]
{
article
}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Tue Jan 5
10:48:23
2021
%DIF ADD ../Configuration.tex Sun Jan 10
13:38:23
2021
%DIF DEL PreviousConfiguration.tex Tue Jan 5
20:10:35
2021
%DIF ADD ../Configuration.tex Sun Jan 10
23:34:57
2021
\usepackage
{
lmodern
}
\usepackage
{
amssymb,amsmath
}
...
...
@@ -4688,7 +4688,15 @@ be used. Version with macOS specific enhancements can be downloaded from
\end
{
itemize
}
\item
\texttt
{
SystemMemoryStatus
}
\\
\DIFaddbegin
\texttt
{
\DIFadd
{
MaxBIOSVersion
}}
\\
\textbf
{
\DIFadd
{
Type
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
plist
\
boolean
}}
\\
\textbf
{
\DIFadd
{
Failsafe
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
false
}}
\\
\textbf
{
\DIFadd
{
Description
}}
\DIFadd
{
: Sets
}
\texttt
{
\DIFadd
{
BIOSVersion
}}
\DIFadd
{
to
}
\texttt
{
\DIFadd
{
9999
.
999
.
999
}}
\DIFadd
{
, recommended for
legacy Macs with custom SMBIOS to avoid BIOS updates in macOS
11
, Big Sur.
}
\item
\DIFaddend
\texttt
{
SystemMemoryStatus
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
string
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
Auto
}
\\
\textbf
{
Description
}
: Indicates whether system memory is upgradable in
\texttt
{
PlatformFeature
}
.
...
...
@@ -4710,8 +4718,8 @@ be used. Version with macOS specific enhancements can be downloaded from
and assume that system memory is non
-
upgradable.
\item
\texttt
{
ProcessorType
}
\textbf
{
Type
}
:
\texttt
{
plist
\
integer
}
\\
\texttt
{
ProcessorType
}
\DIFaddbegin
\\
\
DIFaddend
\
textbf
{
Type
}
:
\texttt
{
plist
\
integer
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
0
}
(
Automatic
)
\\
\textbf
{
Description
}
: Refer to SMBIOS
\texttt
{
ProcessorType
}
.
\item
...
...
Docs/Errata/Errata.pdf
浏览文件 @
dfd459a7
无法预览此类型文件
Docs/Sample.plist
浏览文件 @
dfd459a7
...
...
@@ -991,6 +991,8 @@
<dict>
<key>
AdviseWindows
</key>
<false/>
<key>
MaxBIOSVersion
</key>
<false/>
<key>
MLB
</key>
<string>
M0000000000000001
</string>
<key>
ProcessorType
</key>
...
...
Docs/SampleCustom.plist
浏览文件 @
dfd459a7
...
...
@@ -1022,6 +1022,8 @@
<dict>
<key>
AdviseWindows
</key>
<false/>
<key>
MaxBIOSVersion
</key>
<false/>
<key>
MLB
</key>
<string></string>
<key>
ProcessorType
</key>
...
...
Include/Acidanthera/Library/OcConfigurationLib.h
浏览文件 @
dfd459a7
...
...
@@ -451,7 +451,8 @@ typedef enum {
_(UINT16 , ProcessorType , , 0 , () ) \
_(UINT8 , Rom , [6] , {0} , () ) \
_(BOOLEAN , SpoofVendor , , FALSE , () ) \
_(BOOLEAN , AdviseWindows , , FALSE , () )
_(BOOLEAN , AdviseWindows , , FALSE , () ) \
_(BOOLEAN , MaxBIOSVersion , , FALSE , () )
OC_DECLARE
(
OC_PLATFORM_GENERIC_CONFIG
)
#define OC_PLATFORM_DATA_HUB_CONFIG_FIELDS(_, __) \
...
...
Library/OcConfigurationLib/OcConfigurationLib.c
浏览文件 @
dfd459a7
...
...
@@ -548,6 +548,7 @@ OC_SCHEMA
mPlatformConfigurationGenericSchema
[]
=
{
OC_SCHEMA_BOOLEAN_IN
(
"AdviseWindows"
,
OC_GLOBAL_CONFIG
,
PlatformInfo
.
Generic
.
AdviseWindows
),
OC_SCHEMA_STRING_IN
(
"MLB"
,
OC_GLOBAL_CONFIG
,
PlatformInfo
.
Generic
.
Mlb
),
OC_SCHEMA_BOOLEAN_IN
(
"MaxBIOSVersion"
,
OC_GLOBAL_CONFIG
,
PlatformInfo
.
Generic
.
MaxBIOSVersion
),
OC_SCHEMA_INTEGER_IN
(
"ProcessorType"
,
OC_GLOBAL_CONFIG
,
PlatformInfo
.
Generic
.
ProcessorType
),
OC_SCHEMA_DATAF_IN
(
"ROM"
,
OC_GLOBAL_CONFIG
,
PlatformInfo
.
Generic
.
Rom
),
OC_SCHEMA_BOOLEAN_IN
(
"SpoofVendor"
,
OC_GLOBAL_CONFIG
,
PlatformInfo
.
Generic
.
SpoofVendor
),
...
...
Platform/OpenCore/OpenCorePlatform.c
浏览文件 @
dfd459a7
...
...
@@ -373,6 +373,12 @@ OcPlatformUpdateSmbios (
DEBUG
((
DEBUG_WARN
,
"OC: Invalid SMBIOS system memory status %a
\n
"
,
SystemMemoryStatus
));
}
}
//
// Override default BIOSVersion.
//
if
(
Config
->
PlatformInfo
.
Generic
.
MaxBIOSVersion
)
{
Data
.
BIOSVersion
=
"9999.999.999"
;
}
if
(
MacInfo
->
DataHub
.
SmcRevision
!=
NULL
)
{
OcSmbiosGetSmcVersion
(
MacInfo
->
DataHub
.
SmcRevision
,
SmcVersion
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录