From 086e5682ae44cc7a132e76038e3068aea4847c2b Mon Sep 17 00:00:00 2001 From: SergeySlice Date: Tue, 13 Oct 2020 14:28:47 +0300 Subject: [PATCH] change KernelPM correspondence to old Clover Signed-off-by: SergeySlice --- rEFIt_UEFI/Platform/Settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rEFIt_UEFI/Platform/Settings.cpp b/rEFIt_UEFI/Platform/Settings.cpp index c8315ed9b..37960865f 100644 --- a/rEFIt_UEFI/Platform/Settings.cpp +++ b/rEFIt_UEFI/Platform/Settings.cpp @@ -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);