提交 6df7b3f8 编写于 作者: V vit9696

OpenCoreUefi: Ensure ConsoleBehaviourUi mode is set properly

上级 23e8c6d2
......@@ -1271,10 +1271,19 @@ behaviour that does not go to any other sections
(require \texttt{ProvideConsoleControl}).
\end{itemize}
On most firmwares it is reasonable to set \texttt{ConsoleBehaviourOs}
to \texttt{Graphics} and \texttt{ConsoleBehaviourUi} to \texttt{Text}.
On APTIO firmwares \texttt{ConsoleBehaviourUi} is best set to
\texttt{ForceText} to avoid visual glitches.
Hints:
\begin{itemize}
\tightlist
\item Unless empty works, firstly try to set
\texttt{ConsoleBehaviourOs} to \texttt{Graphics} and
\texttt{ConsoleBehaviourUi} to \texttt{Text}.
\item On APTIO IV (Haswell and earlier) it is usually enough to have
\texttt{ConsoleBehaviourOs} set to \texttt{Graphics} and
\texttt{ConsoleBehaviourUi} set to \texttt{ForceText} to avoid visual glitches.
\item On APTIO V (Broadwell and newer) \texttt{ConsoleBehaviourOs}
set to \texttt{ForceGraphics} and \texttt{ConsoleBehaviourUi} set to
\texttt{Text} usually works best.
\end{itemize}
\emph{Note}: \texttt{IgnoreTextInGraphics} may need to be enabled for select
firmware implementations.
......
......@@ -171,4 +171,14 @@ OcMiscLateInit (
OUT EFI_HANDLE *LoadHandle OPTIONAL
);
/**
Load miscellaneous support after UEFI quirks.
@param[in] Config OpenCore configuration.
**/
VOID
OcMiscUefiQuirksLoaded (
IN OC_GLOBAL_CONFIG *Config
);
#endif // OPEN_CORE_H
......@@ -271,6 +271,8 @@ OcLoadUefiSupport (
);
}
OcMiscUefiQuirksLoaded (Config);
OcReinstallProtocols (Config);
OcLoadDrivers (Storage, Config);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册