mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-30 12:43:41 +01:00
remove CustomSmbiosGuid quirks. Force it to false.
This commit is contained in:
parent
804dd26599
commit
08add49958
@ -3045,8 +3045,9 @@ if ( !Prop ) panic("Cannot find AvoidRuntimeDefrag in OcQuirks under root (OC bo
|
|||||||
Prop = OcQuirksDict->propertyForKey("AppleXcpmForceBoost");
|
Prop = OcQuirksDict->propertyForKey("AppleXcpmForceBoost");
|
||||||
gSettings.KernelAndKextPatches.OcKernelQuirks.AppleXcpmForceBoost = IsPropertyNotNullAndTrue(Prop);
|
gSettings.KernelAndKextPatches.OcKernelQuirks.AppleXcpmForceBoost = IsPropertyNotNullAndTrue(Prop);
|
||||||
|
|
||||||
Prop = OcQuirksDict->propertyForKey("CustomSMBIOSGuid");
|
// We can't use that Quirks because we don't delegate SMBios to OC.
|
||||||
gSettings.KernelAndKextPatches.OcKernelQuirks.CustomSmbiosGuid = IsPropertyNotNullAndTrue(Prop);
|
// Prop = OcQuirksDict->propertyForKey("CustomSMBIOSGuid");
|
||||||
|
// gSettings.KernelAndKextPatches.OcKernelQuirks.CustomSmbiosGuid = IsPropertyNotNullAndTrue(Prop);
|
||||||
|
|
||||||
Prop = OcQuirksDict->propertyForKey("DisableIoMapper");
|
Prop = OcQuirksDict->propertyForKey("DisableIoMapper");
|
||||||
if ( !Prop ) panic("Cannot find DisableIoMapper in config.plist/Quirks. You forgot to merge your quirks into one section. Update your config.plist");
|
if ( !Prop ) panic("Cannot find DisableIoMapper in config.plist/Quirks. You forgot to merge your quirks into one section. Update your config.plist");
|
||||||
|
@ -1002,6 +1002,7 @@ DBG("Beginning OC\n");
|
|||||||
OC_STRING_ASSIGN(mOpenCoreConfiguration.Kernel.Scheme.KernelCache, gSettings.KernelAndKextPatches.OcKernelCache.c_str());
|
OC_STRING_ASSIGN(mOpenCoreConfiguration.Kernel.Scheme.KernelCache, gSettings.KernelAndKextPatches.OcKernelCache.c_str());
|
||||||
mOpenCoreConfiguration.Kernel.Scheme.FuzzyMatch = gSettings.KernelAndKextPatches.FuzzyMatch;
|
mOpenCoreConfiguration.Kernel.Scheme.FuzzyMatch = gSettings.KernelAndKextPatches.FuzzyMatch;
|
||||||
memcpy(&mOpenCoreConfiguration.Kernel.Quirks, &gSettings.KernelAndKextPatches.OcKernelQuirks, sizeof(mOpenCoreConfiguration.Kernel.Quirks));
|
memcpy(&mOpenCoreConfiguration.Kernel.Quirks, &gSettings.KernelAndKextPatches.OcKernelQuirks, sizeof(mOpenCoreConfiguration.Kernel.Quirks));
|
||||||
|
mOpenCoreConfiguration.Kernel.Quirks.CustomSmbiosGuid = false; // To be double sure. But we don't have settings in config.plist so it should already be false
|
||||||
|
|
||||||
mOpenCoreConfiguration.Kernel.Add.Count = (UINT32)kextArray.size();
|
mOpenCoreConfiguration.Kernel.Add.Count = (UINT32)kextArray.size();
|
||||||
mOpenCoreConfiguration.Kernel.Add.AllocCount = mOpenCoreConfiguration.Kernel.Add.Count;
|
mOpenCoreConfiguration.Kernel.Add.AllocCount = mOpenCoreConfiguration.Kernel.Add.Count;
|
||||||
|
Loading…
Reference in New Issue
Block a user