Upgrade to OC pre version 0.8.2.

This commit is contained in:
jief666 2022-06-19 18:46:52 +02:00
parent 103e3baaa3
commit 48be65956e
2 changed files with 2 additions and 5 deletions

@ -1 +1 @@
Subproject commit beafbb0b50bf7d35f64347fba0908d7b62db0d1e
Subproject commit 0c3107b9dac84dce2c205b7a7e5135e356c2c216

View File

@ -1033,6 +1033,7 @@ void LOADER_ENTRY::StartLoader()
mOpenCoreConfiguration.Kernel.Scheme.FuzzyMatch = gSettings.Quirks.FuzzyMatch;
memset(&mOpenCoreConfiguration.Kernel.Quirks, 0, sizeof(mOpenCoreConfiguration.Kernel.Quirks));
mOpenCoreConfiguration.Kernel.Quirks.SetApfsTrimTimeout = -1; // Jief: Slice modified OcConfigurationLib.h to set -1 by default instead of 999. I prefer the modification here to minimize commts in OC submodule. Makes it easier to upgrade submodule.
mOpenCoreConfiguration.Kernel.Quirks.AppleCpuPmCfgLock = GlobalConfig.KPAppleIntelCPUPM;
mOpenCoreConfiguration.Kernel.Quirks.AppleXcpmCfgLock = GlobalConfig.KPKernelPm;
mOpenCoreConfiguration.Kernel.Quirks.AppleXcpmExtraMsrs = gSettings.Quirks.OcKernelQuirks.AppleXcpmExtraMsrs;
@ -2798,10 +2799,6 @@ RefitMain (IN EFI_HANDLE ImageHandle,
// For example, if you do "gCPUStructure.TSCCalibr = GetMemLogTscTicksPerSecond();" before this point, it will be erased by construct_globals_objects()
construct_globals_objects(gImageHandle);
#endif
#ifdef DEBUG_ERALY_CRASH
SystemTable->ConOut->OutputString(SystemTable->ConOut, L"Step41");
PauseForKey("press any key\n"_XS8);
#endif
gCPUStructure.TSCCalibr = GetMemLogTscTicksPerSecond(); //ticks for 1second