mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OpenCoreKernel: Implement PanicNoKextDump quirk
This commit is contained in:
parent
ce136ba887
commit
2e883f6fa6
@ -10,6 +10,7 @@ OpenCore Changelog
|
||||
- Added `Misc` -> `Tools` section to add third-party tools
|
||||
- Added `Kernel` -> `Emulate` section for CPUID patches
|
||||
- Added `CustomSMBIOSGuid` quirk for Custom SMBIOS update mode
|
||||
- Added `PanicNoKextDump` quirk to avoid kext dump in panics
|
||||
|
||||
#### v0.0.2
|
||||
- Documentation improvements (see Differences.pdf)
|
||||
|
||||
Binary file not shown.
@ -1258,6 +1258,13 @@ blocking.
|
||||
\emph{Note}: This option should avoided whenever possible. Modern firmwares
|
||||
usually have compatible AHCI controllers.
|
||||
|
||||
\item
|
||||
\texttt{PanicNoKextDump}\\
|
||||
\textbf{Type}: \texttt{plist\ boolean}\\
|
||||
\textbf{Default value}: \texttt{false}\\
|
||||
\textbf{Description}: Prevent kernel from printing kext dump in the panic
|
||||
log preventing from observing panic details. Affects 10.13 and above.
|
||||
|
||||
\item
|
||||
\texttt{ThirdPartyTrim}\\
|
||||
\textbf{Type}: \texttt{plist\ boolean}\\
|
||||
@ -1947,6 +1954,7 @@ troubleshooting:
|
||||
\item \texttt{keepsyms=1}
|
||||
\item \texttt{kextlog=VALUE}
|
||||
\item \texttt{nvda\_drv=1}
|
||||
\item \texttt{lapic\_dont\_panic=1}
|
||||
\item \texttt{slide=VALUE}
|
||||
\item \texttt{-nehalem\_error\_disable}
|
||||
\item \texttt{-no\_compat\_check}
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
\documentclass[]{article}
|
||||
%DIF LATEXDIFF DIFFERENCE FILE
|
||||
%DIF DEL PreviousConfiguration.tex Fri May 24 02:34:39 2019
|
||||
%DIF ADD ../Configuration.tex Fri Jun 7 21:56:18 2019
|
||||
%DIF ADD ../Configuration.tex Fri Jun 7 23:49:45 2019
|
||||
|
||||
\usepackage{lmodern}
|
||||
\usepackage{amssymb,amsmath}
|
||||
@ -1357,7 +1357,15 @@ blocking.
|
||||
usually have compatible AHCI controllers.
|
||||
|
||||
\item
|
||||
\texttt{ThirdPartyTrim}\\
|
||||
\DIFaddbegin \texttt{\DIFadd{PanicNoKextDump}}\\
|
||||
\textbf{\DIFadd{Type}}\DIFadd{: }\texttt{\DIFadd{plist\ boolean}}\\
|
||||
\textbf{\DIFadd{Default value}}\DIFadd{: }\texttt{\DIFadd{false}}\\
|
||||
\textbf{\DIFadd{Description}}\DIFadd{: Prevent kernel from printing kext dump in the panic
|
||||
log preventing from observing panic details. Affects 10.13 and above.
|
||||
}
|
||||
|
||||
\item
|
||||
\DIFaddend \texttt{ThirdPartyTrim}\\
|
||||
\textbf{Type}: \texttt{plist\ boolean}\\
|
||||
\textbf{Default value}: \texttt{false}\\
|
||||
\textbf{Description}: Patch IOAHCIFamily.kext to force TRIM command support
|
||||
@ -2051,7 +2059,8 @@ troubleshooting:
|
||||
\item \texttt{keepsyms=1}
|
||||
\item \texttt{kextlog=VALUE}
|
||||
\item \texttt{nvda\_drv=1}
|
||||
\item \texttt{slide=VALUE}
|
||||
\item \DIFaddbegin \texttt{\DIFadd{lapic\_dont\_panic=1}}
|
||||
\item \DIFaddend \texttt{slide=VALUE}
|
||||
\item \texttt{-nehalem\_error\_disable}
|
||||
\item \texttt{-no\_compat\_check}
|
||||
\item \texttt{-s}
|
||||
|
||||
@ -360,10 +360,14 @@
|
||||
<false/>
|
||||
<key>AppleXcpmCfgLock</key>
|
||||
<false/>
|
||||
<key>CustomSMBIOSGuid</key>
|
||||
<false/>
|
||||
<key>DisableIoMapper</key>
|
||||
<false/>
|
||||
<key>ExternalDiskIcons</key>
|
||||
<false/>
|
||||
<key>PanicNoKextDump</key>
|
||||
<false/>
|
||||
<key>ThirdPartyTrim</key>
|
||||
<false/>
|
||||
<key>XhciPortLimit</key>
|
||||
|
||||
@ -360,10 +360,14 @@
|
||||
<false/>
|
||||
<key>AppleXcpmCfgLock</key>
|
||||
<false/>
|
||||
<key>CustomSMBIOSGuid</key>
|
||||
<false/>
|
||||
<key>DisableIoMapper</key>
|
||||
<false/>
|
||||
<key>ExternalDiskIcons</key>
|
||||
<false/>
|
||||
<key>PanicNoKextDump</key>
|
||||
<false/>
|
||||
<key>ThirdPartyTrim</key>
|
||||
<false/>
|
||||
<key>XhciPortLimit</key>
|
||||
|
||||
@ -315,6 +315,10 @@ OcKernelApplyPatches (
|
||||
PatchAppleXcpmCfgLock (&Patcher);
|
||||
}
|
||||
|
||||
if (Config->Kernel.Quirks.PanicNoKextDump) {
|
||||
PatchPanicKextDump (&Patcher);
|
||||
}
|
||||
|
||||
if (Config->Kernel.Emulate.Cpuid1Data[0] != 0
|
||||
|| Config->Kernel.Emulate.Cpuid1Data[1] != 0
|
||||
|| Config->Kernel.Emulate.Cpuid1Data[2] != 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user