提交 2f8b301f 编写于 作者: V vit9696

OpenCoreUefi: Introduce ProvideEarlyConsole

上级 d278bed9
......@@ -17,6 +17,7 @@ OpenCore Changelog
- Replaced `RequireVault` and `RequireSignature` with `Vault`
- Added `BootKicker` tool to support launching Apple BootPicker
- Added BootPicker support as an external UI in OC through `PickerMode`
- Added `ProvideEarlyConsole` to view console output during startup
#### v0.5.5
- Fixed CPU bus ratio calculation for Nehalem and Westmere
......
......@@ -3985,6 +3985,19 @@ build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc
\emph{Note}: This option will also replace broken GOP protocol on console handle,
which may be the case on \texttt{MacPro5,1} with newer GPUs.
\item
\texttt{ProvideEarlyConsole}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Ensure switching to text mode early at startup.
Disabling this option may result in hiding all messages during startup.
Since only error messages should normally be printed during startup, this option
is recommended to be always enabled. The only exception for this option
to be disabled is when firmware or third-party drivers, e.g. \texttt{ApfsJumpStart}
on legacy Macs, unconditionally print to standard output and cannot be otherwise
controlled by the bootloader.
\item
\texttt{ReconnectOnResChange}\\
\textbf{Type}: \texttt{plist\ boolean}\\
......
\documentclass[]{article}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Thu Feb 6 00:43:28 2020
%DIF ADD ../Configuration.tex Sun Feb 9 14:54:45 2020
%DIF ADD ../Configuration.tex Sun Feb 9 19:48:13 2020
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
......@@ -4424,6 +4424,21 @@ build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc
which may be the case on }\texttt{\DIFadd{MacPro5,1}} \DIFadd{with newer GPUs.
}
\item
\texttt{\DIFadd{ProvideEarlyConsole}}\\
\textbf{\DIFadd{Type}}\DIFadd{: }\texttt{\DIFadd{plist\ boolean}}\\
\textbf{\DIFadd{Failsafe}}\DIFadd{: }\texttt{\DIFadd{false}}\\
\textbf{\DIFadd{Description}}\DIFadd{: Ensure switching to text mode early at startup.
}
\DIFadd{Disabling this option may result in hiding all messages during startup.
Since only error messages should normally be printed during startup, this option
is recommended to be always enabled. The only exception for this option
to be disabled is when firmware or third-party drivers, e.g. }\texttt{\DIFadd{ApfsJumpStart}}
\DIFadd{on legacy Macs, unconditionally print to standard output and cannot be otherwise
controlled by the bootloader.
}
\item
\texttt{\DIFadd{ReconnectOnResChange}}\\
\textbf{\DIFadd{Type}}\DIFadd{: }\texttt{\DIFadd{plist\ boolean}}\\
......
......@@ -805,7 +805,9 @@
<key>IgnoreTextInGraphics</key>
<false/>
<key>ProvideConsoleGop</key>
<false/>
<true/>
<key>ProvideEarlyConsole</key>
<true/>
<key>ReconnectOnResChange</key>
<false/>
<key>ReplaceTabWithSpace</key>
......
......@@ -908,7 +908,9 @@
<key>IgnoreTextInGraphics</key>
<false/>
<key>ProvideConsoleGop</key>
<false/>
<true/>
<key>ProvideEarlyConsole</key>
<true/>
<key>ReconnectOnResChange</key>
<false/>
<key>ReplaceTabWithSpace</key>
......
......@@ -472,6 +472,10 @@ OcLoadUefiOutputSupport (
Config->Uefi.Output.ReplaceTabWithSpace
);
if (Config->Uefi.Output.ProvideEarlyConsole) {
OcConsoleControlSetMode (EfiConsoleControlScreenText);
}
OcParseConsoleMode (
OC_BLOB_GET (&Config->Uefi.Output.ConsoleMode),
&Width,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册