Skip to content

Commit

Permalink
change KernelPM correspondence to old Clover
Browse files Browse the repository at this point in the history
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
  • Loading branch information
SergeySlice committed Oct 13, 2020
1 parent a2ffdf8 commit 086e568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rEFIt_UEFI/Platform/Settings.cpp
Expand Up @@ -3057,11 +3057,11 @@ GetEarlyUserSettings (
// Booter Quirks
// Prop = OcQuirksDict->propertyForKey("AppleCpuPmCfgLock");
// gSettings.KernelAndKextPatches.OcKernelQuirks.AppleCpuPmCfgLock = IsPropertyNotNullAndTrue(Prop);
gSettings.KernelAndKextPatches.OcKernelQuirks.AppleCpuPmCfgLock = gSettings.KernelAndKextPatches.KPKernelPm;
gSettings.KernelAndKextPatches.OcKernelQuirks.AppleCpuPmCfgLock = gSettings.KernelAndKextPatches.KPAppleIntelCPUPM;

// Prop = OcQuirksDict->propertyForKey("AppleXcpmCfgLock"); //
// gSettings.KernelAndKextPatches.OcKernelQuirks.AppleXcpmCfgLock = IsPropertyNotNullAndTrue(Prop);
gSettings.KernelAndKextPatches.OcKernelQuirks.AppleXcpmCfgLock = gSettings.KernelAndKextPatches.KPKernelXCPM;
gSettings.KernelAndKextPatches.OcKernelQuirks.AppleXcpmCfgLock = gSettings.KernelAndKextPatches.KPKernelPm;

Prop = OcQuirksDict->propertyForKey("AppleXcpmExtraMsrs");
gSettings.KernelAndKextPatches.OcKernelQuirks.AppleXcpmExtraMsrs = IsPropertyNotNullAndTrue(Prop);
Expand Down

0 comments on commit 086e568

Please sign in to comment.