From 2e68d53188dd1ac9b31bbaa28efb155f63ae7101 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Tue, 30 Jul 2024 01:36:59 +0700 Subject: [PATCH] UEFI Firmware for Coffee Lake (Plus) CPUs is quite confusing regarding MATs support #2 --- Scripts/config_prodigy.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Scripts/config_prodigy.py b/Scripts/config_prodigy.py index a3e99ae..1ef7ed9 100755 --- a/Scripts/config_prodigy.py +++ b/Scripts/config_prodigy.py @@ -250,10 +250,9 @@ class ConfigProdigy: config["Booter"]["MmioWhitelist"] = self.mmio_whitelist(hardware.get("CPU Codename")) config["Booter"]["Patch"] = [] config["Booter"]["Quirks"]["DevirtualiseMmio"] = self.check_mats_support(hardware.get("CPU Manufacturer"), hardware.get("Motherboard Chipset"), hardware.get("CPU Codename")) - if "AMD" in hardware.get("CPU Manufacturer") and not "TRX40" in hardware.get("Motherboard Chipset") or \ - not "Desktop" in hardware.get("Platform") and "Coffee Lake" in hardware.get("CPU Codename"): + if "AMD" in hardware.get("CPU Manufacturer") and not "TRX40" in hardware.get("Motherboard Chipset"): config["Booter"]["Quirks"]["DevirtualiseMmio"] = False - config["Booter"]["Quirks"]["EnableWriteUnprotector"] = False if "Coffee Lake" in hardware.get("CPU Codename") else False if "AMD" in hardware.get("CPU Manufacturer") else not config["Booter"]["Quirks"]["DevirtualiseMmio"] + config["Booter"]["Quirks"]["EnableWriteUnprotector"] = False if "AMD" in hardware.get("CPU Manufacturer") else not config["Booter"]["Quirks"]["DevirtualiseMmio"] config["Booter"]["Quirks"]["ProtectUefiServices"] = "Z390" in hardware.get("Motherboard Chipset") or \ not self.utils.contains_any(cpu_data.IntelCPUGenerations, hardware.get("CPU Codename"), start=10) is None config["Booter"]["Quirks"]["RebuildAppleMemoryMap"] = not config["Booter"]["Quirks"]["EnableWriteUnprotector"]