提交 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. ...@@ -549,6 +549,13 @@ some of those are provided as a part of OpenCore.
\subsection{Block Properties}\label{acpipropsblock} \subsection{Block Properties}\label{acpipropsblock}
\begin{enumerate} \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 \item
\texttt{Comment}\\ \texttt{Comment}\\
\textbf{Type}: \texttt{plist\ string}\\ \textbf{Type}: \texttt{plist\ string}\\
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
<key>Block</key> <key>Block</key>
<array> <array>
<dict> <dict>
<key>All</key>
<false/>
<key>Comment</key> <key>Comment</key>
<string>Drop DMAR</string> <string>Drop DMAR</string>
<key>Enabled</key> <key>Enabled</key>
...@@ -30,6 +32,8 @@ ...@@ -30,6 +32,8 @@
<data>RE1BUg==</data> <data>RE1BUg==</data>
</dict> </dict>
<dict> <dict>
<key>All</key>
<false/>
<key>Comment</key> <key>Comment</key>
<string>Drop CpuPm</string> <string>Drop CpuPm</string>
<key>Enabled</key> <key>Enabled</key>
...@@ -42,6 +46,8 @@ ...@@ -42,6 +46,8 @@
<data>U1NEVA==</data> <data>U1NEVA==</data>
</dict> </dict>
<dict> <dict>
<key>All</key>
<false/>
<key>Comment</key> <key>Comment</key>
<string>Drop Cpu0Ist</string> <string>Drop Cpu0Ist</string>
<key>Enabled</key> <key>Enabled</key>
......
...@@ -99,7 +99,8 @@ OcAcpiBlockTables ( ...@@ -99,7 +99,8 @@ OcAcpiBlockTables (
Context, Context,
Signature, Signature,
Table->TableLength, Table->TableLength,
OemTableId OemTableId,
Table->All
); );
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册