mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
Raise SurPlus MaxKernel to 21.99.99
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
- Fix AirPlay to Mac on macOS 12.1
|
||||
- Add macOS InstallAssistant downloader to TUI
|
||||
- Resolve rare memory corruption due to FeatureUnlock
|
||||
- Raise SurPlus MaxKernel to 21.99.99
|
||||
|
||||
## 0.3.1
|
||||
- Increment Binaries:
|
||||
|
||||
@@ -1273,7 +1273,7 @@
|
||||
<key>Mask</key>
|
||||
<data></data>
|
||||
<key>MaxKernel</key>
|
||||
<string>21.1.0</string>
|
||||
<string>21.99.99</string>
|
||||
<key>MinKernel</key>
|
||||
<string>20.4.0</string>
|
||||
<key>Replace</key>
|
||||
@@ -1303,7 +1303,7 @@
|
||||
<key>Mask</key>
|
||||
<data></data>
|
||||
<key>MaxKernel</key>
|
||||
<string>21.1.0</string>
|
||||
<string>21.99.99</string>
|
||||
<key>MinKernel</key>
|
||||
<string>20.4.0</string>
|
||||
<key>Replace</key>
|
||||
|
||||
@@ -180,7 +180,10 @@ class BuildOpenCore:
|
||||
# Applicable for pre-Ivy Bridge models
|
||||
self.enable_kext("CatalinaBCM5701Ethernet.kext", self.constants.bcm570_version, self.constants.bcm570_path)
|
||||
|
||||
if smbios_data.smbios_dictionary[self.model]["CPU Generation"] <= cpu_data.cpu_data.sandy_bridge.value:
|
||||
# i3 Ivy Bridge iMacs don't support RDRAND
|
||||
# However for prebuilt, assume they do
|
||||
if (not self.constants.custom_model and "RDRAND" not in self.computer.cpu.flags) or \
|
||||
(smbios_data.smbios_dictionary[self.model]["CPU Generation"] <= cpu_data.cpu_data.sandy_bridge.value):
|
||||
# Ref: https://github.com/reenigneorcim/SurPlus
|
||||
# Enable for all systems missing RDRAND support
|
||||
print("- Adding SurPlus Patch for Race Condition")
|
||||
|
||||
@@ -751,9 +751,9 @@ Note: Only supported on Nehalem and newer MacBooks (2010+)
|
||||
utilities.header(["Override SurPlus MaxKernel"])
|
||||
print(
|
||||
"""
|
||||
By default OCLP will only allow SurPlus to be used on kernels 21.1.0
|
||||
and older (ie. Monterey beta 7 and older). This is for saftey reasons
|
||||
in the event newer OSes may break compatibility and result in boot loops.
|
||||
By default OCLP will only allow SurPlus to be used on Monterey and older.
|
||||
This is for saftey reasons in the event newer OSes may break compatibility
|
||||
and result in boot loops.
|
||||
|
||||
Enabling this option will allow SurPlus to have no MaxKernel set, and
|
||||
therefore allow it to run on anything newer than 11.2.3. However if you
|
||||
|
||||
Reference in New Issue
Block a user