Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
498f8edf
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,发现更多精彩内容 >>
提交
498f8edf
编写于
4月 21, 2019
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OpenCorePlatform: Support using MacInfoPkg
上级
9f78930e
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
258 addition
and
160 deletion
+258
-160
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+9
-4
OpenCorePkg.dsc
OpenCorePkg.dsc
+3
-2
Platform/OpenCore/OpenCore.inf
Platform/OpenCore/OpenCore.inf
+2
-0
Platform/OpenCore/OpenCorePlatform.c
Platform/OpenCore/OpenCorePlatform.c
+243
-154
macbuild.tool
macbuild.tool
+1
-0
未找到文件。
Docs/Configuration.pdf
浏览文件 @
498f8edf
无法预览此类型文件
Docs/Configuration.tex
浏览文件 @
498f8edf
...
...
@@ -476,6 +476,7 @@ Add \texttt{.clang\_complete} file with similar content to your UDK root:
-I/UefiPackages/OpenCorePkg/Include
-I/UefiPackages/OcSupportPkg/Include
-I/UefiPackages/IntelFrameworkPkg/Include
-I/UefiPackages/MacInfoPkg/Include
-IInclude
-include
/UefiPackages/MdePkg/Include/Uefi.h
...
...
@@ -1701,7 +1702,8 @@ troubleshooting:
Platform information is comprised of several identification fields
generated or filled manually to be compatible with macOS services. The
base part of the configuration may be obtained from
\texttt
{
MacInfoPkg
}
base part of the configuration may be obtained from
\href
{
https:
//
github.com
/
acidanthera
/
MacInfoPkg
}{
\texttt
{
MacInfoPkg
}}
package, which itself generates a set of interfaces based on a database
in
\href
{
https:
//
yaml.org
/
spec
/
1
.
2
/
spec.html
}{
YAML
}
format. These fields
are written to three select destinations:
...
...
@@ -1739,9 +1741,8 @@ for system configuration.
and
\texttt
{
SMBIOS
}
sections.
Enabling this option is useful when
\texttt
{
Generic
}
section is flexible
enough. When enabled
\texttt
{
SMBIOS
}
and
\texttt
{
DataHub
}
data is unused.
FIXME: Currently unsupported.
enough. When enabled
\texttt
{
SMBIOS
}
,
\texttt
{
DataHub
}
, and
\texttt
{
PlatformNVRAM
}
data is unused.
\item
\texttt
{
UpdateDataHub
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
...
...
@@ -1801,21 +1802,25 @@ for system configuration.
\item
\texttt
{
Generic
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
dictonary
}
\\
\textbf
{
Optional
}
: When
\texttt
{
Automatic
}
is
\texttt
{
false
}
\\
\textbf
{
Description
}
: Update all fields. This section is read only
when
\texttt
{
Automatic
}
is active.
\item
\texttt
{
DataHub
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
dictonary
}
\\
\textbf
{
Optional
}
: When
\texttt
{
Automatic
}
is
\texttt
{
true
}
\\
\textbf
{
Description
}
: Update Data Hub fields. This section is read
only when
\texttt
{
Automatic
}
is not active.
\item
\texttt
{
PlatformNVRAM
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
dictonary
}
\\
\textbf
{
Optional
}
: When
\texttt
{
Automatic
}
is
\texttt
{
true
}
\\
\textbf
{
Description
}
: Update platform NVRAM fields. This section is
read only when
\texttt
{
Automatic
}
is not active.
\item
\texttt
{
SMBIOS
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
dictonary
}
\\
\textbf
{
Optional
}
: When
\texttt
{
Automatic
}
is
\texttt
{
true
}
\\
\textbf
{
Description
}
: Update SMBIOS fields. This section is read only
when
\texttt
{
Automatic
}
is not active.
\end
{
enumerate
}
...
...
OpenCorePkg.dsc
浏览文件 @
498f8edf
...
...
@@ -16,7 +16,7 @@
[Defines]
PLATFORM_NAME = OpenCorePkg
PLATFORM_GUID =
6B1D3AB4-5C85-462D-9DC5-480F8B17D5CB
PLATFORM_GUID =
C46F121D-ABC6-42A3-A241-91B09224C357
PLATFORM_VERSION = 1.0
SUPPORTED_ARCHITECTURES = X64
BUILD_TARGETS = RELEASE|DEBUG|NOOPT
...
...
@@ -50,6 +50,7 @@
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
MacInfoLib|MacInfoPkg/Library/MacInfoLib/MacInfoLib.inf
OcAcpiLib|OcSupportPkg/Library/OcAcpiLib/OcAcpiLib.inf
OcAppleBootPolicyLib|OcSupportPkg/Library/OcAppleBootPolicyLib/OcAppleBootPolicyLib.inf
OcAppleChunklistLib|OcSupportPkg/Library/OcAppleChunklistLib/OcAppleChunklistLib.inf
...
...
@@ -115,4 +116,4 @@
MSFT:RELEASE_*_*_CC_FLAGS = $(OCPKG_BUILD_OPTIONS_GEN)
XCODE:DEBUG_*_*_CC_FLAGS = $(OCPKG_BUILD_OPTIONS_GEN)
XCODE:NOOPT_*_*_CC_FLAGS = $(OCPKG_BUILD_OPTIONS_GEN)
XCODE:RELEASE_*_*_CC_FLAGS = -
Wno-error -
flto $(OCPKG_BUILD_OPTIONS_GEN)
XCODE:RELEASE_*_*_CC_FLAGS = -flto $(OCPKG_BUILD_OPTIONS_GEN)
Platform/OpenCore/OpenCore.inf
浏览文件 @
498f8edf
...
...
@@ -50,6 +50,7 @@
IntelFrameworkPkg/IntelFrameworkPkg.dec
OpenCorePkg/OpenCorePkg.dec
OcSupportPkg/OcSupportPkg.dec
MacInfoPkg/MacInfoPkg.dec
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
...
...
@@ -81,6 +82,7 @@
OcSmbiosLib
OcStorageLib
OcVirtualFsLib
MacInfoLib
PcdLib
PrintLib
UefiBootServicesTableLib
...
...
Platform/OpenCore/OpenCorePlatform.c
浏览文件 @
498f8edf
此差异已折叠。
点击以展开。
macbuild.tool
浏览文件 @
498f8edf
...
...
@@ -135,6 +135,7 @@ updaterepo "https://github.com/tianocore/edk2" UDK UDK2018 || exit 1
cd
UDK
updaterepo
"https://github.com/acidanthera/EfiPkg"
EfiPkg
master
||
exit
1
updaterepo
"https://github.com/acidanthera/OcSupportPkg"
OcSupportPkg
master
||
exit
1
updaterepo
"https://github.com/acidanthera/MacInfoPkg"
MacInfoPkg
master
||
exit
1
if
[
! -d OpenCorePkg ]; then
ln
-
s
..
OpenCorePkg
||
exit
1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录