提交 abb51298 编写于 作者: V vit9696

OpenCoreKernel: Implement DummyPowerManagement quirk

上级 210df232
......@@ -18,6 +18,7 @@ OpenCore Changelog
- Added `TakeoffDelay` option for improved action hotkey support
- Added Mac GOP support to `ProvideConsoleGop` quirk
- Added experimental `BuiltinTextRenderer` boot option
- Added `DummyPowerManagement` kernel quirk to disable CPU PM
#### v0.5.4
- Added Enter key handling in boot menu for quick proceed
......
......@@ -1877,6 +1877,16 @@ blocking.
ACPI table and disabling VT-d in firmware preferences, which does not break
VT-d support in other systems in case they need it.
\item
\texttt{DummyPowerManagement}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Disables \texttt{AppleIntelCpuPowerManagement}.
\emph{Note}: This option is a preferred alternative to
\texttt{NullCpuPowerManagement.kext} for CPUs without native power
management driver in macOS.
\item
\texttt{ExternalDiskIcons}\\
\textbf{Type}: \texttt{plist\ boolean}\\
......
\documentclass[]{article}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Fri Jan 17 12:56:17 2020
%DIF ADD ../Configuration.tex Sun Feb 2 01:35:24 2020
%DIF ADD ../Configuration.tex Sun Feb 2 02:19:09 2020
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
......@@ -1938,7 +1938,19 @@ blocking.
VT-d support in other systems in case they need it.
\item
\texttt{ExternalDiskIcons}\\
\DIFaddbegin \texttt{\DIFadd{DummyPowerManagement}}\\
\textbf{\DIFadd{Type}}\DIFadd{: }\texttt{\DIFadd{plist\ boolean}}\\
\textbf{\DIFadd{Failsafe}}\DIFadd{: }\texttt{\DIFadd{false}}\\
\textbf{\DIFadd{Description}}\DIFadd{: Disables }\texttt{\DIFadd{AppleIntelCpuPowerManagement}}\DIFadd{.
}
\emph{\DIFadd{Note}}\DIFadd{: This option is a preferred alternative to
}\texttt{\DIFadd{NullCpuPowerManagement.kext}} \DIFadd{for CPUs without native power
management driver in macOS.
}
\item
\DIFaddend \texttt{ExternalDiskIcons}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Apply icon type patches to AppleAHCIPort.kext to force
......
......@@ -53,7 +53,6 @@ Kexts
- [CPUFriend.kext](https://github.com/acidanthera/CPUFriend)
- [FakeSMC.kext and sensors](https://github.com/CloverHackyColor/FakeSMC3_with_plugins)
- [HWPEnabler.kext](https://github.com/headkaze/HWPEnable)
- [NullCPUPowerManagement.kext](https://github.com/corpnewt/NullCPUPowerManagement) for AMD only (also some virtual machines)
- [OpcodeEmulator.kext](https://www.insanelymac.com/forum/topic/329704-opcode-emulator-opemu-plug-in-project/)
- [TSCAdjustReset.kext](https://github.com/interferenc/TSCAdjustReset)
- [VirtualSMC.kext and sensors](https://github.com/acidanthera/VirtualSMC)
......
......@@ -539,6 +539,8 @@
<false/>
<key>DisableIoMapper</key>
<false/>
<key>DummyPowerManagement</key>
<false/>
<key>ExternalDiskIcons</key>
<false/>
<key>IncreasePciBarSize</key>
......
......@@ -539,6 +539,8 @@
<false/>
<key>DisableIoMapper</key>
<false/>
<key>DummyPowerManagement</key>
<false/>
<key>ExternalDiskIcons</key>
<false/>
<key>IncreasePciBarSize</key>
......
......@@ -437,6 +437,10 @@ OcKernelApplyPatches (
if (Config->Kernel.Quirks.CustomSmbiosGuid) {
PatchCustomSmbiosGuid (Context);
}
if (Config->Kernel.Quirks.DummyPowerManagement) {
PatchDummyPowerManagement (Context);
}
} else {
if (Config->Kernel.Quirks.AppleXcpmCfgLock) {
PatchAppleXcpmCfgLock (&Patcher);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册