Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
becbe61f
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,发现更多精彩内容 >>
提交
becbe61f
编写于
4月 12, 2019
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OpenCoreUefi: Add ProvideConsoleControl quirk
上级
4ffe72a5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
29 addition
and
0 deletion
+29
-0
Docs/Configuration.tex
Docs/Configuration.tex
+11
-0
OpenCorePkg.dsc
OpenCorePkg.dsc
+1
-0
Platform/OpenCore/OpenCore.inf
Platform/OpenCore/OpenCore.inf
+1
-0
Platform/OpenCore/OpenCoreUefi.c
Platform/OpenCore/OpenCoreUefi.c
+16
-0
未找到文件。
Docs/Configuration.tex
浏览文件 @
becbe61f
...
...
@@ -2219,6 +2219,17 @@ tweaks for the onboard firmware.
\emph
{
Note
}
: While the option is not supposed to induce harm on unaffected firmwares,
its usage is not recommended when it is not required.
\item
\texttt
{
ProvideConsoleControl
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Default value
}
:
\texttt
{
NO
}
\\
\textbf
{
Description
}
: macOS bootloader requires console control protocol
for text output, some firmwares miss it.
\emph
{
Note
}
: Some drivers, like AppleUiSupport, may provide equivalent functionality.
These drivers are not guaranteed to adhere to the same logic, and if a quirk is
necessary, this option is preferred.
\item
\texttt
{
ProvideConsoleGop
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
...
...
OpenCorePkg.dsc
浏览文件 @
becbe61f
...
...
@@ -57,6 +57,7 @@
OcAppleKernelLib|OcSupportPkg/Library/OcAppleKernelLib/OcAppleKernelLib.inf
OcAppleKeysLib|OcSupportPkg/Library/OcAppleKeysLib/OcAppleKeysLib.inf
OcBootManagementLib|OcSupportPkg/Library/OcBootManagementLib/OcBootManagementLib.inf
OcConsoleLib|OcSupportPkg/Library/OcConsoleLib/OcConsoleLib.inf
OcCpuLib|OcSupportPkg/Library/OcCpuLib/OcCpuLib.inf
OcCryptoLib|OcSupportPkg/Library/OcCryptoLib/OcCryptoLib.inf
OcCompressionLib|OcSupportPkg/Library/OcCompressionLib/OcCompressionLib.inf
...
...
Platform/OpenCore/OpenCore.inf
浏览文件 @
becbe61f
...
...
@@ -69,6 +69,7 @@
OcAppleKernelLib
OcBootManagementLib
OcConfigurationLib
OcConsoleLib
OcDataHubLib
OcDevicePathLib
OcDevicePropertyLib
...
...
Platform/OpenCore/OpenCoreUefi.c
浏览文件 @
becbe61f
...
...
@@ -17,6 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/PrintLib.h>
#include <Library/OcConsoleLib.h>
#include <Library/OcCpuLib.h>
#include <Library/OcMiscLib.h>
#include <Library/UefiBootServicesTableLib.h>
...
...
@@ -200,6 +201,17 @@ OcProvideConsoleGop (
}
}
STATIC
VOID
OcProvideConsoleControl
(
)
{
//
// TODO: Evolve.
//
ConfigureConsoleControl
(
FALSE
);
}
STATIC
VOID
EFIAPI
...
...
@@ -237,6 +249,10 @@ OcLoadUefiSupport (
OcProvideConsoleGop
();
}
if
(
Config
->
Uefi
.
Quirks
.
ProvideConsoleControl
)
{
OcProvideConsoleControl
();
}
if
(
Config
->
Uefi
.
Quirks
.
ReleaseUsbOwnership
)
{
gBS
->
CreateEvent
(
EVT_SIGNAL_EXIT_BOOT_SERVICES
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录