提交 75beaab7 编写于 作者: V vit9696

OpenCoreMisc: Added `Arguments` to `Tools` and `Entries` section

上级 42c0095c
...@@ -5,6 +5,7 @@ OpenCore Changelog ...@@ -5,6 +5,7 @@ OpenCore Changelog
- Added support of kernel resource kext injection - Added support of kernel resource kext injection
- Added support for 0.25% clock slowdown on Xeon Scalable CPUs (thx @mrmiller) - Added support for 0.25% clock slowdown on Xeon Scalable CPUs (thx @mrmiller)
- Replaced `MatchKernel` with `MinKernel` and `MaxKernel` - Replaced `MatchKernel` with `MinKernel` and `MaxKernel`
- Added `Arguments` to `Tools` and `Entries` sections
#### v0.5.0 #### v0.5.0
- Added builtin firmware versions for new models 2019 - Added builtin firmware versions for new models 2019
......
...@@ -2280,6 +2280,13 @@ rm vault.pub ...@@ -2280,6 +2280,13 @@ rm vault.pub
\subsection{Entry Properties}\label{miscentryprops} \subsection{Entry Properties}\label{miscentryprops}
\begin{enumerate} \begin{enumerate}
\item
\texttt{Arguments}\\
\textbf{Type}: \texttt{plist\ string}\\
\textbf{Failsafe}: Empty string\\
\textbf{Description}: Arbitrary ASCII string used as boot arguments (load options)
of the specified entry.
\item \item
\texttt{Comment}\\ \texttt{Comment}\\
\textbf{Type}: \texttt{plist\ string}\\ \textbf{Type}: \texttt{plist\ string}\\
......
\documentclass[]{article} \documentclass[]{article}
%DIF LATEXDIFF DIFFERENCE FILE %DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Wed Sep 25 12:29:43 2019 %DIF DEL PreviousConfiguration.tex Wed Sep 25 12:29:43 2019
%DIF ADD ../Configuration.tex Wed Sep 25 16:55:02 2019 %DIF ADD ../Configuration.tex Wed Sep 25 18:18:55 2019
\usepackage{lmodern} \usepackage{lmodern}
\usepackage{amssymb,amsmath} \usepackage{amssymb,amsmath}
...@@ -2367,7 +2367,15 @@ rm vault.pub ...@@ -2367,7 +2367,15 @@ rm vault.pub
\begin{enumerate} \begin{enumerate}
\item \item
\texttt{Comment}\\ \DIFaddbegin \texttt{\DIFadd{Arguments}}\\
\textbf{\DIFadd{Type}}\DIFadd{: }\texttt{\DIFadd{plist\ string}}\\
\textbf{\DIFadd{Failsafe}}\DIFadd{: Empty string}\\
\textbf{\DIFadd{Description}}\DIFadd{: Arbitrary ASCII string used as boot arguments (load options)
of the specified entry.
}
\item
\DIFaddend \texttt{Comment}\\
\textbf{Type}: \texttt{plist\ string}\\ \textbf{Type}: \texttt{plist\ string}\\
\textbf{Failsafe}: Empty string\\ \textbf{Failsafe}: Empty string\\
\textbf{Description}: Arbitrary ASCII string used to provide human readable \textbf{Description}: Arbitrary ASCII string used to provide human readable
......
...@@ -458,8 +458,9 @@ OcMiscBoot ( ...@@ -458,8 +458,9 @@ OcMiscBoot (
for (Index = 0, EntryIndex = 0; Index < Config->Misc.Entries.Count; ++Index) { for (Index = 0, EntryIndex = 0; Index < Config->Misc.Entries.Count; ++Index) {
if (Config->Misc.Entries.Values[Index]->Enabled) { if (Config->Misc.Entries.Values[Index]->Enabled) {
Context->CustomEntries[EntryIndex].Name = OC_BLOB_GET (&Config->Misc.Entries.Values[Index]->Name); Context->CustomEntries[EntryIndex].Name = OC_BLOB_GET (&Config->Misc.Entries.Values[Index]->Name);
Context->CustomEntries[EntryIndex].Path = OC_BLOB_GET (&Config->Misc.Entries.Values[Index]->Path); Context->CustomEntries[EntryIndex].Path = OC_BLOB_GET (&Config->Misc.Entries.Values[Index]->Path);
Context->CustomEntries[EntryIndex].Arguments = OC_BLOB_GET (&Config->Misc.Entries.Values[Index]->Arguments);
++EntryIndex; ++EntryIndex;
} }
} }
...@@ -471,8 +472,9 @@ OcMiscBoot ( ...@@ -471,8 +472,9 @@ OcMiscBoot (
// //
for (Index = 0; Index < Config->Misc.Tools.Count; ++Index) { for (Index = 0; Index < Config->Misc.Tools.Count; ++Index) {
if (Config->Misc.Tools.Values[Index]->Enabled) { if (Config->Misc.Tools.Values[Index]->Enabled) {
Context->CustomEntries[EntryIndex].Name = OC_BLOB_GET (&Config->Misc.Tools.Values[Index]->Name); Context->CustomEntries[EntryIndex].Name = OC_BLOB_GET (&Config->Misc.Tools.Values[Index]->Name);
Context->CustomEntries[EntryIndex].Path = OC_BLOB_GET (&Config->Misc.Tools.Values[Index]->Path); Context->CustomEntries[EntryIndex].Path = OC_BLOB_GET (&Config->Misc.Tools.Values[Index]->Path);
Context->CustomEntries[EntryIndex].Arguments = OC_BLOB_GET (&Config->Misc.Tools.Values[Index]->Arguments);
++EntryIndex; ++EntryIndex;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册