提交 446dbfea 编写于 作者: V vit9696

OpenCoreAcpi: Support dropping all tables by condition

上级 b3351908
......@@ -549,6 +549,13 @@ some of those are provided as a part of OpenCore.
\subsection{Block Properties}\label{acpipropsblock}
\begin{enumerate}
\item
\texttt{All}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Default value}: \texttt{false}\\
\textbf{Description}: If set to \texttt{true}, all ACPI tables matching the
condition will be dropped. Otherwise only first matched table.
\item
\texttt{Comment}\\
\textbf{Type}: \texttt{plist\ string}\\
......
......@@ -18,6 +18,8 @@
<key>Block</key>
<array>
<dict>
<key>All</key>
<false/>
<key>Comment</key>
<string>Drop DMAR</string>
<key>Enabled</key>
......@@ -30,6 +32,8 @@
<data>RE1BUg==</data>
</dict>
<dict>
<key>All</key>
<false/>
<key>Comment</key>
<string>Drop CpuPm</string>
<key>Enabled</key>
......@@ -42,6 +46,8 @@
<data>U1NEVA==</data>
</dict>
<dict>
<key>All</key>
<false/>
<key>Comment</key>
<string>Drop Cpu0Ist</string>
<key>Enabled</key>
......
......@@ -99,7 +99,8 @@ OcAcpiBlockTables (
Context,
Signature,
Table->TableLength,
OemTableId
OemTableId,
Table->All
);
if (EFI_ERROR (Status)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册