OcAppleKernelLib: Do not report AICPUPM patch error on macOS 13+

This commit is contained in:
PMheart 2023-07-07 02:00:22 +02:00
parent 53a00be4e3
commit e68e3dfbad

View File

@ -68,7 +68,7 @@ PatchAppleCpuPmCfgLock (
if (Patcher == NULL) {
DEBUG ((DEBUG_INFO, "OCAK: [OK] Skipping %a on NULL Patcher on kernel version %u\n", __func__, KernelVersion));
return EFI_NOT_FOUND;
return OcMatchDarwinVersion (KernelVersion, KERNEL_VERSION_VENTURA_MIN, 0) ? EFI_SUCCESS : EFI_NOT_FOUND;
}
Count = 0;