提交 3651bd84 编写于 作者: G Goldfish64

OcConfigurationLib: Fix quirk order

上级 85d453ee
...@@ -2591,19 +2591,6 @@ blocking. ...@@ -2591,19 +2591,6 @@ blocking.
\textbf{Description}: Prevent kernel from printing kext dump in the panic \textbf{Description}: Prevent kernel from printing kext dump in the panic
log preventing from observing panic details. Affects 10.13 and above. log preventing from observing panic details. Affects 10.13 and above.
\item
\texttt{ProvideCurrentCpuInfo}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Requirement}: 10.8\\
\textbf{Description}: Provides current CPU info to the kernel.
This quirk currently provides the correct TSC and FSB values to the kernel, as well
as disables CPU topology validation.
\emph{Note}: These patches currently target Microsoft Hyper-V and may need to be extended for
other purposes.
\item \item
\texttt{PowerTimeoutKernelPanic}\\ \texttt{PowerTimeoutKernelPanic}\\
\textbf{Type}: \texttt{plist\ boolean}\\ \textbf{Type}: \texttt{plist\ boolean}\\
...@@ -2617,6 +2604,19 @@ blocking. ...@@ -2617,6 +2604,19 @@ blocking.
to wake up. For debug kernels \texttt{setpowerstate\_panic=0} boot argument to wake up. For debug kernels \texttt{setpowerstate\_panic=0} boot argument
should be used, which is otherwise equivalent to this quirk. should be used, which is otherwise equivalent to this quirk.
\item
\texttt{ProvideCurrentCpuInfo}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Requirement}: 10.8\\
\textbf{Description}: Provides current CPU info to the kernel.
This quirk currently provides the correct TSC and FSB values to the kernel, as well
as disables CPU topology validation.
\emph{Note}: These patches currently target Microsoft Hyper-V and may need to be extended for
other purposes.
\item \item
\texttt{SetApfsTrimTimeout}\\ \texttt{SetApfsTrimTimeout}\\
\textbf{Type}: \texttt{plist\ integer}\\ \textbf{Type}: \texttt{plist\ integer}\\
......
...@@ -292,8 +292,8 @@ ...@@ -292,8 +292,8 @@
_(BOOLEAN , LapicKernelPanic , , FALSE , ()) \ _(BOOLEAN , LapicKernelPanic , , FALSE , ()) \
_(BOOLEAN , LegacyCommpage , , FALSE , ()) \ _(BOOLEAN , LegacyCommpage , , FALSE , ()) \
_(BOOLEAN , PanicNoKextDump , , FALSE , ()) \ _(BOOLEAN , PanicNoKextDump , , FALSE , ()) \
_(BOOLEAN , ProvideCurrentCpuInfo , , FALSE , ()) \
_(BOOLEAN , PowerTimeoutKernelPanic , , FALSE , ()) \ _(BOOLEAN , PowerTimeoutKernelPanic , , FALSE , ()) \
_(BOOLEAN , ProvideCurrentCpuInfo , , FALSE , ()) \
_(BOOLEAN , ThirdPartyDrives , , FALSE , ()) \ _(BOOLEAN , ThirdPartyDrives , , FALSE , ()) \
_(BOOLEAN , XhciPortLimit , , FALSE , ()) _(BOOLEAN , XhciPortLimit , , FALSE , ())
OC_DECLARE (OC_KERNEL_QUIRKS) OC_DECLARE (OC_KERNEL_QUIRKS)
......
...@@ -360,8 +360,8 @@ mKernelQuirksSchema[] = { ...@@ -360,8 +360,8 @@ mKernelQuirksSchema[] = {
OC_SCHEMA_BOOLEAN_IN ("LapicKernelPanic", OC_GLOBAL_CONFIG, Kernel.Quirks.LapicKernelPanic), OC_SCHEMA_BOOLEAN_IN ("LapicKernelPanic", OC_GLOBAL_CONFIG, Kernel.Quirks.LapicKernelPanic),
OC_SCHEMA_BOOLEAN_IN ("LegacyCommpage", OC_GLOBAL_CONFIG, Kernel.Quirks.LegacyCommpage), OC_SCHEMA_BOOLEAN_IN ("LegacyCommpage", OC_GLOBAL_CONFIG, Kernel.Quirks.LegacyCommpage),
OC_SCHEMA_BOOLEAN_IN ("PanicNoKextDump", OC_GLOBAL_CONFIG, Kernel.Quirks.PanicNoKextDump), OC_SCHEMA_BOOLEAN_IN ("PanicNoKextDump", OC_GLOBAL_CONFIG, Kernel.Quirks.PanicNoKextDump),
OC_SCHEMA_BOOLEAN_IN ("ProvideCurrentCpuInfo", OC_GLOBAL_CONFIG, Kernel.Quirks.ProvideCurrentCpuInfo),
OC_SCHEMA_BOOLEAN_IN ("PowerTimeoutKernelPanic", OC_GLOBAL_CONFIG, Kernel.Quirks.PowerTimeoutKernelPanic), OC_SCHEMA_BOOLEAN_IN ("PowerTimeoutKernelPanic", OC_GLOBAL_CONFIG, Kernel.Quirks.PowerTimeoutKernelPanic),
OC_SCHEMA_BOOLEAN_IN ("ProvideCurrentCpuInfo", OC_GLOBAL_CONFIG, Kernel.Quirks.ProvideCurrentCpuInfo),
OC_SCHEMA_INTEGER_IN ("SetApfsTrimTimeout", OC_GLOBAL_CONFIG, Kernel.Quirks.SetApfsTrimTimeout), OC_SCHEMA_INTEGER_IN ("SetApfsTrimTimeout", OC_GLOBAL_CONFIG, Kernel.Quirks.SetApfsTrimTimeout),
OC_SCHEMA_BOOLEAN_IN ("ThirdPartyDrives", OC_GLOBAL_CONFIG, Kernel.Quirks.ThirdPartyDrives), OC_SCHEMA_BOOLEAN_IN ("ThirdPartyDrives", OC_GLOBAL_CONFIG, Kernel.Quirks.ThirdPartyDrives),
OC_SCHEMA_BOOLEAN_IN ("XhciPortLimit", OC_GLOBAL_CONFIG, Kernel.Quirks.XhciPortLimit), OC_SCHEMA_BOOLEAN_IN ("XhciPortLimit", OC_GLOBAL_CONFIG, Kernel.Quirks.XhciPortLimit),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册