Fix Ironlake typo

This commit is contained in:
Mykola Grymalyuk
2021-03-31 19:37:02 -06:00
parent 5c6dcc3485
commit 9b4c66f3d3
3 changed files with 25 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ class Constants:
@property @property
def legacy_amd_path(self): return self.legacy_graphics / Path("AMD-ATI") def legacy_amd_path(self): return self.legacy_graphics / Path("AMD-ATI")
@property @property
def legacy_intel_gen1_path(self): return self.legacy_graphics / Path("Intel-Gen5-Iconlake") def legacy_intel_gen1_path(self): return self.legacy_graphics / Path("Intel-Gen5-Ironlake")
@property @property
def legacy_intel_gen2_path(self): return self.legacy_graphics / Path("Intel-Gen6-SandyBridge") def legacy_intel_gen2_path(self): return self.legacy_graphics / Path("Intel-Gen6-SandyBridge")
@@ -265,3 +265,22 @@ class Constants:
"CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE": False, # 0x400 - Introduced in Mojave "CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE": False, # 0x400 - Introduced in Mojave
"CSR_ALLOW_UNAUTHENTICATED_ROOT ": False, # 0x800 - Introduced in Big Sur "CSR_ALLOW_UNAUTHENTICATED_ROOT ": False, # 0x800 - Introduced in Big Sur
} }
sbm_values = [
"j137",
"j680",
"j132",
"j174",
"j140k",
"j780",
"j213",
"j140a",
"j152f",
"j160",
"j230k",
"j214k",
"j223",
"j215",
"j185",
"j185f",
]

View File

@@ -879,6 +879,7 @@ AddIntelGen1Accel = [
"AppleIntelHDGraphicsGA.plugin", "AppleIntelHDGraphicsGA.plugin",
"AppleIntelHDGraphicsGLDriver.bundle", "AppleIntelHDGraphicsGLDriver.bundle",
"AppleIntelHDGraphicsVADriver.bundle", "AppleIntelHDGraphicsVADriver.bundle",
"IOSurface.kext",
] ]
AddIntelGen2Accel = [ AddIntelGen2Accel = [
@@ -888,4 +889,5 @@ AddIntelGen2Accel = [
"AppleIntelHD3000GraphicsVADriver.bundle", "AppleIntelHD3000GraphicsVADriver.bundle",
"AppleIntelSNBGraphicsFB.kext", "AppleIntelSNBGraphicsFB.kext",
"AppleIntelSNBVA.bundle", "AppleIntelSNBVA.bundle",
"IOSurface.kext",
] ]

View File

@@ -114,9 +114,11 @@ class PatchSysVolume:
self.add_new_binaries(ModelArray.AddAMDAccel11, self.constants.legacy_amd_path) self.add_new_binaries(ModelArray.AddAMDAccel11, self.constants.legacy_amd_path)
if self.model in ModelArray.LegacyGPUIntelGen1: if self.model in ModelArray.LegacyGPUIntelGen1:
print("- Merging legacy Intel 1st Gen Kexts and Bundles") print("- Merging legacy Intel 1st Gen Kexts and Bundles")
self.delete_old_binaries(ModelArray.DeleteNvidiaAccel11)
self.add_new_binaries(ModelArray.AddIntelGen1Accel, self.constants.legacy_intel_gen1_path) self.add_new_binaries(ModelArray.AddIntelGen1Accel, self.constants.legacy_intel_gen1_path)
elif self.model in ModelArray.LegacyGPUIntelGen2: elif self.model in ModelArray.LegacyGPUIntelGen2:
print("- Merging legacy Intel 2nd Gen Kexts and Bundles") print("- Merging legacy Intel 2nd Gen Kexts and Bundles")
self.delete_old_binaries(ModelArray.DeleteNvidiaAccel11)
self.add_new_binaries(ModelArray.AddIntelGen2Accel, self.constants.legacy_intel_gen2_path) self.add_new_binaries(ModelArray.AddIntelGen2Accel, self.constants.legacy_intel_gen2_path)
# iMac10,1 came in both AMD and Nvidia GPU models, so we must do hardware detection # iMac10,1 came in both AMD and Nvidia GPU models, so we must do hardware detection
if self.model == "iMac10,1": if self.model == "iMac10,1":