Add patch for APIC table on HEDT systems

This commit is contained in:
Hoang Hong Quan
2024-07-29 19:04:16 +07:00
parent 6e3e877719
commit 9cd65ac301
4 changed files with 58 additions and 18 deletions
+1 -8
View File
@@ -244,14 +244,7 @@ class ConfigProdigy:
del config["#WARNING - 3"]
del config["#WARNING - 4"]
config["ACPI"]["Add"] = efi_option.get("ACPI").get("Add")
if not self.is_intel_hedt_cpu(hardware.get("CPU Codename")) and not self.utils.contains_any(cpu_data.IntelCPUGenerations, hardware.get("CPU Codename"), end=2) is None:
for item in config["ACPI"]["Delete"]:
item.update({
"All": True,
"Enabled": True
})
else:
config["ACPI"]["Delete"] = []
config["ACPI"]["Delete"] = efi_option.get("ACPI").get("Delete")
config["ACPI"]["Patch"] = efi_option.get("ACPI").get("Patch")
config["Booter"]["MmioWhitelist"] = self.mmio_whitelist(hardware.get("CPU Codename"))