OpenCoreAcpi: Implement ResetLogoStatus quirk

This commit is contained in:
vit9696 2019-05-08 21:45:05 +03:00
parent 797932bfff
commit ef4cc2610d
8 changed files with 33 additions and 2 deletions

View File

@ -5,6 +5,7 @@ OpenCore Changelog
- Documentation improvements (see Differences.pdf)
- Platform information database updates
- Fixed misbehaving Debug -> Target enable bit
- Added `ResetLogoStatus` ACPI quirk
#### v0.0.1
- Initial developer preview release

Binary file not shown.

View File

@ -828,6 +828,16 @@ source file may help understanding ACPI opcodes.
attempting to fix the ACPI addresses. It does not do magic, and only
works with most common cases. Do not use unless absolutely required.
\item
\texttt{ResetLogoStatus}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Default value}: \texttt{false}\\
\textbf{Description}: Reset \texttt{BGRT} table \texttt{Displayed}
status field to \texttt{false}.
This works around firmwares that provide \texttt{BGRT} table but
fail to handle screen updates afterwards.
\end{enumerate}

Binary file not shown.

View File

@ -1,7 +1,7 @@
\documentclass[]{article}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Fri May 3 12:13:06 2019
%DIF ADD ../Configuration.tex Wed May 8 19:47:54 2019
%DIF ADD ../Configuration.tex Wed May 8 21:43:05 2019
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
@ -903,7 +903,19 @@ source file may help understanding ACPI opcodes.
attempting to fix the ACPI addresses. It does not do magic, and only
works with most common cases. Do not use unless absolutely required.
\end{enumerate}
\DIFaddbegin \item
\texttt{\DIFadd{ResetLogoStatus}}\\
\textbf{\DIFadd{Type}}\DIFadd{: }\texttt{\DIFadd{plist\ boolean}}\\
\textbf{\DIFadd{Default value}}\DIFadd{: }\texttt{\DIFadd{false}}\\
\textbf{\DIFadd{Description}}\DIFadd{: Reset }\texttt{\DIFadd{BGRT}} \DIFadd{table }\texttt{\DIFadd{Displayed}}
\DIFadd{status field to }\texttt{\DIFadd{false}}\DIFadd{.
}
\DIFadd{This works around firmwares that provide }\texttt{\DIFadd{BGRT}} \DIFadd{table but
fail to handle screen updates afterwards.
}
\DIFaddend \end{enumerate}
\section{DeviceProperties}\label{devprops}

View File

@ -153,6 +153,8 @@
<false/>
<key>RebaseRegions</key>
<false/>
<key>ResetLogoStatus</key>
<false/>
</dict>
</dict>
<key>DeviceProperties</key>

View File

@ -153,6 +153,8 @@
<false/>
<key>RebaseRegions</key>
<false/>
<key>ResetLogoStatus</key>
<false/>
</dict>
</dict>
<key>DeviceProperties</key>

View File

@ -211,6 +211,10 @@ OcLoadAcpiSupport (
AcpiFadtEnableReset (&Context);
}
if (Config->Acpi.Quirks.ResetLogoStatus) {
AcpiResetLogoStatus (&Context);
}
if (Config->Acpi.Quirks.RebaseRegions) {
AcpiRelocateRegions (&Context);
}